Forum

Fibo Pivots buffer values

I'm attempting call the "Fibo Pivots" Indicator by mladen. I've successfully called the indicator and gotten it to print on my charts. However, in my advisor I'm trying to store the values of the Weekly Pivots. I'm not able to figure out what the different buffers are for the different Pivot levels

"For" Loop to detect most recent peak

I haven't really searched but, I was trying to think of a way to detect the most recent peak on a chart. A solution that I believe would work involves using a For Loop to check "x" number of periods previously. The loop would just check previous values and compare which of the values was greater. If