同花順操盤區(qū)多空買賣操盤指標(biāo)公式
- 指標(biāo)類別: 同花順指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 策略
- 畫線方法: 副圖
- 日期:2020-02-10 來源:互聯(lián)網(wǎng)
同花順操盤區(qū)多空買賣操盤指標(biāo)公式:
DIFF := (EMA(CLOSE,12) - EMA(CLOSE,26));
DEA := (EMA(DIFF,9));
MACD : 2*(DIFF-DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))/2;
K:=SMA(RSV,2,1);
D:=SMA(K,2,1);
J:=MA(3*K-2*D,102);
y:2*(j-d);
z:=y>0 AND MACD<0 AND y+MACD>0;
z1:=y<0 AND MACD>0 AND y+MACD<0;
z2:=y>0 AND MACD>0;
z3:=y<0 AND MACD<0;
z4:=y>0 AND MACD<0 AND y-ABS(MACD)<0;
z5:=y<0 AND MACD>0 AND MACD-ABS(y)>0;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+6/100)*DD;
通道4:=(1-6/100)*DD;
zn:=z OR z2 OR z5 OR (CLOSE>通道2 AND 通道2>通道4);
zn1:=z1 OR z3 OR z4 OR (CLOSE<通道2 AND 通道2<通道4);
STICKLINE(zn,0,zn,8),colorred,linethick2;
STICKLINE(zn1,zn1,0,8),colorgreen,linethick2;
IF(MACD<0 AND y<0)
y1=MACD+y;
IF(MACD<0 AND y>0)
y1=y-ABS(MACD);
IF(y<0 AND MACD>0)
y1=MACD-ABS(y);
Zero : 0;
zero1:0.25
同花順操盤區(qū)多空買賣操盤指標(biāo)公式實(shí)例圖解:
同花順操盤區(qū)多空買賣操盤指標(biāo)公式