[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Daily Pivots



PureBytes Links

Trading Reference Links

I have some Pivot code that changes when you change the bar spacing.
This renders the indicator to be inconsistent and virtually useless for
comparative analysis. I tried to amend this code so that it will plot
the daily pivots fixed  in a stationary fashion across the window  but I
cannot get it to verify. Would you kind members help me either fix this
code or provide a daily pivot indicator that is stationary and does not
move when the bar compression changes. Thank you very much in advance.

Plot1(2* (HighM(1) + LowM(1) + CloseM(1))/3 - LowM(1),"R1");

Plot2(HighM(1) + LowM(1) + CloseM(1)/3-(2* (HighM(1) + LowM(1) +
CloseM(1))/3 - LowM(1),"R2");

Plot3( 2 * (HighM(1) + LowM(1) + CloseM(1))/3 -(HighM(1),"S1");

Plot4 (HighM(1) + LowM(1) + CloseM(1))/3+(2* (HighM(1) + LowM(1) +
CloseM(1))/3 - LowM(1)-  ( 2 * (HighM(1) + LowM(1) + CloseM(1))/3
-(HighM(1),"S2");