手机端
当前位置:爱约股 > 通达信 > 通达信圣诞波段指标公式

通达信圣诞波段指标公式

AAA:=MAX(DYNAINFO(3),DYNAINFO(5))*1.215;
BBB:=MIN(DYNAINFO(3),DYNAINFO(6))/1.215;
CCC:=AAA-BBB;
中轨:(AAA+BBB)/2,COLOR999900;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
DEAA:=EMA(DIFF,9);
MACD:=(DIFF-DEAA)/4;
STICKLINE(MACD>=REF(MACD,1)AND MACD<=0,中轨,中轨+MACD,2,1),COLOR006666;
STICKLINE(MACD>REF(MACD,1)AND MACD>=0,中轨,中轨+MACD,2,1),COLOR110055;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,中轨,中轨+MACD,2,1)COLOR444400;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,中轨,中轨+MACD,2,1),COLOR444400;
STICKLINE(C>=O,H,L,0,0),COLOR00EEFF;
STICKLINE(C>=O,C,O,3,0),COLOR0000FF;
STICKLINE(C<O,H,L,0,0),COLOR00FF00;
STICKLINE(C<O,C,O,3,0),COLOR008800;
中轨A:=MA(C,20);
礼为上:中轨A+2*STD(C,24),POINTDOT,LINETHICK3,COLORFF9966;
物为下:中轨A-2*STD(C,24),POINTDOT,LINETHICK3,COLORFF9966;
Q:=REF(C,1);
K:=SMA(MAX(C-Q,0),6,1)/SMA(ABS(C-Q),6,1)*100;
DRAWTEXT(CROSS(80,K),H*1.02,'顶 ');
阻挡:=SMA(H,13,2)*1.04;
DRAWICON(C<REF(C,1) AND H>阻挡 AND C<阻挡,H*1.02,2);
AA:=H<REF(H,1);
BB:=REF(H,1)<REF(H,2);
CC:=REF(H,2)>REF(H,3);
DD8:=AA AND BB AND CC;
ATA:=MA(DD8,13);
VARXD:=REF(CLOSE,1)-REF(ATA,1);
{ 爱约股_最新股票指标公式}
理想交易:HHV(VARXD,13),LINETHICK1, COLORYELLOW;
DRAWTEXT(ISLASTBAR,理想交易,'理想交易'), COLORYELLOW;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR9:=MA(TR1,22);
止损线: HHV(H-3*ATR9,22),COLORWHITE,DOTLINE;
DRAWTEXT(ISLASTBAR,止损线,'止损线'),COLORWHITE;
VR2:=HHV(HIGH,70);
VR3:=HHV(HIGH,20);
X:= VR2*0.83;
D:= VR3*0.91;
DRAWTEXT(CROSS(D,X),L*0.99,'◤'),COLORMAGENTA;
DRAWICON(CROSS(D,止损线),L*0.99,34);
DRAWICON(CROSS(D,X),L*0.99,23);
DRAWTEXT(CROSS(D,止损线),L*0.99,'◢◣'),COLORRED;

 

通达信圣诞波段指标公式

分享至:

相关推荐