五条长线指标 公式 源码[同花顺公式]
分析:
源码:
CXH1:=MA((HIGH+LOW+2*CLOSE)/4,5);
CXH2:=EMA(CXH1,10)-EMA(CXH1,30);
CXH3:=EMA(CXH2,5); CXH4:=(CXH2-CXH3)*5;
CXH5:=IF(CXH4<=CXH1,CXH1,CXH4);
动向:= FORCAST(FORCAST(CXH5,10),10),LINETHICK1;
趋势: IF(CXH5>动向,CXH5,CXH1),coloryellow;
强势: MA(CXH1,5),colorred; 弱势:= MA(HHV(CXH1,10),5),colorblue;
主力: SMA(CLOSE,10,1),COLORFFFF00;
疯牛: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),LINETHICK2,COLORGREEN;//http://www.cxh99.com
年线: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL),LINETHICK3,POINTDOT,colorwhite;
CXH6:=EMA(CLOSE,5);//www.cxh99.com
CXH7:=EMA(CLOSE,10);
CXH8:=EMA(CLOSE,20);
CXH9:=EMA(CLOSE,30);
CXHA:=EMA(CLOSE,60);
CXHB:=EMA(CLOSE,90);
CXHC:=EMA(CLOSE,125);
CXHD:=EMA(CLOSE,250);
CXH10:=1.809*LLV(LOW,250);
CXH11:=MA(CLOSE,10)-EMA(CLOSE,10)*100;
CXH12:=MA(CXH11,5); CXH13:=3*(CXH12-CXH11);
CXH14:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*200-100)/2-REF(CLOSE,5);
CXH15:=SMA(SMA(CXH14,5,1),5,1);
CXH16:=MA(MA(CXH15,5),5);
CXH17:=3*CXH16-5*CXH15;
CXH18:=EMA(CXH17,10);
CXH19:=MA(CLOSE,20)/MA(CLOSE,20)-REF(CLOSE,20)/CLOSE*100;
CXH1A:=DMA(SMA(EMA(CXH19,5),5,1),VOL/REF(VOL,5)); CXH1B:=SMA(EMA(CXH19,10),5,1);
CXH1C:=(-100)*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
CXH1D:=(-100)*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));
CXH1E:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
CXH1F:=HIGH-REF(HIGH,1);
CXH20:=REF(LOW,1)-LOW;
CXH21:=SMA(IF(CXH1F>0 AND CXH1F>CXH20,CXH1F,0),14,1);
CXH22:=SMA(IF(CXH20>0 AND CXH20>CXH1F,CXH20,0),14,1);
CXH23:=CXH21*100/CXH1E;
CXH24:=CXH22*100/CXH1E;
CXH25:=SMA(ABS(CXH24-CXH23)/(CXH24+CXH23)*100,14,1);
CXH26:=(CXH25+REF(CXH25,6))/2;
DRAWTEXT(CROSS(CXH13,50) AND CXH6>CXH7 AND CXH7>CXH8 AND CXH8>CXH9 AND CXH9>CXHA AND CXHA>CXHB AND CXHB>CXHC AND CXHC>CXHD AND 疯牛>CXHD AND CXH19>CXH1A AND CXH1A>CXH1B AND CXH1B>-100 AND CXH1C>-20 AND CXH1D>-20 AND -30>CXH18 AND CXH18>CXH17 AND CXH23>CXH25 AND CXH25>CXH26 AND CXH26>CXH24,年线,'宝典'),coloryellow;
DRAWTEXT(CROSS(CXH13,200) AND CXH6>CXH7 AND CXH7>CXH8 AND CXH8>CXH9 AND CXH9>CXHA AND CXHA>CXHB AND CXHB>CXHC AND CXHC>CXHD AND CXHD>年线 AND 年线>CXH10 AND CXH19>CXH1A AND CXH1A>CXH1B AND CXH1B>-100 AND CXH1C>-20 AND CXH1D>-20 AND CXH23>CXH25 AND CXH25>CXH26 AND CXH26>CXH24,年线,'疯牛'),coloryellow;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容