%>
M:=25;
N:=7;
VAR1:=AMOUNT/VOL/7;
VAR2:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR3:=SUM(AMOUNT,7)/VAR1/7;
VAR33:=SUM(AMOUNT,M)/VAR1/7;
VAR44:=DMA(VAR2,VOL/VAR33);
长线:(VAR2-VAR44)/VAR44*100,COLORRED ;
FILLRGN(长线>0,长线,0),COLOR32329B;
FILLRGN(0>长线,0,长线),COLOR326400;
长均:EMA(长线,N),COLORYELLOW,PRECISION2;
VAR4:=DMA(VAR2,VOL/VAR3);
短线:=(VAR2-VAR4)/VAR4*100;
短均:=ema(短线,5);
PD:=if(短线>短均,1,0);
STICKLINE(PD=1,-0.8,0.8,6,0),COLORMAGENTA;
STICKLINE(PD=0,-0.8,0.8,6,0),COLORBLUE;
-30,LINEDOT;-20,LINEDOT;-10,POINTDOT;10,POINTDOT;20,LINEDOT;30,LINEDOT;
{股票教程网-http://gpzyw.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}