N:=3;
M:=5;
柱:((C-L)-(H-C))/(H-L)*V/SHGZG*100,COLORSTICK;
短:EMA(柱,1),colorred;
中:EMA(EMA(EMA(EMA(柱,1),2),1),2),colorgreen;
长:EMA(EMA(EMA(柱,3),6),9),colorcyan;
UPT3:=TROUGHBARS(3,N,M)<REF(TROUGHBARS(3,N,M),1);
UPT2:=TROUGHBARS(2,N,M)<REF(TROUGHBARS(2,N,M),1);
UPT1:=TROUGHBARS(1,N,M)<REF(TROUGHBARS(1,N,M),1);
DNP3:=PEAKBARS(3,N,M)<REF(PEAKBARS(3,N,M),1);
DNP2:=PEAKBARS(2,N,M)<REF(PEAKBARS(2,N,M),1);
DNP1:=PEAKBARS(1,N,M)<REF(PEAKBARS(1,N,M),1);
DRAWTEXT(UPT3 OR UPT2 OR UPT1,短,’B’),colorgreen;
DRAWTEXT(DNP3 OR DNP2 OR DNP1,短,’S’),colorred;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)