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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)