Tirael
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: November 23rd, 2022

Auto fibo script with Ichimoku

Hi everyone,

First of all, sorry for my english, i'm french :happy2:
I am new here, and found this forum thank to the youtube channel !
I'm quiet new at coding, and even if i achieve to code the basics i want, this one cause me troubles...

I'm using the auto-fibo sources code (by the way, thank you for the youtube channel !) and the ichimoku code.
I would like to modify the auto fibo code such as :
(see pictures below)

1/ I want only the 0 - 1 and 0.5 lines of fibo (that's ok, i achieve to code)
2/ draw the 0 - 1 and 0.5 lines if and only if the SSA and the SSB (leadline 1 and leadline 2) line of ichimoku crossed (picture 1)
3/ the 0.5 fibo must be lined up to the flat extended SSB (leadline2) (picture 1)
4/ Once we have thoses conditions met, draw a line at the close of the fibo 0 line (and not the high/low) and a line at the 1 fibo line (picture 2)
5/ As long as the close remain above and below the 0 and 1 fibo line, plot the line, when price close out of thoses line, stop plotting. (picture 2)

Picture 1
Image

Picture 2
Image


Thank in advance !

Best regards !

Return to “Request Scripts”