a1:=ma(c,12);a2:=ma(c,24); a3:=ma(c,48); a4:=ma(c,144); a5:=ma(c,240); a6:=ma(c,480);//2 b1:=ma(c,8); b2:=ma(c,16); b3:=ma(c,48); b4:=ma(c,80); b5:=ma(c,112); b6:=ma(c,160); b7:=ma(c,245); b8:=ma(c,320);//3 c1:=ma(c,4); c2:=ma(c,8); c3:=ma(c,24); c4:=ma(c,40); c5:=ma(c,80); c6:=ma(c,160);//4 d1:=ma(c,4); d2:=ma(c,12); d3:=ma(c,20); d4:=ma(c,40); d5:=ma(c,80); d6:=ma(c,120); d7:=ma(c,240);//5 e1:=ma(c,5); e2:=ma(c,24); e3:=ma(c,72); e4:=ma(c,133); e5:=ma(c,200);//6 wx:=ma(c,0); ma1:if(DATATYPE=2,a1,if(DATATYPE=3,b1,if(DATATYPE=4,c1,if(DATATYPE=5,d1,e1)))); ma2:if(DATATYPE=2,a2,if(DATATYPE=3,b2,if(DATATYPE=4,c2,if(DATATYPE=5,d2,e2)))); ma3:if(DATATYPE=2,a3,if(DATATYPE=3,b3,if(DATATYPE=4,c3,if(DATATYPE=5,d3,e3)))); ma4:if(DATATYPE=2,a4,if(DATATYPE=3,b4,if(DATATYPE=4,c4,if(DATATYPE=5,d4,e4)))); ma5:if(DATATYPE=2,a5,if(DATATYPE=3,b5,if(DATATYPE=4,c5,if(DATATYPE=5,d5,e5)))); ma6:if(DATATYPE=2,a6,if(DATATYPE=3,b6,if(DATATYPE=4,c6,if(DATATYPE=5,d6,wx)))); ma7:if(DATATYPE=2,wx,if(DATATYPE=3,b7,if(DATATYPE=4,wx,if(DATATYPE=5,d7,wx)))); ma8:if(DATATYPE=3,b8,wx); DK:=if(DATATYPE=2 or DATATYPE=5,ma3,ma2); TJ:=if(DATATYPE=6,ma1,c); STICKLINE(DK<=TJ AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred; STICKLINE(DK<=TJ AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred; STICKLINE(DK<=TJ AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorred; STICKLINE(DK<=TJ AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorred; STICKLINE(DK>TJ AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen; STICKLINE(DK>TJ AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen; STICKLINE(DK>TJ AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorgreen; STICKLINE(DK>TJ AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorgreen; 声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)