《股票-同花顺三线开花买点卖点指标公式.docx》由会员分享,可在线阅读,更多相关《股票-同花顺三线开花买点卖点指标公式.docx(3页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、同花顺三线开花买点卖点指标公式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)ANDCROSS(ma20,ma250)ANDVREF(V,1);tt2:=ma20REF(ma20,2)ANDVREF(V,1)ANDCROSS(C,ma20);STICKLINE(TT1,L,L-0.09,4,0),color
2、yellow;DRAWTEXT(TT1,L-0.13,金叉),coloryellow;STICKLINE(CROSS(C,ma120)ANDCROSS(C,ma250)ANDCROSS(C,ma20),L,L-0.09,4,0),coloryellow;DRAWTEXT(CROSS(C,ma120)ANDCROSS(C,ma250)ANDCROSS(C,ma20),L-0.13,并线开花),coloryellow;STICKLINE(tt2,L,L-0.09,4,0),coloryellow;DRAWTEXT(tt2,L-0.13,买点1),coloryellow;STICKLINE(CROS
3、S(C,乖离线),H,H+0.09,4,0),color00ff00;DRAWTEXT(CROSS(C,乖离线),H+0.13,卖点),color00ff00;STICKLINE(ma250=REF(ma250,1)ANDma20=REF(ma20,1)ANDCROSS(C,ma250),L,L-0.09,4,0),colorffcc66;DRAWTEXT(ma250=REF(ma250,1)ANDma20=REF(ma20,1)ANDCROSS(C,ma250),L-0.13,牛象),colorffcc66;STICKLINE(ma120=REF(ma120,1)ANDCROSS(C,ma2
4、0)ANDCROSS(C,ma120)ANDVREF(V,1),L,L-0.09,4,0),colorff00ff;DRAWTEXT(ma120=REF(ma120,1)ANDCROSS(C,ma20)ANDCROSS(C,ma120)ANDVREF(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;同花顺三线开花买点卖点指标公式实例图解:同花顺三线开花买点卖点指标公式