VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
STICKLINE(VAR1< MA(VAR2,6),LOW,HIGH,0,1),COLORLIBLUE;
STICKLINE(VAR1> MA(VAR2,6),LOW,HIGH,0,1),COLORRED;
STICKLINE(((OPEN>CLOSE)AND(VAR1<MA(VAR2,6))),(CLOSE-0.03),OPEN,2.5,0),COLORLIBLUE;
STICKLINE(((OPEN<CLOSE)AND(VAR1<MA(VAR2,6))),CLOSE,OPEN,2.5,1),COLORLIBLUE;
STICKLINE(((OPEN>CLOSE)AND(VAR1>MA(VAR2,6))),OPEN,(CLOSE-0.03),2.5,0),COLORRED;
STICKLINE(((OPEN<CLOSE)AND(VAR1>MA(VAR2,6))),OPEN,CLOSE,2.5,1),COLORRED;
DRAWICON(CROSS(VAR1,MA(VAR2,6)),(LOW - (LOW*0.02)),7);
DRAWICON(CROSS(MA(VAR2,6),VAR1),(HIGH+(HIGH*0.02)),8);
{股票指标网}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,25);
MA4:MA(CLOSE,50);