同花順八仙過海適合波段操作指標公式
- 指標類別: 同花順指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2018-11-03 來源:互聯網
同花順八仙過海適合波段操作指標公式:
DIFF:=EMA(CLOSE,6)-EMA(CLOSE,8);
DEA:=EMA(DIFF,3);
DRAWICON(DIFF>DEA,1,"BUY");
DRAWICON(DIFF<DEA,0,"SELL");
MCDA金叉:DIFF>DEA,NODRAW;
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DRAWICON(K>D,2,"BUY");
DRAWICON(K<D,1,"SELL");
KDJ金叉:K>D,NODRAW;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),4,1))/(SMA(ABS(CLOSE-LC),4,1))*100;
DRAWICON(RSI1>RSI2,3,"BUY");
DRAWICON(RSI1<RSI2,2,"SELL");
RSI金叉:RSI1>RSI2,NODRAW;
RSV:=-(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8))*100;
LWR1:=SMA(RSV,5,1);
LWR2:=SMA(LWR1,5,1);
DRAWICON(LWR1>LWR2,4,"BUY");
DRAWICON(LWR1<LWR2,3,"SELL");
LWR金叉:LWR1>LWR2,NODRAW;
BBI:=(MA(CLOSE,5)+MA(CLOSE,6)+MA(CLOSE,8)+MA(CLOSE,3))/4;
DRAWICON(CLOSE>BBI,5,"BUY");
DRAWICON(CLOSE<BBI,4,"SELL");
BBI金叉:CLOSE>BBI,NODRAW;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,3),5)/EMA(EMA(ABS(MTM),3),5);
MMM:=100*EMA(EMA(MTM,8),6)/EMA(EMA(ABS(MTM),8),6);
DRAWICON(MMS>MMM,6,"BUY");
DRAWICON(MMS<MMM,5,"SELL");
MTM金叉:MMS>MMM,NODRAW;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
買盤:=(V9+V8);
賣盤:=(V6+V7);
買賣差:=買盤-賣盤;
DDX:=買賣差;
DX:=MA(買賣差,5)*20;
DDX1:=SMA(DX,3,1);
DDX2:=SMA(DDX1,3,1);
DDX3:=(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;
DRAWICON(DDX1>DDX2,7,"BUY");
DRAWICON(DDX1<DDX2,6,"SELL");
DDX金叉:DDX1>DDX2,NODRAW;
量:=V;
換手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買盤1:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
賣盤1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0- VOL/2));
DLX:=(買盤1-(-賣盤1))/量*換手;
DLX1:=SUM(DLX,6);
DLX2:=MA(DLX1,5);
DRAWICON(DLX1>DLX2,8,"BUY");
DRAWICON(DLX1<DLX2,7, "SELL");
VOL金叉:DLX1>DLX2,NODRAW;
同花順八仙過海適合波段操作指標公式: