《股票-同花顺主控K线均线战法指标公式.docx》由会员分享,可在线阅读,更多相关《股票-同花顺主控K线均线战法指标公式.docx(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、同花顺主控K线均线战法指标公式长期线:EMA(C,N4),colormagenta;STICKLINE(CLOSEOPENORCLOSE=OPENANDCLOSEREF(CLOSE,1),LOW,HIGH,0.1,0),colorred;STICKLINE(CLOSEOPENORCLOSE=OPENANDCLOSEREF(CLOSE,1),OPEN,CLOSE,10,0),colorred;STICKLINE(CLOSEOPENORCLOSE=OPENANDCLOSE=REF(CLOSE,1),LOW,HIGH,0.1,0),colorff00ff;STICKLINE(CLOSEOPENORC
2、LOSE=OPENANDCLOSE=REF(CLOSE,1),OPEN,CLOSE,7,0),colorff00ff;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,0,0),COLOR00FF11;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,8,0),COLOR008855;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,7,0),COLOR009900;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,6,0),COLOR00AA00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,5,0),COLOR00B
3、B00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,4,0),COLOR00CC00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,3,0),COLOR00DD00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,2,0),COLOR00EE00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1,0),COLOR00FF55;STICKLINE(CLOSEOPEN,CLOSE,OPEN,5,0),COLORFF66FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,4,0),COLORFF88FF;STIC
4、KLINE(CLOSEOPEN,CLOSE,OPEN,3,0),COLORFF99FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,2,0),COLORFFAAFF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,0,0),COLORFFBBFF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,8,0),COLORFF00FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,7,0),COLORFF22FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,6,0),COLORFF44FF;STICKLINE(CLOSEO
5、PEN,CLOSE,OPEN,5,0),COLORFF66FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,4,0),COLORFF88FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,3,0),COLORFF99FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,2,0),COLORFFAAFF;STICKLINE(C=持股线ANDC=O,C,O,9,0),colorred;STICKLINE(C=持股线ANDC=O,H,L,0,0),colorred;Var11:=ZIG(3,6)REF(ZIG(3,6),1)ANDREF(ZIG(3,6
6、),1)=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2)=REF(ZIG(3,6),3);Var12:=ZIG(3,6)REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2)=REF(ZIG(3,6),3);Var13:=ZIG(3,22)REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)=REF(ZIG(3,22),3);Var14:=ZIG(3,22)REF(ZIG(3,22),1)ANDREF(ZI
7、G(3,22),1)=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)=REF(ZIG(3,22),3);Var15:=ZIG(3,51)REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)=REF(ZIG(3,51),3);Var16:=ZIG(3,51)REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)=REF(ZIG(3,51),3);Var17:=ZIG(3,72)REF(ZIG(3,
8、72),1)ANDREF(ZIG(3,72),1)=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)=REF(ZIG(3,72),3);Var18:=ZIG(3,72)REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)=REF(ZIG(3,72),3);Var19:=EMA(C,2)-EMA(C,150);买点1:=(Var11+Var13+Var15+Var17);买点2:=(Var13+Var15+Var17);卖点1:=(Var12+Var14+Var16+Var18);卖点
9、2:=(Var14+Var16+Var18);STICKLINE(买点10,H,L,10,1),colorwhite,linethick1;STICKLINE(买点10,O,C,6,0),colorwhite,linethick1;STICKLINE(买点20,H,L,10,1),colorwhite,linethick1;STICKLINE(买点20,O,C,6,0),colorred,linethick1;STICKLINE(卖点10,H,L,11,5),colorblue,linethick1;STICKLINE(卖点10,O,C,6,0),colorbrown,linethick1;S
10、TICKLINE(卖点20,H,L,11,5),colorblue,linethick1;STICKLINE(卖点20,O,C,6,0),colorwhite,linethick1;DRAWTEXT(卖点20,H,顶),colorblue,linethick3;LOWV:=LLV(LOW,9);HIGHV:=HHV(HIGH,9);RSV:=EMA(CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=EMA(RSV,3);D:=MA(K,3);买卖差:=K-D;BU:=CROSS(K,D);多头排列:=启动持股线AND启动长期线AND持股线买进价:=(C-REF(MA(C,6
11、),1)/6+MA(C,6)*1.004;攻击:=BBI+3*STD(BBI,10),linethick1;STICKLINE(1,C,O,0,0),colorwhite;上线:=SMA(C,2.5,1);下线:=SMA(C,6.5,1);上线1:=SMA(C,6,2);下线1:=SMA(C,8,2);攻击:BBI+3*STD(BBI,10),linethick1;STICKLINE(上线下线AND(CLOSE攻击),C,O,7,3),coloryellow;STICKLINE(上线下线AND(CLOSE攻击),H,L,1,2),coloryellow;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)/4;LOWV:=LLV(LOW,9);HIGHV:=HHV(HIGH,9);RSV:=EMA(CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=EMA(RSV,3);D:MA(K,3);金叉:=CROSS(K,50);DRAWTEXT(金叉0ANDK80ANDKDANDOPEN牛熊线,LOW*0.942,大胆作多),colorred;同花顺主控K线均线战法指标公式实例图解:同花顺主控K线均线战法指标公式
限制150内