通达信抢钱宝公式主图指标源码 红买绿卖 亲测可用[通达信公式]
YS1:=(H+L+C*2)/4;
RK3:=EMA(YS1,10);
RK4:=STD(YS1,10);
RK5:=(YS1-RK3)*100/RK4;
RK6:=EMA(RK5,5);
RK7:=EMA(RK6,10);
涨:=EMA(RK6,10)+100/2-5,COLORRED;
H_2:=O<MA(CLOSE,60) AND C>MA(CLOSE,60) AND C>O AND O-L<0.02 AND REF(CLOSE,1)/REF(CLOSE,2)<1.099 AND REF(CLOSE,2)/REF(CLOSE,3)<1.099 ;
H_3:=SUM(CROSS(MA(CLOSE,250),MA(CLOSE,90)) AND MA(CLOSE,90)<REF(MA(CLOSE,90),1),3) <1;
H_4:=SUM(CROSS(MA(CLOSE,90),MA(CLOSE,20)) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1),3) <1;
H_5:=SUM(CROSS(MA(CLOSE,120),MA(CLOSE,20)),5) <1;
H_6:=NOT(LAST(C<=O,5,1));
H_7:=SUM((REF(CLOSE,1)/REF(CLOSE,2)<=0.91),5) <1;
H_8:=SUM((REF(C>O,1) AND O>REF(HIGH,1) AND C<O),5) <1;
{倒挂}H_9:=SUM(DOWNNDAY(CLOSE,4),5) <1;
H_10:=SUM((SUM(C<O,4)=4),5) <1;
H_11:=ABS(CLOSE-O)>ABS(HIGH-C);
H_12:=SUM((C/REF(CLOSE,1)>1.099),10) <2;
H_13:=SUM(CROSS(MA(CLOSE,250),MA(CLOSE,120) AND C<MA(CLOSE,120) AND C<MA(CLOSE,250) ),60) <1;
H_14:=SUM(REF(MA(CLOSE,60),2)<REF(MA(CLOSE,30),2) AND MA(CLOSE,60)>MA(CLOSE,30) AND C<MA(CLOSE,30) AND MA(CLOSE,30)<REF(MA(CLOSE,30),1) ,3)<1;
H_15:=SUM((SUM(C<O AND C<REF(CLOSE,1) AND O<REF(CLOSE,1),5)=4),15) <1 ;
H_16:=C>REF(CLOSE,1);
H_17:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
H_18:=NOT(REF(MA(CLOSE,250),1)>MA(CLOSE,250) AND REF(MA(CLOSE,250),1)-MA(CLOSE,250)>0.01 AND REF(MA(CLOSE,120),1)>MA(CLOSE,120) AND REF(MA(CLOSE,120),1)-MA(CLOSE,120)>0);
H_19:=NOT(MA(CLOSE,60) <MA(CLOSE,120) AND MA(CLOSE,60)<MA(CLOSE,250) AND MA(CLOSE,60)<REF(MA(CLOSE,60),1) AND REF(MA(CLOSE,120),1)-MA(CLOSE,120)>0.002 AND REF(MA(CLOSE,250),1)-MA(CLOSE,250)>0.0096);
{北希REF(MA(CLOSE,250),1)-MA(CLOSE,250)>0.002}H_20:=NOT(MA(CLOSE,60) <MA(CLOSE,120) AND MA(CLOSE,60)<MA(CLOSE,250) AND MA(CLOSE,120)>MA(CLOSE,250) AND MA(CLOSE,60)<REF(MA(CLOSE,60),1) AND REF(MA(CLOSE,120),1)>MA(CLOSE,120) AND REF(MA(CLOSE,250),1)<=MA(CLOSE,250)){天原;
新安};
H_21:=SUM(((HHV(HIGH,15)-LLV(LOW,15))/LLV(LOW,15)>0.8),90) <1;
H_22:=NOT(MA(CLOSE,60) <MA(CLOSE,120) AND MA(CLOSE,60)<MA(CLOSE,250) AND MA(CLOSE,60)<REF(MA(CLOSE,60),1) AND MA(CLOSE,250)<=REF(MA(CLOSE,250),1) AND REF(MA(CLOSE,120),1)-MA(CLOSE,120)>0.01);
H_23:=REF(MA(CLOSE,20),1)-MA(CLOSE,20)<0.01;
H_24:=NOT(MA(CLOSE,60) <MA(CLOSE,120) AND MA(CLOSE,60)<MA(CLOSE,250) AND MA(CLOSE,250)<MA(CLOSE,120) AND MA(CLOSE,250)<=REF(MA(CLOSE,250),1) AND REF(MA(CLOSE,60),1)-MA(CLOSE,60)>0.03);
H_25:=REF(MA(CLOSE,30),1)-MA(CLOSE,30)<0.016;
H_26:=NOT(MA(CLOSE,20)<REF(MA(CLOSE,20),1) AND MA(CLOSE,30)<REF(MA(CLOSE,30),1) AND MA(CLOSE,120)<REF(MA(CLOSE,120),1) AND MA(CLOSE,250)<REF(MA(CLOSE,250),1) AND MA(CLOSE,20)<MA(CLOSE,30) AND MA(CLOSE,20)<MA(CLOSE,120) AND MA(CLOSE,20)<MA(CLOSE,250) AND MA(CLOSE,30)<MA(CLOSE,120) AND MA(CLOSE,30)<MA(CLOSE,250) AND MA(CLOSE,120)<MA(CLOSE,250)) ;
H_27:=SUM(REF(C>O,1) AND O/REF(CLOSE,1)>1.02 AND O>REF(HIGH,1) AND C<O AND REF(CLOSE,1)>REF(OPEN,1),8) <1;
{倒挂2}H_28:= H_27 AND H_26 AND H_25 AND H_24 AND H_23 AND H_22 AND H_21 AND H_20 AND H_19 AND H_6 AND H_7 AND H_8 AND H_9 AND H_10 AND H_11 AND H_12 AND H_13 AND H_4 AND H_14 AND H_15 AND H_16 AND H_17 AND H_18 ;
H_29:= H_2;
H_30:=IF(NAMELIKE('*ST'),0,1) AND (BARSCOUNT(C)+1)>30 AND DYNAINFO(10)>100;
H_31:=H_29 AND H_28 AND 涨>REF(涨,1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) ;
抢钱宝:=H_31 AND SUM(H_31,10)<2 AND H_30 ;
STICKLINE(抢钱宝,O,O-0.01,0,0),COLOR0000FF;
DRAWICON(抢钱宝,O-0.01,26);
DRAWTEXT(抢钱宝 ,O-0.01,'↖抢钱'),COLOR00FFFF;
M3:MA(C,3),COLORRED,LINETHICK;
M13:MA(C,13),COLORRED,LINETHICK;
M34:MA(C,34),COLORRED,LINETHICK;
X:=BARSLAST(REF(CROSS(CLOSE,MA(CLOSE,120)),1)) AND CROSS(MA(CLOSE,20),MA(CLOSE,120));
IF(M34<REF(M34,1),M34,DRAWNULL),COLORGREEN,LINETHICK;
STICKLINE(M3>=M13 AND M34>=REF(M34,1) ,H ,L ,0.1 ,0 ),COLORRED;
STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORRED;
STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORRED;
STICKLINE(M3<M13 AND M34>=REF(M34,1) ,H ,L ,0.1 ,0 ),COLORYELLOW;
STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORYELLOW;
STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORYELLOW;
STICKLINE(M3<M13 AND M34<REF(M34,1) ,H ,L ,0.1 ,0 ),COLORGREEN;
STICKLINE(M3<M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORGREEN;
STICKLINE(M3<M13 AND M34<REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORGREEN;
STICKLINE(M3>=M13 AND M34<REF(M34,1) ,H ,L ,0.1 ,0 ),COLORMAGENTA;
STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORMAGENTA;
STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORMAGENTA;
<!--[endif]-->
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容