以下是通达信步步高升副图源码
通达信步步高升副图源码
AA1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
AA2:=ABS(AA1-MA(AA1,30))/MA(AA1,30);
AA3:=DMA(AA1,AA2);
AA4:=CLOSE>AA3;
AA5:=BARSLASTCOUNT(AA4=1);
AA6:=ABS(AA1-MA(AA1,30))/MA(AA1,30);
AA7:=DMA(AA1,AA6);
AA8:=EMA(AA7,2);
AA9:=(AA8-REF(AA8,2))/REF(AA8,2)*100;
BB1:=FILTER(AA9>REF(AA9,1)AND REF(AA9,1)>REF(AA9,2)AND AA9<0.5,10);
BB2:=BARSLAST(BB1=1);
BB3:=(CLOSE-REF(CLOSE,BB2))/REF(CLOSE,BB2)*100>=5 AND BB2>0 AND BB2<=10;
BB4:=(SUM(FILTER(BB3=1,10),0)/SUM(BB1,0))*144;
BB5:=INTPART(BB4);
BB6:=SQRT(AA5*AA3*BB5);
BB7:=ABS(BB6-AA5);
步步高升:IF(AA3>REF(AA3,1),BB7,0),LINESTICK;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)