%>
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);
{股票教程网-http://bkqg.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}