《股票-通达信买与背离BS买卖主图指标公式.docx》由会员分享,可在线阅读,更多相关《股票-通达信买与背离BS买卖主图指标公式.docx(4页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信买与背离BS买卖主图指标公式_正点财经VAR1:=IF(CLOSE/REF(CLOSE,1)1.050ANDHIGH/CLOSE1.010ANDIF(CLOSEREF(CLOSE,1),88,0)0,91,0);STICKLINE(VAR190,L,L*0.92,0.1,0),COLORRED;DRAWTEXT(VAR190,LOW*0.92,B),COLORRED;买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B11:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK4,C
2、OLORRED;S11:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK4,COLORGREEN;VC:=(CLOSE-MA(CLOSE,6)/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24)/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32)/MA(CLOSE,32)*100)/3;S2:=IF(VC20ANDFILTER(VCREF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK4,COLORGREEN;A1:=BARSLAST(REF(CR
3、OSS(MACD.DIF,MACD.DEA),1);B1:=REF(C,A1+1)CANDREF(MACD.DIF,A1+1)MACD.DIFANDCROSS(MACD.DIF,MACD.DEADRAWTEXT(B10,L-0.02,M底),COLOR00FFFF;MACD底背离A2:=BARSLAST(REF(CROSS(KDJ.K,KDJ.D),1);B2:=REF(C,A2+1)CANDREF(KDJ.K,A2+1)KDJ.KANDCROSS(KDJ.K,KDJ.DDRAWTEXT(B2,L-0.10,K底),COLORFF00FF;KDJ底背离A3:=BARSLAST(REF(CROS
4、S(RSI.RSI1,RSI.RSI2),1);B3:=REF(C,A3+1)CANDREF(RSI.RSI1,A3+1)RSI.RSI1ANDCROSS(RSI.RSI1,RSI.RSI2DRAWTEXT(B30,L-0.18,R底),COLOR0000FF;RSI底背离C1:=BARSLAST(REF(CROSS(MACD.DEA,MACD.DIF),1);D1:=REF(C,C1+1)CANDREF(MACD.DIF,C1+1)MACD.DIFANDCROSS(MACD.DEA,MACD.DIFDRAWTEXT(D10,H+0.16,M顶),COLOR00FF00;MACD顶背离C2:=
5、BARSLAST(REF(CROSS(KDJ.D,KDJ.K),1);D2:=REF(C,C2+1)CANDREF(KDJ.K,C2+1)KDJ.KANDCROSS(KDJ.D,KDJ.KDRAWTEXT(D20,H+0.08,K顶),COLORFFFFCC;KDJ顶背离C3:=BARSLAST(REF(CROSS(RSI.RSI2,RSI.RSI1),1);D3:=REF(C,C3+1)CANDREF(RSI.RSI1,C3+1)RSI.RSI1ANDCROSS(RSI.RSI2,RSI.RSI1DRAWTEXT(D30,H+0.04,R顶),COLORFF9900;RSI顶背离;通达信买与背离BS买卖主图指标公式实例图解:通达信买与背离BS买卖主图指标公式