通達信圣誕波段買賣指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 神系
- 畫線方法: 副圖
- 日期:2024-07-30 來源:互聯(lián)網(wǎng)
通達信圣誕波段買賣指標公式:
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;
通達信圣誕波段買賣指標公式實例圖解:
通達信圣誕波段買賣指標公式