VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
STICKLINE((VAR2 < MA(VAR3,6)) AND O<=C,O,C,-1,1),COLORCYAN;
STICKLINE((VAR2 < MA(VAR3,6)) AND O<=C,O,L,0,1),COLORCYAN;
STICKLINE((VAR2 < MA(VAR3,6)) AND O<=C,C,H,0,1),COLORCYAN;
STICKLINE((VAR2 > MA(VAR3,6)) AND O>=C,C,O,-1,0),COLORRED;
STICKLINE((VAR2 > MA(VAR3,6)) AND O>=C,L,H,0,0),COLORRED;
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.04)),7);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),8); |