新庄区主力区散户区鲜明指标公式源码[同花顺公式]
cxh1:=1/WINNER(C);
cxh2:=MA(C,13);
cxh3:=100-ABS((C-cxh2)/cxh2*100);
cxh4:=LLV(L,75);
cxh5:=HHV(H,75);
cxh6:=(cxh5-cxh4)/100;
cxh7:=SMA((C-cxh4)/cxh6,20,1);
cxh8:=SMA((O-cxh4)/cxh6,20,1);
cxh9:=3*cxh7-2*SMA(cxh7,15,1);
cxhA:=3*cxh8-2*SMA(cxh8,15,1);
cxhB:=100-cxhA;//www.cxh99.com
cxhC:=IF(900101<DATE AND DATE<99991230,1,0);
主力: (100-cxh9)*cxhC;
散户区: MA(WINNER(C*0.95)*100,3)*cxhC,coloryellow;
新庄区: (100-IF(cxh1>5,IF(cxh1<100,cxh1,cxh3-10),0))*cxhC, COLORGREEN;//http://www.cxh99.com
cxhD:=散户区>cxh3;
cxhE:=REF(L,1)*0.9;
cxhF:=L*0.9;
cxh10:=(cxhF*V+cxhE*(CAPITAL-V))/CAPITAL;
cxh11:=EMA(cxh10,30);
cxh12:=C-REF(C,1);
cxh13:=MAX(cxh12,0);
cxh14:=ABS(cxh12);
cxh15:=SMA(cxh13,7,1)/SMA(cxh14,7,1)*100;
cxh16:=SMA(cxh13,13,1)/SMA(cxh14,13,1)*100;
cxh17:=BARSCOUNT(C);
cxh18:=SMA(MAX(cxh12,0),6,1)/SMA(ABS(cxh12),6,1)*100;
cxh19:=(-200)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+100;
cxh1A:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
cxh1B:=SMA((SMA(cxh1A,4,1)-50)*2,3,1);
cxh1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
cxh1D:=SMA(cxh1C,4,1);
cxh1E:=SMA(cxh1D,3,1);
cxh1F:=(HHV(H,30)-C)/C*100;
cxh20:=cxh18<=25 AND cxh19<-95 AND cxh1F>20 AND cxh1B<-30 AND cxh1E<30 AND cxh11-C>=-0.25 AND cxh15<22 AND cxh16<28 AND cxh17>50;
cxh21:=(H+L+C)/3;//www.cxh99.com
cxh22:=(cxh21-MA(cxh21,14))/(0.015*AVEDEV(cxh21,14));
cxh23:=(cxh21-MA(cxh21,70))/(0.015*AVEDEV(cxh21,70));
cxh24:=IF(cxh22>=150 AND cxh22<200 AND cxh23>=150 AND cxh23<200,10,0);
cxh25:=IF(cxh22<=-150 AND cxh22>-200 AND cxh23<=-150 AND cxh23>-200,-10,cxh24);
cxh26:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100;
cxh27:=REVERSE(cxh26);
cxh28:=SMA(cxh26,3,1);
散户: SMA(cxh28,3,1)*cxhC,colorblue;
新庄: SMA(散户,3,1)*cxhC, coloryellow;
地: IF(CROSS(散户,新庄) AND 散户<30,新庄,0)*cxhC, colorred;
天堂: IF(CROSS(新庄,散户) AND 新庄>75,新庄,100)*cxhC,COLORGREEN;//http://www.cxh99.com
DRAWTEXT(CROSS(散户,新庄) AND 散户<30,新庄,'买 '),colorred;
DRAWTEXT(CROSS(新庄,散户) AND 新庄>75,新庄,'卖'), colorred;
小心断裂: (IF(cxh23>=200 AND cxh22>=150,15,IF(cxh23<=-200 AND cxh22<=-150,-15,cxh25))+50)*cxhC;
DRAWTEXT(CROSS(cxh20,0.5) AND COUNT(cxh20=1,10)=1,35,'底'),COLORFFFF00;
DRAWTEXT(CROSS(cxhD,0.5) AND COUNT(cxhD=1,10)=1,65,'顶');
STICKLINE(cxhD,100,25,1,0) ;
STICKLINE(1,散户区,0,1,0), coloryellow;
STICKLINE(1,新庄区,100,1,0);
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容