EMA30:EMA(CLOSE,30),COLORBROWN;
EMA5:=EMA(CLOSE,5);
X2:=EMA5;
X3:=EMA30;
主升:=C>X2 AND C>X3;
主跌:=CX2 AND C0,0,0,0,’【█】涨势’),COLOR0000AA;
DRAWTEXT_FIX(C>0,0,0.05,0,’【█】回调’),COLORDD6600;
DRAWTEXT_FIX(C>0,0,0.10,0,’【█】跌势’),COLORAAAA00;
DRAWTEXT_FIX(C>0,0,0.15,0,’【█】反弹’),COLOR00BBDD;
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
AA1:MA(C,4);
卖出:IF(AA1=1;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线震仓线2 ;
PP:=操作线震仓线 ;
PP3:=操作线抄底线;
A:=SMA(L,4,3) ;
STICKLINE(A AND REF(PP,1) AND HH ,A*0.998,A*0.996,5,0);
DRAWICON(A AND REF(PP,1) AND HH,L*0.98,1);
DRAWICON(A AND REF(PP,1) AND HH,L*0.96,23);
STICKLINE(A AND REF(PP3,1) AND HH ,A*0.998,A*0.996,5,0);
DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,1);
牛:DRAWICON(A AND REF(PP3,1) AND HH,L*0.97,23);
追牛:DRAWTEXT(牛,L*0.96,’★-追牛- ‘),COLORFF00FF;
理想通:=EMA((C-LLV(L,5))/(HHV(H,6)-LLV(L,6)),2)*100,COLORYELLOW,LINETHICK1;
VARB1:=SMA(SMA(理想通,2,1),2,1);
VARB2:=(VARB1/2+36.8)*1;
VARB3:=SMA(VARB2,2,1)+2.2,COLORFFFF00;
VARB4:=SMA(VARB2,2,1)-35.08,COLOR00FF00,LINETHICK1;
卖出1:DRAWTEXT(CROSS(VARB3,理想通*0.9998+0.0018) AND VARB3>67 ,H*1.0012,’-卖出-★ ‘),COLOR00FF00;
卖出2:DRAWTEXT(CROSS(VARB3,理想通*0.9998+0.0018) AND VARB3>67 ,H*1.0112,’ ‘),COLOR00FF00;
加仓:DRAWTEXT(CROSS(理想通,VARB4*0.9998+0.0018),L*0.986,’★-加仓- ‘),COLOR0000FF;
【股票入门】【通达信】成交量回调买主图指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。