%>
VAR1:=IF((DATE>9999999),0,1);
分水线:0,Linethick1,CoLor808080;
M:=15;
开:=(((OPEN)/(MA(CLOSE,M))-1)*(1000))*(VAR1);
高:=(((HIGH)/(MA(CLOSE,M))-1)*(1000))*(VAR1);
低:=(((LOW)/(MA(CLOSE,M))-1)*(1000))*(VAR1);
收:=(((CLOSE)/(MA(CLOSE,M))-1)*(1000))*(VAR1);
B1:=REF(收,1);
B2:=REF(收,2);
B3:=REF(收,3);
B4:=REF(收,4);
CMAX:=MAX(MAX(MAX(收,B1),B2),B3);
CMIN:=MIN(MIN(MIN(收,B1),B2),B3);
持股:STICKLINE(((((收=CMAX) AND ((B1>=B2) or (B1>=B3)) or (B1=CMAX) AND ((B2=CMIN) or (B3=CMIN)) AND (收>=B2)) or (B2=CMAX) AND (B3=CMIN) AND (收>=B1)) or (B3=CMAX) AND (收>=B1) AND (收>=B2)),B1,收,4,0),CoLor0000FF;
变盘:STICKLINE((收=CMAX) AND (B1=CMIN),B2,收,4,0),CoLor0099EF;
下跌:STICKLINE(((((收=CMIN) AND ((B1<B2) or (B1<B3)) or (B1=CMIN) AND ((B2=CMAX) or (B3=CMAX)) AND (收<B2)) or (B2=CMIN) AND (B3=CMAX) AND (收<B1)) or (B3=CMIN) AND (收<B1) AND (收<B2)),B1,收,4,1),CoLor00FF00;
STICKLINE((B1=CMAX) AND (收=CMIN),B2,收,4,0),CoLor009900;
买入:STICKLINE(((B1=CMIN) AND (收>=B2) or ((B2=CMIN) AND (B1<=B3) or (B3=CMIN) AND (B1<=B2)) AND (B2<B4) AND (收>=B1)),B1,B2,4,0),CoLorFFFFFF;
抛售:STICKLINE(((B1=CMAX) AND (收<B2) or ((B2=CMAX) AND (B1>B3) or (B3=CMAX) AND (B1>B2)) AND (B2>=B4) AND (收<B1)),B1,B2,4,0),CoLor00FFFF;
{股票教程网-http://gpzyw.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}