大道至简均线系统[同花顺公式]
相关标签: 60分钟一根均线打天下 、 一辈子坚持使用双均线 、 期货一根均线挑天下 、 周线选股法100%成功 、 13均线和21均线战法 、 期货精髓大道至简均线 、 克罗的双均线系统 、 万能的99日均线交易法 、 2条均线傻瓜做单法 、 期货永远只用一根均线 、 我教大家用一根均线赚钱 、 233均线5分钟战法 、
指标包含了自创的BS买卖点提示,包含涨跌停K线颜色显示,为最新优化版本
源码:
来源:程序化99( WWW.CXH99.COM )
原理解析:
N:=11;M1:=10;M2:=9;压力位:(1+M1/100)*MA(CLOSE,N),colorred;支撑位:(1-M2/100)*MA(CLOSE,N),colorgreen;大道至简:=(压力位+支撑位)/2,coloryellow;流通市值:SHGZG*C,nodraw;MA5:MA(CLOSE,5),colorgray;换手率:VOL/SHGZG*100,nodraw;MA20:MA(CLOSE,20);龙头回调抄底线:MA(CLOSE,25);STICKLINE(C>O AND C=H AND C<REF(C,1)*1.098,CLOSE,OPEN,7,0),colorred;//光头阳线//STICKLINE(C>O AND C=H AND C>REF(C,1)*1.098,CLOSE,O ,7,0),coloryellow;//涨停//STICKLINE(C>O AND C<H AND H>REF(C,1)*1.098,(CLOSE+OPEN)/2,OPEN,7,0),coloryellow;//打开涨停//DRAWTEXT(ma20>REF(ma20,1) AND HHV(C,10)*0.9>C AND CROSS(C,MA5) AND (CROSS(C,MA20) OR CROSS(C,龙头回调抄底线)) AND C>REF(C,1)*1.05,L*0.95,'龙回头');人气:=WAITBUYMONEY3+BIGBUYMONEY3-BIGSELLMONEY3- WAITSELLMONEY3+WAITBUYMONEY1+BIGBUYMONEY1-BIGSELLMONEY1-WAITSELLMONEY1+WAITBUYMONEY2+BIGBUYMONEY2-BIGSELLMONEY2-WAITSELLMONEY2;人气主动:=(BIGBUYMONEY3- BIGSELLMONEY3)+(BIGBUYMONEY1-BIGSELLMONEY1)+(BIGBUYMONEY2-BIGSELLMONEY2),coloryellow;主力:=WAITBUYMONEY1+BIGBUYMONEY1-BIGSELLMONEY1-WAITSELLMONEY1+WAITBUYMONEY2+BIGBUYMONEY2-BIGSELLMONEY2-WAITSELLMONEY2;主力主动:=(BIGBUYMONEY1-BIGSELLMONEY1)+(BIGBUYMONEY2-BIGSELLMONEY2),coloryellow;//五线谱////主升浪启动//主升:=REF(MA5,1)>REF(MA5,3) AND H*0.985<C AND REF(O,2)<REF(大道至简,2) AND (REF(C,1)*0.95>REF(O,1) OR REF(C,1)<REF(压力位,1)) AND C>O AND C>=压力位 AND REF(O,1)<REF(C,1) AND 大道至简>REF(大道至简,1) AND O>REF(C,1),nodraw,Colorff00ff;DRAWICON(主升 ,L*0.99,1);DRAWTEXT(主升 ,L*0.95,'主升浪'),Colorff00ff;WY1001:=(8*CLOSE+HIGH+LOW)/4;WY1002:=EMA(WY1001,4);WY1003:=EMA(WY1002,4);WY1004:=EMA(WY1003,4);XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1);ZZX:=0,colorwhite;卖:=MA(XYS0,2),LINETHICK1,colorgray;买:=MA(XYS0,1),coloryellow,LINETHICK1;DRAWGBK(买>卖),color101010;//买点系统//均价线:=AMOUNT/V/100;C2:=REF(C,1);涨停:=C>=REF(C,1)*1.098;S10:=C<O;HH1:=COUNT(S10,6)>=4;HH2:=COUNT(S10,5)>=3;HH22:=COUNT(S10,4)>=3;S11:=C>MA(C,20);HH:=COUNT(S11,10)>=4;S13:=C>MA(C,20);HH3:=COUNT(S13,10)>=4;S14:=C<MA(C,5);HH4:=COUNT(S14,5)>=3;HH5:=COUNT(S14,4)>=3;HH55:=COUNT(S14,10)<8;S19:=C>O;HH19:=COUNT(S19,7)>=3;低吸:=(FILTER((C<REF(O,2) AND Hh55 AND C>O AND (C>REF(O,1) OR C*0.98<O) AND REF(C,1)<REF(O,1) AND (REF(C,1)+REF(O,1))/2< REF(C,2) AND REF(C,2)<REF(O,2) AND (O*1.1<REF(O,2) OR HH22 OR (REF(C,3)<REF(O,3) AND REF(C,1)*1.1<REF(O,3))) OR C>O AND HH22 AND Hh55),1) ),nodraw,colorgreen;DRAWICON(低吸,L*0.99,1),colorgreen;///www..com二次低吸:=(REF(低吸,2)>0 AND REF(C,1)<REF(O,1) AND C>O),nodraw,colorgray;DRAWICON(二次低吸,L*0.99,1),colorgray;龙头股低吸:=(FILTER(HH4 AND HH2 AND HH3 AND L<MA(C,20) AND S11 AND C>O AND C>MA(C,20) AND (C*0.97>O OR C>MA(C,5)) AND REF(C,5)*0.85>REF(C,11),1)),nodraw,colorff00ff;DRAWICON(龙头股低吸,L*0.99,1),colorff00ff;强势反弹:=(C>O AND REF(C,1)*1.15<REF(O,3) AND REF(C,5)*0.85>REF(C,9)),nodraw,colorred;DRAWICON(强势反弹,L*0.99,1),colorred;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容