Need some Code assistance

 

Hello,


Wondering if someone might have the code needed to add a Fib Retracement on the High/low of the Previous Period on the chart?  Example,  If I'm looking at the hourly,  it would place the Fib on the High/Low of the previous day (Which is between the period separator), If I'm looking at the H4 Chart,  the Fib would be on the previous week, etc...  Always on the Previous Period,  depending on what time frame I'm looking at... 


Does that make sense?  Looking to use this in MT4...


Thanks,

Reason: