OPEN-SOURCE SCRIPT

[e2] Fibonacci, Tribonacci, Tetranacci Sequence Calculator

The script is a simple calculator to obtain numbers of Fibonacci, Tribonacci or Tetranacci Sequence.

The script contain calculations for constants (up to 16 digits) that could be used as one of the sequence's number.
The Calculator has 3 modes. Users can define the numbers to initialize the sequence in the options:

 - The Fibonacci Sequence is the series of numbers, every next number is found by adding up the two numbers before it.


 - The Tribonacci Sequence is the series of numbers, every next number is found by adding up the three numbers before it.


 - The Tetranacci Sequence is the series of numbers, every next number is found by adding up the four numbers before it.


The Calculator can return a single number or a set of numbers based on the selected sequence mode.
The script is made for other scripts integration rather than stand-alone usage.
snapshot
calculatorsequencetetranacciTrend Analysistribonacci

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Pisces swimming through the river
All their life against the stream
Searching for a hook to catch on
And see their sun beam
Then suffocate in painful tortures
On cutting tables of callous men
Under a knife of handsome butchers
Emeralds are ripped away
Also on:

Disclaimer