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

财务顶底主图指标公式,红买绿卖,不贪不嗔,掐头去尾,慢慢体会,受益终身[同花顺公式]

相关标签:

 

红买绿卖,不贪不嗔,掐头去尾,慢慢体会,受益终身

工作线:(EMA(C,17));
CXHs1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
CXHs2:=REF(CXHs1,1);
CXHs3:=SMA((CLOSE-CXHs2),6,1)/SMA(ABS(CLOSE-CXHs2),6,1)*100;
CXHs4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
CXHs5:=EMA(0.667*REF(CXHs4,1)+0.333*CXHs4,5);
CXHs6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(CXHs4>=CXHs5 AND CXHs4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
CXHs7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
CXHs8:=SMA(MAX(CXHs1-CXHs2,0),10,1)/SMA(ABS(CXHs1-CXHs2),10,1)*100;
CXHs9:=IF(COUNT(CXHs8<20,5)>=1 AND COUNT(CXHs1=LLV(CXHs1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(FILTER(REF(CXHs3,1)>81 AND CXHs3<80 OR CROSS(82,CXHs7),5),HIGH+0.1,'↓卖'),COLORGREEN;//http://www.cxh99.com
DRAWTEXT(FILTER(CXHs9 OR CXHs6,5),LOW-0.2,'↑买'),colorred;
A7:=C-REF(C,1)*1;//www.cxh99.com
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.1,'↖回调'),coloryellow;
STICKLINE(买,H,L,2,1),COLOR00ccff;
STICKLINE(买,O,C,6,1),linethick2,COLOR00ccff;
STICKLINE(((C >= 工作线) AND (C >= O) AND FILTER(买=1,5)),H,L,0.5,0),coloryellow;
STICKLINE((C >= 工作线) AND (C >= O) AND OPEN<CLOSE AND OPEN < 工作线 ,OPEN ,CLOSE,5,0 ),colorred;
VL:=REF(LOW,1);
CXH12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;
CXH14:=MA(CXH12,13);
CXH15:=LLV(LOW,34);
CXH18:=EMA(IF(LOW<=CXH15,CXH14,0),3);
CXH110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
CXH111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-CXH110*10.9;
T:=FILTER(IF(CXH111<=CXH110 AND CXH18>REF(CXH18,1),CXH18*8,0),20);
TT:=IF(T ,50 ,0 );//www.cxh99.com
DRAWTEXT(TT,LOW-0.2,'←洗盘结束'),COLORFF00FF;
CXH21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
CXH22:=SMA(CXH21,3,1);
CXH23:=SMA(CXH22,3,1);
CXH24:=SMA(CXH23,3,1);
CXH25:=CROSS(CXH23,CXH24) AND CXH23<20;
DRAWTEXT(FILTER(CXH25,10)=1,LOW-0.2,'←抄底'),colorred;
VVCXH8:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
VVCXH9:=IF(VVCXH8>90,50,100);
VVCXH10:=FILTER(CROSS(VVCXH9,VVCXH8),4);
DRAWTEXT (VVCXH10,HIGH+0.2,'落袋'),colorwhite;
STICKLINE(FILTER(CROSS(VVCXH9,VVCXH8),4) ,OPEN ,CLOSE,3,0 ),COLORGREEN;//http://www.cxh99.com
CXH11:=3;
CXH222:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
大赚小赔:=IF(CROSS(CXH222,CXH11),1,0);
DRAWTEXT(大赚小赔,LOW-0.35,'大赚小赔'),colorFFFFFF;
CXH1:=REF(CLOSE,2);
会员专用:=SMA(MAX(CLOSE-CXH1,0),7,1)/SMA(ABS(CLOSE-CXH1),7,1)*100;
极品逃亡:=IF(会员专用< REF(会员专用,1) AND 会员专用>79,会员专用,0);
DRAWTEXT(极品逃亡 ,(HIGH)*1.02 ,'逃亡'),coloryellow;
STICKLINE(会员专用< REF(会员专用,1) AND 会员专用>79,OPEN ,CLOSE,5,0 ),COLORGREEN;//http://www.cxh99.com

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容