波段精品-(均线指标公式,公式、源码)[大智慧公式]
相关标签:
{波段精品}
a6:ma(c,6);
a12:ma(c,12);
a24:ma(c,24);
a50:ma(c,50);
DK:=a24;
A1:=a6;
STICKLINE(DK<=A1 AND CLOSE>=OPEN,HIGH,LOW,0.1,1),COLORRED;STICKLINE(DK<=A1 AND CLOSE>=OPEN,CLOSE,OPEN,8,1),COLORRED;
STICKLINE(DK<=A1 AND CLOSE<OPEN,HIGH,LOW,0.1,0),COLORRED;
STICKLINE(DK<=A1 AND CLOSE<OPEN,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(DK>A1 AND CLOSE>=OPEN,HIGH,LOW,0.1,1),COLORGREEN;{http://www.cxh99.com}
STICKLINE(DK>A1 AND CLOSE>=OPEN,CLOSE,OPEN,8,1),COLORGREEN;{http://www.cxh99.com}
STICKLINE(DK>A1 AND CLOSE<OPEN,HIGH,LOW,0.1,0),COLORGREEN;{http://www.cxh99.com}
STICKLINE(DK>A1 AND CLOSE<OPEN,CLOSE,OPEN,8,0),COLORGREEN;{http://www.cxh99.com}
cxh1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);cxhD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
cxhE:=REF(cxhD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxhF:=REF(cxhE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh10:=REF(cxhF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh11:=REF(cxh10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh12:=REF(cxh11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh13:=REF(cxh12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh14:=REF(cxh13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh15:=REF(cxh14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);cxh16:=REF(cxh15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh17:=REF(cxh16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh18:=REF(cxh17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh19:=REF(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR
cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,1) AND cxh1;
STICKLINE(cxh19,REF(CLOSE,1),REF(CLOSE,2),6,1),COLORBROWN,LINETHICK2;{黄s};
DK:=MA(((SLOPE(C,20)*5)+C),20);
DRAWTEXT(CROSS(C,DK),LOW*0.99,'B'),COLORMAGENTA;
DRAWTEXT(CROSS(DK,C),H*1.01,'S'),COLORYELLOW;收益:FINANCE2(33),LINETHICK0;
公积金:FINANCE2(18),LINETHICK0;
DRAWTEXTABS(0,25,'所属板块:'+BKNAME);
DRAWTEXTABS(180,50,'目前流通盘:'+CAPITAL/100),COLORF0F000;
cxh1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
cxh2:=REF(cxh1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh3:=REF(cxh2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh4:=REF(cxh3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh5:=REF(cxh4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);cxh6:=REF(cxh5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh7:=REF(cxh6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh8:=REF(cxh7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh9:=REF(cxh8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxhA:=REF(cxh9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxhB:=REF(cxhA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxhC:=REF(cxhB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
STICKLINE(cxh1 OR cxh2 OR cxh3 OR cxh4 OR cxh5 OR cxh6 OR cxh7 OR
cxh8 OR cxh9 OR cxhA OR cxhB OR cxhC,CLOSE,REF(CLOSE,1),6,1),COLORRED;{红1}
cxhD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
cxhE:=REF(cxhD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxhF:=REF(cxhE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh10:=REF(cxhF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh11:=REF(cxh10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh12:=REF(cxh11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh13:=REF(cxh12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh14:=REF(cxh13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh15:=REF(cxh14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh16:=REF(cxh15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh17:=REF(cxh16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
cxh18:=REF(cxh17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
cxh19:=REF(cxhD OR cxhE OR cxhF OR cxh10 OR cxh11 OR cxh12 OR cxh13 OR
cxh14 OR cxh15 OR cxh16 OR cxh17 OR cxh18,1) AND cxh1;
STICKLINE(cxh19,REF(CLOSE,1),REF(CLOSE,2),6,1),COLORYELLOW,LINETHICK3;{黄s};{程序化交易 www.cxh99.com }
{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容