您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

沐阳流苏[同花顺公式]

相关标签:

 

CXH1:=1;

CXH2:=(2*CLOSE+HIGH+LOW)/4;
CXH3:=IF(YEAR>=2099 AND MONTH>2,0,1);
CXH4:=LLV(LOW,5);
CXH5:=HHV(HIGH,4);
散户: EMA((CXH2-CXH4)/(CXH5-CXH4)*100,4)*CXH3*CXH1;
庄家: EMA(0.667*REF(散户,1)+0.333*散户,2)*CXH3*CXH1;
DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,20,'●'),colorred;
DRAWTEXT(CROSS(庄家,散户) AND 散户>40 AND 71>散户,50,'☆'),COLORGREEN;//http://www.cxh99.com
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,0,'●'),colorred;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,75,'☆'),COLORGREEN;//http://www.cxh99.com
DRAWTEXT(REF(散户,0)>REF(庄家,1) AND 庄家<散户,散户>庄家,'*+'),coloryellow;
A:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,colorred;
B:SMA(A,3,1),colorcyan;
//www.cxh99.com
E:SMA(B,3,1),COLOR00FF00;
D:IF(BARSLAST(CROSS(B,E))<9 AND CROSS(B,E) AND B<20,90,0),STICK,COLORFF937F;
DRAWTEXT(REF(B,1)>REF(E,1) AND E<B,B>E,'☆'),colorblue;
DRAWTEXT(REF(A,0)>REF(B,0) AND B<A,A>B,'√'),colorred;
DIF:EMA(CLOSE,4)-EMA(CLOSE,9);
DEA:EMA(DIF,2.5),LINETHICK1;
IF(DIF<2,DIF,0),colorred,LINETHICK1;
IF(DIF<0,2,DIF),colorred,LINETHICK1;
IF(DIF<DEA,DIF,DEA),COLOR00FF00,LINETHICK1;
IF(DIF>DEA,DEA,DEA),colorwhite,LINETHICK1;
金叉:=CROSS(DIF,DEA) AND DIF<0.382;
STICKLINE(金叉,1,-0.191,1,0),COLOR0000FF;
A1:=EMA(CLOSE,4)-EMA(CLOSE,9);
B1:=EMA((0.806*REF(A1,1)+0.283*A1),1);
做多:IF(A1>=B1,A1,B1),LINETHICK1,colorred;
做空:IF(B1-A1,B1,A1),LINETHICK1,COLORGREEN;//http://www.cxh99.com
DRAWTEXT(CROSS(做多,1)=CROSS(做空,1) AND 做多=做空,做空<做多,'·1'),colorred;
DRAWTEXT(REF(DIF,0)>REF(DEA,0) AND DEA<DIF,DIF>DEA,'〇'),colorred;
DRAWTEXT(REF(做空,0)<REF(DEA,0) AND DEA>做空,做空<DEA,'☆'),COLORGREEN;//http://www.cxh99.com
DRAWTEXT(REF(做多,0)>REF(做空,0) AND 做多>做空,做空<做多,'☆'),COLORGREEN;//http://www.cxh99.com

 

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

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


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

相关文章

    没有相关内容