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

RE: Pivot Point indicator



PureBytes Links

Trading Reference Links

Thank you for replying.  How do I set this up?  Do I cerate a separate
custom indicator for YH1, YH, YL1, YL? 

YH1:= HighestSince(1,( Hour()= 8 AND Minute()=30),HIGH);
YH:= ValueWhen(1,Hour()=15 AND Minute()=15, YH1);
YL1:= LowestSince(1,( Hour()= 8 AND Minute()=30),LOW);
YL:= ValueWhen(1,Hour()=15 AND Minute()=15,     YL1);

YO:= ValueWhen(2,Hour()= 8 AND Minute()=30, OPEN);
YC:= ValueWhen(1,Hour()=15 AND Minute()=15,         CLOSE);

PP:= (YH + YC + YL + YO) / 4;
S1:= (2 * PP) - YH;
S2:= PP - YH + YL;
R1:= (2 * PP) - YL;
R2:= PP + YH - YL

HTH,

24h