合成5号短期底部指标 公式 源码[其他软件公式]
指标公式分析及使用参考说明:
该指标是基于股价的收盘价、最高价、最低价进行计算得出的。运算思路为先计算三者的平均值,然后作为参考点进行预测。其中,当明日股价的最高价大于参考点时,预测明日开盘价将会更高;当明日股价的最低价小于参考点时,预测明日最低价将会更低;当明日股价的收盘价在参考点附近波动时,预测明日的收盘价也不会有太大的变化。因此,建议在股价波动较为明显的时候使用该指标进行判断,并结合其他指标综合分析。
源码:
{合成5号}
CXH1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
CXH2:=SMA(CXH1,3,1);
CXH3:=SMA(CXH2,3,1);
CXH4:=3*CXH2-2*CXH3;
CXH5:=LLV(LOW,5);
CXH6:=HHV(HIGH,5);
CXH7:=EMA((CLOSE-CXH5)/(CXH6-CXH5)*100,4)*2;
CXH8:=EMA(0.667*REF(CXH7,1)+0.333*CXH7,2);
CXH9:=3*CXH7-2*CXH8;
CXHA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
CXHB:=POW(MA(LOW,5),2)+MA(LOW,5);
CXHC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
CXHD:=(CXHA-LLV(CXHB,64))/(HHV(CXHC,64)-LLV(CXHB,64))*150+65-10;
CXHE:=SMA(CXHD,3,1)*1.5-100;
CXHF:=SMA(CXHE,3,1);
CXH10:=3*CXHE-2*CXHF;
CXH11:=(HIGH+LOW+CLOSE*2)/4;
CXH12:=EMA(CXH11,13);
CXH13:=STD(CXH11,13);
CXH14:=(CXH11-CXH12)*100/CXH13;
CXH15:=EMA(CXH14,5);
CXH16:=EMA(CXH15,13);
CXH17:=EMA(CXH15,13)+200-100;
CXH18:=EMA(CXH17,10);
CXH19:=3*CXH17-2*CXH18;
CXH1A:=CXH2+CXH7+CXHE+CXH17;
CXH1B:=CXH3+CXH8+CXHF+CXH18;
CXH1C:=CXH4+CXH9+CXH10+CXH19;
CXH1D:=(HIGH+LOW+CLOSE)/3;
CXH1E:=AMOUNT/VOL/100;
CXH1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
CXH20:=(CXH1D-MA(CXH1D,34))/(0.015*AVEDEV(CXH1D,34));
CXH21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
CXH22:=(HIGH+LOW+CLOSE+CXH1D)/4;
CXH23:=EMA(CXH22,24);
CXH24:=STD(CXH22,24);
CXH25:=(CXH22-CXH23)/CXH24*100;
CXH26:=(CXH1D-MA(CXH1D,24))/(0.015*AVEDEV(CXH1D,24));
CXH27:=EMA(CXH25,5);
CXH28:=(CXH1E-MA(CXH1E,21))/(0.015*AVEDEV(CXH1E,21));
CXH29:=(CXH1F-MA(CXH1F,90))/(0.015*AVEDEV(CXH1F,90));
CXH2A:=((CXH29+CXH28+CXH27+CXH26+CXH20)/5+165)/4;
CXH2B:=(CXH1A+CXH1B+CXH1C*30)/32/5-15;
CXH2C:=(CXH2A+CXH2B)/2/1.1;
短线: CXH2C, , COLORGREEN;{http://www.cxh99.com}
MID: MA(短线,26), , COLORWHITE;
UPPER: MID+2*STD(短线,26);
LOWER: MID-2*STD(短线,26), , COLORFFFFFF;
IF(短线>MID,MID,短线), , COLORRED;
买点: DRAWICON(CROSS(短线,MID),MID*0.97,1);
DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3);
卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);
MID, , COLORYELLOW;
CXH1:=REF(CLOSE>0,1);
CXH2:=(SMA(MAX(CLOSE-CXH1,0),6,1))/(SMA(ABS(CLOSE-CXH1),6,1))*100;
短期顶部:CROSS(80,CXH2)*300,colorFF;
DRAWTEXT(CROSS(80,CXH2),300,'\n见\n顶 '),colorFFFF;
CXH3:=(SMA(MAX(CLOSE-CXH1,0),7,1))/(SMA(ABS(CLOSE-CXH1),7,1))*100;
CXH4:=(SMA(MAX(CLOSE-CXH1,0),13,1))/(SMA(ABS(CLOSE-CXH1),13,1))*100;
CXH5:=BARSCOUNT(CLOSE);
短期底部:=CXH3<20 AND CXH4<25 AND CXH5>50*300;
DRAWTEXT(CROSS(100,短期底部),300,'☆短底 '),colorFFFF;
AA:=(WINNER(CLOSE+CLOSE*15/100))*100;
BB:=(WINNER(CLOSE+CLOSE*0/100))*100;
CC:=AA-BB;
DD:=(WINNER(CLOSE-CLOSE*0.1/100)-(WINNER(CLOSE-CLOSE*15/100)))*100;
EE:=CC<3 AND DD<0.5 AND OPEN<>LOW;
A1:=DYNAINFO(6);
A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.02)/(HIGH-LOW+0.02)));
A3:=VOL/WINNER(LOW);
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
A6:=100*(CLOSE-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
A11:=IF(FILTER(A8,3),5,0);
A12:=IF(FILTER(A10,3) OR EE,10,0);
进场:STICKLINE(A11,0,88,5,0),colorFF00;
DRAWICON(A11,LOW,6);
STICKLINE(A11,0,5,5,0),colorFF7700;
STICKLINE(A11,0,5,4.5,0),colorFF8800;
STICKLINE(A11,0,5,4,0),colorFF9900;
STICKLINE(A11,0,5,3.5,0),colorFFAA00;
STICKLINE(A11,0,5,3,0),colorFFBB00;
STICKLINE(A11,0,5,2.5,0),colorFFCC00;
STICKLINE(A11,0,5,2,0),colorFFDD00;
STICKLINE(A11,0,5,1,0),colorFFEE00;
STICKLINE(A12,0,15,4.5,0),color102099;
STICKLINE(A12,0,15,4,0),color1020AA;
STICKLINE(A12,0,15,3.5,0),color1020BB;
STICKLINE(A12,0,15,3,0),color1020CC;
STICKLINE(A12,0,15,2.5,0),color1020DD;
STICKLINE(A12,0,15,2,0),color1020EE;
STICKLINE(A12,0,15,1,0),color1020FF;
DRAWTEXT(A11,8,'提\n前\n进\n场'),ALIGN4,colorFF;
短线强弱:=50;
CXH2:=IF(MONTH<12,1,1);
CXH3:=(2*CLOSE+HIGH+LOW)/4;
CXH4:=LLV(LOW,34);
CXH5:=HHV(HIGH,34);
主力:EMA((CXH3-CXH4)/(CXH5-CXH4)*100,13)*CXH2,LINETHICK3,colorFFFFFF;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);
DRAWTEXT(CROSS(主力,散户) AND 主力<22,20,'起\n动'),ALIGN0,PXUP10,color99FF;
DRAWICON(CROSS(主力,散户) AND 主力<22,25,1);
DRAWTEXT(CROSS(主力,30) AND 散户<主力,40,'上扬 '),ALIGN0,PXUP4,colorCCFF;
DRAWICON(CROSS(主力,30) AND 散户<主力,35,1);
DRAWTEXT(CROSS(主力,65) AND 散户<主力,55,'冲顶 '),ALIGN0,PXUP4,color9933FF;
DRAWICON(CROSS(主力,65) AND 散户<主力,70,2);
DRAWTEXT(CROSS(主力,75) AND 散户<主力,67,'小心\n被套'),ALIGN0,PXUP4,color9900;
DRAWICON(CROSS(主力,75) AND 散户<主力,80,2);
DRAWTEXT(CROSS(散户,主力) AND 散户>75,80,'头\n部'),ALIGN0,colorFFFF;
PT:=REF(HIGH,1)-REF(LOW,1);
DP:=(REF(HIGH,1)+REF(LOW,1)+REF(CLOSE,1)*2)/4;
AH:=DP+PT;
NH:=DP*2-REF(LOW,1);
CDP:=DP;
NL:=DP*2-REF(HIGH,1);
AL:=DP-PT;
EXPLAIN(1=1,'【逆势操作股价预测】'),colorFFFF;
EXPLAINEX(1=1,'最高: ',AH,2,0),colorFF;
EXPLAINEX(1=1,'近高: ',NH,2,0),colorFF33FF;
EXPLAINEX(1=1,'中间价: ',CDP,2,0);
EXPLAINEX(1=1,'近低: ',NL,2,0),colorFFFF00;
EXPLAINEX(1=1,'最低: ',AL,2,0),colorFF00;
EXPLAIN(1,'==================================='),colorFFFFFF;YWO:=MA(OPEN,5);EXPLAINEX(1,'预测明日最低:',KL,2,0),colorFFFF;
EXPLAINEX(1,'预测明日开盘:',KO,2,0),colorFFFFFF;
EXPLAINEX(1,'预测明日收盘:',KC,2,0),colorFF00;
EXPLAIN(1,'==================================='),colorFFFFFF;CXH011:=(CLOSE+HIGH+LOW)/3;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容