您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

红魔方[大智慧公式]

相关标签:

 

 

 

 

原理解析:


 

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

源码:

 


{红魔方}
AA:=MA(C,20)>REF(MA(C,20),1) AND C>MA(C,20);
STICKLINE(MA(C,5)>REF(MA(C,5),1) AND C>MA(C,5),42,50,4,0),COLOR888888;
STICKLINE(MA(C,10)>REF(MA(C,10),1) AND C>MA(C,10),35,42,4,0),COLOR887788;
STICKLINE(MA(C,20)>REF(MA(C,20),1) AND C>MA(C,20),28,35,4,0),COLOR886688;
STICKLINE(MA(C,40)>REF(MA(C,40),1) AND C>MA(C,40),21,28,4,0),COLOR994466;
STICKLINE(MA(C,60)>REF(MA(C,60),1) AND C>MA(C,60),14,21,4,0),COLOR774466;
STICKLINE(MA(C,90)>REF(MA(C,90),1) AND C>MA(C,90),7,14,4,0),COLOR773366;
STICKLINE(MA(C,120)>REF(MA(C,120),1) AND C>MA(C,120),0,7,4,0),COLOR770066;
STICKLINE(MA(C,40)>REF(MA(C,40),1) AND C>MA(C,40) AND AA=1,21,28,4,0),COLOR885588;
STICKLINE(MA(C,60)>REF(MA(C,60),1) AND C>MA(C,60) AND AA=1,14,21,4,0),COLOR664488;
STICKLINE(MA(C,90)>REF(MA(C,90),1) AND C>MA(C,90) AND AA=1,7,14,4,0),COLOR663388;
STICKLINE(MA(C,120)>REF(MA(C,120),1) AND C>MA(C,120) AND AA=1,0,7,4,0),COLOR660088;
STICKLINE(1=1,90,100,4,0),COLOR880000;

BB:=REF(CROSS((EMA(C,12)-EMA(C,26)-EMA(EMA(C,12)-EMA(C,26),9)),0),1) AND
(EMA(C,12)-EMA(C,26)-EMA(EMA(C,12)-EMA(C,26),9))>0,STICK,COLORRED;
追:=CROSS(C,MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA
(REF(HHV(C,30),1),2),2)),COLORRED;
短线:SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,2,1),COLORCCCCCC;
短均线:IF(短线<EMA(短线,5),EMA(短线,5),短线),COLORCCCCCC;
月量价:=SUM((C-O)/(H-L)*V,20)/10000;
周均量:=EMA(月量价,5);
趋势买点:=((短线<(MA(REF(HHV(短线,30),1),2)+MA(REF(LLV(短线,30),1),
2))/2) AND 短线>短均线 AND REF(短线,1)=REF(短均线,1) AND 月量价
>周均量),COLORRED;
顶:=HHV(月量价,20),COLOR9DFFFF;
底:=LLV(月量价,20),COLORABFF46;
抄:=(((CROSS(月量价,周均量) AND REF(月量价,1)=REF(底,1))+(CROSS(月量价,
周均量) AND REF(月量价,2)=REF(底,2))+(CROSS(月量价,周均量) AND REF
(月量价,3)=REF(底,3)))),COLORRED;
EE:=((FILTER(ATAN(EMA((C+L+H)/3,13)-REF(EMA((C+L+H)/3,13),1))>1 AND
EMA((C+L+H)/3,13)>REF(EMA((C+L+H)/3,8),1),10)) AND 月量价>周均量);
追1:=(月量价=顶 AND REF(顶,1)=LLV(顶,4)),COLORRED;
追2:IF(CROSS(C,MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA(REF
(HHV(C,30),1),2),2)),60,0),STICK,COLORRED,LINETHICK4;
持股:IF(短线=短均线,短均线,DRAWNULL),COLOR00FFFF,LINETHICK2;
持币:IF(短线<短均线,短均线,DRAWNULL),COLOR00FF00,LINETHICK2;
DRAWICON(追+趋势买点+抄+EE+追1,50,9);
DRAWICON(BB>0,60,1);
DRAWTEXT(FILTER(短线>50,20),3,'低位区'),COLORFFFFFF;
DRAWTEXT(FILTER(短线<50,20),92,'高位区'),COLORFFFFFF;<!--++ plugin_code qcomic begin--><!--++ plugin_code qcomic end-->

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容