您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

二箭穿心中线百战百胜[其他软件公式]

相关标签:

 

 

原理解析:


 

 来源:程序化99( WWW.CXH99.COM )

源码:

 

 

WX:=EMA(CLOSE,0);
EMA5:EMA(CLOSE,P1),LINETHICK2,colorFFFFFF;
EMA33:EMA(CLOSE,P2)*(IF(N<2,WX,1)),LINETHICK2,colorFF;
DRAWTEXTEX(CLOSE,1,4,600,'maikoo123操盘定率'),LINETHICK1,colorFFFF;
DRAWTEXTEX(CLOSE,1,4,650,'5日线在33日线下方,为空头排列,做反弹 '),LINETHICK1,colorFFFF;
DRAWTEXTEX(CLOSE,1,4,700,'5日线在33日线上方,为多头排列,坚决做多'),LINETHICK1,colorFFFF;
DRAWTEXTEX(CLOSE,1,4,750,'5日线下破33日线,在第一次反抽33日线,阳线卖出'),LINETHICK1,colorFFFF;
DRAWTEXTEX(CLOSE,1,4,800,'空头排列时第二次突破33日线必须放量,否则为无效'),LINETHICK1,colorFFFF;
DRAWTEXTEX(CLOSE,1,4,850,'放量突破33日线,在回抽确认33日线时,阴线买入'),LINETHICK1,colorFFFF;
DRAWTEXTEX(CLOSE,1,4,900,'多头排列时,以5日线为持股线,只要没有有效跌破,持股'),LINETHICK1,colorFFFF;
DRAWTEXTEX(CLOSE,1,4,950,'33日线为个股主趋势,多头排列,短中线看好'),LINETHICK1,colorFFFF;
DRAWTEXTEX(CLOSE,1,4,1000,'放量突破33日线,说明主力吸够筹码,要异动,密切关注,短线看日线,中线看周月线,长线看月年线'),LINETHICK1,colorFFFF;
VAR1:=HHV(HIGH,146);
庄家成本:LLV(LOW,120)*1.2,LINEDOT,colorFFFF00;
WX:=MA(CLOSE,0);
MA8:MA(CLOSE,P3),LINEDOT,colorFFFF;
二箭穿心:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND (ABS(REF(OPEN,1)-REF(CLOSE,1)))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);
DRAWTEXT(二箭穿心,HIGH*1.05,''),colorFFFF;
DRAWTEXT(二箭穿心,HIGH*1.02,'二箭穿心'),colorFFFF;
STICKLINE(二箭穿心,HIGH,LOW,0.5,1),colorFFFF;
STICKLINE(二箭穿心,OPEN,CLOSE,5,1),LINETHICK2,colorFFFF;
VAR2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
VAR3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
VAR4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
VAR5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
VAR6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
VAR7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
VAR8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
VAR9:=(VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/6;
VARA:=EMA(VAR9,3);
VARB:=ABS(VAR6-VAR8);
VARC:=(VAR9+VARB)/2;
VARD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
VARE:=VARD+VARC;
VARF:=IF(VAR2>0 AND VARE<0,200,0);
VAR10:=IF(VARC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
VAR11:=IF(VARE<0 AND VAR10=-50,100,0);
VAR12:=MA(CLOSE,3);
VAR13:=REF(CLOSE,2)*0.865;
VAR14:=REF(CLOSE,13)*0.772;
VAR15:=MIN(VAR13,VAR14);
VAR16:=100*VOL/CAPITAL;
VAR17:=MA(CLOSE,13);
VAR18:=IF((CLOSE-VAR15)/CLOSE<0.03 AND SUM(VAR16,5)/5<1.8,1,0);
VAR19:=IF(VAR18>0 AND (VAR10<0 OR VAR2>0),100,0);
VAR1A:=VAR19;
VAR1B:=IF(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0) AND VAR19<10,50,0);
VAR1C:=(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0);
VAR1D:=VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
短箭:=(VAR1C OR VAR1D)*1;
DRAWTEXT(短箭,HIGH*1.05,''),colorFF00FF;
DRAWTEXT(短箭,HIGH*1.02,'短箭'),colorFF00FF;
STICKLINE(短箭,HIGH,LOW,0.5,1),colorFF00FF;
STICKLINE(短箭,OPEN,CLOSE,5,1),LINETHICK2,colorFF00FF;

 

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容