通达信峰顶线主图指标公式
通达信股道稳赢主图指标公式
通达信峰顶线主图指标公式:
M1:=5;
M2:=13;
M3:=24;
M4:=60;
M5:=120;
M6:=250;
MA5:MA(CLOSE,M1);
MA13:MA(CLOSE,M2);
MA24:MA(CLOSE,M3);
MA60:MA(CLOSE,M4);
MA125:MA(CLOSE,M5);
MA250:MA(CLOSE,M6);
LT:=LLVBARS(L,60);
LT1:=LLVBARS(L,60);
LTT:=BArslAst(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
DT:=FINDLOW(L,LT1+1,60,1);
锅盖:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORMAGENTA ,LINETHICK3;TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
AA:=crOSS(C,CONST(锅盖));
TJ:=COUNT(AA,TT+1)=1 AND AA;
TJ1:=COUNT(V<MA(V,277),TT+1) ;
BL:=TJ1/(TT+1)*100;
XG:=TJ AND TT>40 AND BL>70;
XGT:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(XG))+1);
ZH:=REF(H,TT);
YL:=REF(L,LTT);
XC:=REF(C,XGT);
YZ:=(XC-YL)/YL*100;
ZBL:=YZ/REF(LTT,XGT);
XGA:=XG AND ZBL<2.95;
XG1:=TJ AND TT>40 AND BL>20;
STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,3,0),COLORMAGENTA;
通达信趋势操盘线主图指标公式