同花順三線開花買點賣點指標公式
- 指標類別: 同花順指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 均線
- 畫線方法: 主圖
- 日期:2021-01-16 來源:互聯(lián)網(wǎng)
同花順三線開花買點賣點指標公式:
ma20:MA(C,20),colorwhite,linethick2;ma120:MA(C,120),colorffcccc,linethick2;
ma250:MA(C,250),colorffcc66,linethick2;乖離線:=((C-REF(ma20,1))/20+ma20)*1.20;
tt1:=CROSS(ma20,ma120) AND CROSS(ma20,ma250) AND V>REF(V,1);
tt2:=ma20>REF(ma20,2) AND V>REF(V,1) AND CROSS(C,ma20);
STICKLINE(TT1,L,L-0.09,4,0),coloryellow;DRAWTEXT(TT1,L-0.13,'金叉'),coloryellow;
STICKLINE(CROSS(C,ma120) AND CROSS(C,ma250) AND CROSS(C,ma20),L,L-0.09,4,0),coloryellow;
DRAWTEXT(CROSS(C,ma120) AND CROSS(C,ma250) AND CROSS(C,ma20),L-0.13,'并線開花'),coloryellow;
STICKLINE(tt2,L,L-0.09,4,0),coloryellow;DRAWTEXT(tt2,L-0.13,'買點1'),coloryellow;
STICKLINE(CROSS(C,乖離線),H,H+0.09,4,0),color00ff00;
DRAWTEXT(CROSS(C,乖離線) ,H+0.13,'賣點'),color00ff00;
STICKLINE(ma250>=REF(ma250,1) AND ma20>=REF(ma20,1) AND CROSS(C,ma250),L,L-0.09,4,0),colorffcc66;
DRAWTEXT(ma250>=REF(ma250,1) AND ma20>=REF(ma20,1) AND CROSS(C,ma250),L-0.13,'牛象'),colorffcc66;
STICKLINE(ma120>=REF(ma120,1) AND CROSS(C,ma20) AND CROSS(C,ma120) AND V>REF(V,1),L,L-0.09,4,0),colorff00ff;
DRAWTEXT(ma120>=REF(ma120,1) AND CROSS(C,ma20) AND CROSS(C,ma120) AND V>REF(V,1),L-0.13,'買點2'),colorff00ff ;
A1:=SUM(AMOUNT,3)/SUM(VOL,3)/100;A2:=SUM(AMOUNT,8)/SUM(VOL,8)/100;A3:=SUM(AMOUNT,21)/SUM(VOL,21)/100;
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);
V1:=C-(a1+MA(C,3))/2;V2:=C-(a2+MA(C,8))/2;V3:=C-(a3+MA(C,21))/2;Va1:=(C+v3-v1+MACD);Va4:=(C+v2-v1+MACD);短線:EMA(Va1,6),linethick2,coloryellow;
同花順三線開花買點賣點指標公式實例圖解:
同花順三線開花買點賣點指標公式