通達信短進短出BS買賣指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 策略
- 畫線方法: 主圖
- 日期:2020-06-23 來源:互聯(lián)網(wǎng)
通達信短進短出BS買賣指標公式:包含未來函數(shù):XMA
MA5:MA(C,5),COLORWHITE,LINETHICK2;
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60),COLORGREEN;
MA10:MA(CLOSE,10),COLORMAGENTA,LINETHICK2;
JG:=CROSS(MA5,MA10);
GJ:=IF(CROSS(MA10,MA5),0,1);
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
NL:=CROSS(MAVOL1,MAVOL2);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
NA:=CROSS(DIF,DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
DRAWTEXT((JG AND NA) AND J<80,L-0.09,'穩(wěn)進'),COLORYELLOW;
X:=IF(DIF>0,1,0);
Y:=IF(J<80,1,0);
{DRAWTEXT(IF(X>0 AND Y>0 AND GJ>0,1,0),L+0.09,'★短進'),COLORLIMAGENTA;}
DRAWTEXT(CROSS(DEA,DIF),H+0.09,'★短出'),COLORLIMAGENTA;
JH9:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH9),H+0.09,'★S'),COLORGREEN;
PT:=XMA(H,20);
PAN:=XMA(CLOSE,7),COLORBROWN;
RUO:=MEMA(CLOSE,3),COLORLIBLUE;
DRAWTEXT(LONGCROSS(PAN,RUO,0.25) AND PT>H ,L-0.09,'★短進'),COLORRED;
通達信短進短出BS買賣指標公式實例圖解:
通達信短進短出BS買賣指標公式