道氏理论 炒股 公式
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
道氏理论炒股公式之技术指标
1、CHDXT
CHDXT指标程序(大智慧),其中参数P 缺省255 最小102 最大255 。
{第一部分主力控盘}
A1:=EMA(EMA(CLOSE,P),5);
A2:=100*WINNER(CLOSE);
A3:=(A1-REF(A1,1))*400/REF(A1,1);
{散户行为}
STICKLINE( A3>REF(A3,1) AND A3<0, A3,0,8,1),COLORGREEN; STICKLINE( A3<REF(A3,1) AND A3<0, A3,0,8,0),COLORGREEN;
{主力开始控盘}
STICKLINE(A3>REF(A3,1) AND A3>0 ,A3,0,8,0),COLORRED;
{{主力高度控盘}
STICKLINE(A2>50 AND COST(85)<CLOSE AND A3>0,A3,0,8,0),COLORFF00FF;
{黄柱信号}
STICKLINE(A3<REF(A3,1) AND A3>0,A3,0,8,0),COLORYELLOW;
{第二部分趋势信号}
{动能}
V1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
V2:=IF(CLOSE<REF(CLOSE,1),-VOL,0);
V3:=V1+V2;
V4:=SUM(V3,P);
WPH0:=EMA(V4,5);
WPH1:=EMA(V4,17);
WPH2:=EMA(V4,102);
WPH3:=EMA(V4,255);
{道氏线}
CHD1:=EMA(CLOSE,17);
CHD2:=EMA(CLOSE,102);
CHD3:=EMA(CLOSE,255);
{开始}
{大趋势}
IF( A3>0 AND REF(CHD1,1)<REF(CHD3,1) AND CHD1>CHD3
AND CHD1>CHD2 AND WPH1>REF(WPH1,1) AND P=255,5,0),COLORRED;
DRAWTEXT( A3>0 AND REF(CHD1,1)<REF(CHD3,1) AND CHD1>CHD3 AND CHD1>CHD2 AND WPH1>REF(WPH1,1) AND P=255,3,'开始'),COLORRED;
{中趋势}
IF( A3>0 AND REF(CHD1,1)<REF(CHD2,1) AND CHD1>CHD2
AND CHD2<CHD3 AND WPH1>REF(WPH1,1)
AND P=102,5,0),COLORRED;
DRAWTEXT( A3>0 AND REF(CHD1,1)<REF(CHD2,1) AND CHD1>CHD2
AND CHD2<CHD3 AND WPH1>REF(WPH1,1)
AND P=102,3,'开始'),COLORRED;
{结束}
{中级趋势结束}
A00:=(REF(CHD1,1)>REF(CHD2,1) AND CHD1<CHD2 AND P=102 );
IF(FILTER(A00 ,1),0,5),COLORYELLOW;
DRAWTEXT(A00,5,'结束'),COLORYELLOW;
{大趋势结束}
A11:=(REF(CHD1,1)>REF(CHD3,1) AND CHD1<CHD3 AND P=255);
IF(FILTER(A11 ,1),0,5),COLORYELLOW;
DRAWTEXT(A11,5,'结束'),COLORYELLOW;
{第四部分警报信号}
{动能不足报警}
A22:=(A3>0 AND REF(WPH1,1)>REF(WPH2,1) AND WPH1<WPH2 );
IF(FILTER(A22 ,1),0,5),COLORYELLOW;
DRAWTEXT(A22,4,'能减!'),COLORYELLOW;
A33:=(A3>0 AND REF(WPH1,1)>REF(WPH3,1) AND WPH1<WPH3 );
IF(FILTER(A33 ,1),0,5),COLORYELLOW;
DRAWTEXT(A33,3,'能减!!'),COLORYELLOW;
{趋势信号交易程序}
C1:=ZIG(3,15);
C2:=ZIG(3,35);
C3:=ZIG(3,70);
C33:=ZIG(3,85);
C4:=ZIG(3,150);
{追随大趋势}
{大趋势开始}
{建仓:跌幅>70%}
C5:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C3,2)>REF(C3,1)
AND REF(C1,1)<C1 AND REF(C2,1)<C2 AND REF(C3,1)<C3
AND ( REF(C3,1)>REF(C33,1) OR REF(C3,1)<REF(C33,1) ) );
IF( C5,5,0),COLORGREEN;
DRAWTEXT( C5,3,'建仓!!'),COLORRED;
DRAWTEXT( C5,1,'大底'),COLORRED;
{鉄底建仓:绝对底部跌幅>85%}
C55:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1) AND REF(C3,2)>REF(C3,1) AND REF(C33,2)>REF(C33,1)
AND REF(C3,1)=REF(C33,1) AND REF(C1,1)<C1 AND REF(C2,1)<C2
AND REF(C3,1)<C3 AND REF(C33,1)<C33 );
IF( C55,5,0),COLORGREEN;
DRAWTEXT( C55,3,'建仓!!'),COLORRED;
DRAWTEXT( C55,1,'鉄底'),COLORRED;
{高抛低吸}
{高抛}
C6:=( REF(C1,2)<REF(C1,1) AND REF(C1,1)>C1
AND ( REF(C1,1)>REF(C2,1) OR REF(C1,1)<REF(C2,1) ) );
IF(FILTER(C6,1),0,5),COLORFF00FF;
DRAWTEXT(C6,4,'高抛'),COLORYELLOW;
{低吸}
C7:=( REF(C1,2)>REF(C1,1) AND REF(C1,1)<C1
AND ( REF(C1,1)>REF(C2,1) OR REF(C1,1)<REF(C2,1) ) );
IF( C7,5,0),COLORGREEN;
DRAWTEXT( C7,3,'低吸'),COLORRED;
{规避次级调整风险}
{减仓}
C8:=( ( REF(C2,2)<REF(C2,1) AND REF(C2,1)>C2
AND ( REF(C2,1)>REF(C3,1) OR REF(C2,1)<REF(C3,1)) ) OR ( REF(C3,2)<REF(C3,1) AND REF(C3,1)>C3
AND ( REF(C3,1)>REF(C4,1) OR REF(C3,1)<REF(C4,1)) )); IF(FILTER(C8,1),0,5),COLORFF00FF;
DRAWTEXT(C8,3,'次级调整'),COLORYELLOW; DRAWTEXT(C8,4,'减仓'),COLORYELLOW;
{加仓}
C9:=( REF(C2,2)>REF(C2,1) AND REF(C2,1)<C2
AND ( REF(C2,1)>REF(C3,1) OR REF(C2,1)<REF(C3,1) ) ); IF( C9,5,0),COLORRED;
DRAWTEXT( C9,3,'加仓'),COLORRED;
DRAWTEXT( C9,1,'中底'),COLORRED;
{大趋势结束}
{熊期风险}
C10:=( REF(C4,2)<REF(C4,1) AND REF(C4,1)>C4 );
IF(FILTER(C10,1),0,5),COLORFF00FF;
DRAWTEXT(C10,4,'清仓!!'),COLORYELLOW; DRAWTEXT(C10,2,'进入熊期'),COLORYELLOW;
{有效突破横盘255天}
VV1:=EMA(VOL,5);
VV2:=VOL/REF(VV1,1)>2;
PZ1:=EMA(CLOSE,255);
PZ2:=HHV(HIGH,255);
PZ3:=LLV(LOW,255);
PZ4:=(PZ2-PZ1)/PZ1;
PZ5:=(PZ1-PZ3)/PZ1;
PZ:=(REF(PZ4,1)<0.20 AND REF(PZ5,1)<0.20);
TP:=(HIGH=PZ2);
C11:=(VV2 AND PZ AND TP);
IF( C11,5,0),COLORBLUE;
DRAWTEXT( C11,4.5,'突破前高'),COLORYELLOW;
DRAWTEXT( C11,2,'255天'),COLORYELLOW;
{有效突破横盘150天}
PZ11:=EMA(CLOSE,150);
PZ21:=HHV(HIGH,150);
PZ31:=LLV(LOW,150);
PZ41:=(PZ2-PZ1)/PZ1;
PZ51:=(PZ1-PZ3)/PZ1;
PZZ1:=(REF(PZ41,1)<0.50 AND REF(PZ51,1)<0.50);
TPP1:=(HIGH=PZ21);
C12:=(VV2 AND PZZ1 AND TPP1 AND HIGH<PZ2);
IF( C12,5,0),COLORBLUE;
DRAWTEXT( C12,4.5,'突破前高'),COLORYELLOW;
DRAWTEXT( C12,2,'150天'),COLORYELLOW;
{有效突破横盘90天}
PZ12:=EMA(CLOSE,90);
PZ22:=HHV(HIGH,90);
PZ32:=LLV(LOW,90);
PZ42:=(PZ2-PZ1)/PZ1;
PZ52:=(PZ1-PZ3)/PZ1;
PZZ2:=(REF(PZ41,1)<0.50 AND REF(PZ51,1)<0.50);
TPP2:=(HIGH=PZ21);
C13:=(VV2 AND PZZ1 AND TPP1 AND HIGH<PZ21 );
IF( C13,5,0),COLORBLUE;
DRAWTEXT( C13,4.5,'突破前高'),COLORYELLOW;
DRAWTEXT( C13,2,'90天'),COLORYELLOW;
——————说有程序文字说明,即带{}的在同花顺中去掉{}加上;表示或者直接在程序中删除说明文字
2、名称:WPH(0)((大智慧))
描述:短线投资参考在(分时)附图中
V1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
V2:=IF(CLOSE<REF(CLOSE,1),-VOL,0);
V3:=SUM(V1+V2,0);
WPH1:EMA(V3,17);
WPH2:EMA(V3,102);
WPH3:EMA(V3,255);
资金柱:MA(V3,5),COLORSTICK;
名称:WPH
其中参数P 缺省255 最小 1 最大9999,步长1 。
V1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
V2:=IF(CLOSE<REF(CLOSE,1),-VOL,0);
V3:=SUM(V1+V2,P);
WPH1:EMA(V3,17);
WPH2:EMA(V3,102);
WPH3:EMA(V3,255);
资金柱:MA(V3,5),COLORSTICK;
3、指标名称:ZJLX(资金流向拼音首字母)。
指标程序(大智慧):CLOSE*100/10000,0);
V2:=IF(C<REF(C,1) AND C=O AND O=H AND H=L,-VOL*CLOSE*100/10000,0);
V3:=SUM(V0+V1+V2,3);
ZJ:=EMA(V3,4);
资金平衡线:0;
短线资金:ZJ,COLORFF00FF;
ZJ0:=EMA(V3,10);
长线资金:ZJ0,COLORFFFFFF;
{短线操作}
{清仓信号}
Z1:=REF(ZJ,1)>REF(ZJ,2) AND ZJ<REF(ZJ,1);
DRAWTEXT(Z1,ZJ,'-'),coloryellow;
{资金}
V0:=IF(C=O AND O=H AND H=L,0,(C-O)/(H-L)*VOL*CLOSE*100/10000);
V1:=IF(C>REF(C,1) AND C=O AND O=H AND H=L,VOL*
{建仓信号}
Z2:=REF(ZJ,1)<=REF(ZJ,2) AND ZJ>REF(ZJ,1) ;
DRAWTEXT(Z2,ZJ,'+'),colorred;
{空格};
描述:指标程序分为“资金”和“交易信号”两部分。
以上涨成交金额和下跌成交金额衡量资金变化方向,也即上涨成交金额定义为资金流入,下跌成交金额定义为资金流出。
上涨成交金额减去下跌成交金额为资金进出净值。
如果差为负值,表明资金流出;如果差为正值,表明资金净流入。
以4个交易日的累计资金净值的4天和51天指数平滑移动平均线分别描述短期资金和长期变化情况,也即ZJ为短期资金曲线,ZJ0为长期资金曲线。
并以“0”线为资金平衡线。
当ZJ和ZJ0曲线运行在平衡线上时,标志短期资金或长期资金净流入;当ZJ和ZJ0曲线运行在平衡线下时,标志短期或长期资金净流出。
4、名称FJQ
描述:势能指标
参数:P 缺省值102 最小值102 最大值9999 步长1
A:=(EMA(CLOSE,17)-EMA(CLOSE,P))/EMA(CLOSE,P); 势能柱:EMA(A,5),COLORSTICK;
FJQ1:EMA(A,5);
FJQ2:EMA(A,17);
5、名称:CHD
参数:P1 缺省17 最小1 最大9999 步长1
P2 缺省102 最小1 最大9999 步长1
P3 缺省255 最小1 最大9999 步长1 CHD1:EMA(CLOSE,P1);
CHD2:EMA(CLOSE,P2);
CHE3:EMA(CLOSE,P3);
《超级短炒特技》首个指标:
公式名称:YHY(P)——阴后阳交易信号指标
参数设置:
P参数取值:最大10 最小1 缺省3 步长1
YHY指标程序如下,请使用复制编制指标。
B:=BARSCOUNT(CLOSE);
K线总数:B;
{阴后阳K线--昨收价小于昨开价且收盘价大于开盘价}
TJ1:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;
B1:=SUM(TJ1,0);
{阴后阳K:B1;}
{连涨概率}
TJ11:=REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1)
AND CLOSE>REF(CLOSE,1);
B11:=SUM(TJ11,0);
连涨概率:B11*100/B1;
{最高价大于昨收价--可盈利K线}
TJ2:=REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1)
AND H>REF(CLOSE,1);
B12:=SUM(TJ2,0);
{可盈K线数:B12;}
{可盈概率:B12*100/B1;}
{风险度}
B13:=CEILING(100*(B1-B12)/B1);
风险度:B13;
{特定K线买入模式-收盘价买入}
{特定K线--阴后收阳柱体相对涨幅大于P%}
TJ3:=(REF(CLOSE,1)<REF(OPEN,1) AND (CLOSE-OPEN)*100/OPEN>P);
B2:=SUM(TJ3,0);
特K:B2;
{以收盘价买入盈利K线数}
TJ4:=REF(CLOSE,2)<REF(OPEN,2)
AND (REF(CLOSE,1)-REF(OPEN,1))/REF(OPEN,1)*100>P AND H>REF(CLOSE,1); B21:=SUM(TJ4 ,0);
特K风险度:CEILING(100*(B2-B21)/B2);
{标示特K}
IF(TJ3 ,B,0),COLORYELLOW;
DRAWTEXT(TJ3,B*3/4,'特K '),COLORRED;
{需止损K线1--最低价小于开盘价、小于昨收价上涨K线} TJ5:= L<OPEN AND L<REF(CLOSE,1) AND C>REF(C,1);
E11:=SUM(TJ5,0);
{需止损K线2--阳后阴K线}
TJ6:=REF(C,1)>REF(C,2) AND C<REF(C,1);
E12:=SUM(TJ6,0);
{止损K线总数}
E13:=E11+E12;
{止损K线数:E13;}
{平均止损率-最大跌幅平均数}
D21:=IF(TJ5 OR TJ6 ,(REF(CLOSE,1)-L)/REF(CLOSE,1),0); E21:=SUM(D21,0);
平均止损率:E21*100/E13;
{超跌反弹特K}
{ZIG之字底}
C1:=ZIG(3,10);
C2:=ZIG(3,20);
C3:=ZIG(3,30);
C4:=ZIG(3,50);
C5:=ZIG(3,65);
C6:=ZIG(3,80);
{回调10%}
C41:=( REF(C1,2)>REF(C1,1) AND REF(C1,1)<C1
AND ( REF(C1,1)>REF(C2,1) OR REF(C1,1)<REF(C2,1) ) AND ( REF(C1,1)>REF(C3,1) OR REF(C1,1)<REF(C3,1) ) AND ( REF(C1,1)>REF(C4,1) OR REF(C1,1)<REF(C4,1) ) AND ( REF(C1,1)>REF(C5,1) OR REF(C1,1)<REF(C5,1) ) AND ( REF(C1,1)>REF(C6,1) OR REF(C1,1)<REF(C6,1) ));
IF(C41 ,B,0),COLORFF00FF;
DRAWTEXT(C41,B*3/4,'特K '),COLORFF00FF; DRAWTEXT(C41,B*2/4,'回调'),COLORFF00FF; DRAWTEXT(C41,B*1/4,'10%'),COLORFF00FF;
{回调20%}
C42:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C1,1)=REF(C2,1) AND REF(C2,1)<C2
AND ( REF(C2,1)>REF(C3,1) OR REF(C2,1)<REF(C3,1) )
AND ( REF(C2,1)>REF(C4,1) OR REF(C2,1)<REF(C4,1) )
AND ( REF(C2,1)>REF(C5,1) OR REF(C2,1)<REF(C5,1) )
AND ( REF(C2,1)>REF(C6,1) OR REF(C2,1)<REF(C6,1) ) );
IF(C42 ,B,0),COLORYELLOW;
DRAWTEXT(C42,B*3/4,'特K '),COLORYELLOW;
DRAWTEXT(C42,B*2/4,'回调'),COLORYELLOW;
DRAWTEXT(C42,B*1/4,'20% '),COLORYELLOW;
{回调30%}
C43:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C3,2)>REF(C3,1) AND REF(C1,1)=REF(C2,1) AND REF(C2,1)=REF(C3,1) AND REF(C1,1)<C1 AND REF(C2,1)<C2 AND REF(C3,1)<C3
AND ( REF(C3,1)>REF(C4,1) OR REF(C3,1)<REF(C4,1) )
AND ( REF(C3,1)>REF(C5,1) OR REF(C3,1)<REF(C5,1) )
AND ( REF(C3,1)>REF(C6,1) OR REF(C3,1)<REF(C6,1) ) );
IF(C43 ,B,0),COLORRED;
DRAWTEXT(C43,B*3/4,'特K '),COLORRED;
DRAWTEXT(C43,B*2/4,'回调'),COLORRED;
DRAWTEXT(C43,B*1/4,'30% '),COLORRED;
{回调50%}
C44:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C3,2)>REF(C3,1) AND REF(C4,2)>REF(C4,1)
AND REF(C1,1)=REF(C2,1) AND REF(C2,1)=REF(C3,1) AND REF(C3,1)=REF(C4,1) AND REF(C1,1)<C1 AND REF(C2,1)<C2 AND REF(C3,1)<C3 AND REF(C4,1)<C4 AND ( REF(C4,1)>REF(C5,1) OR REF(C4,1)<REF(C5,1) )
AND ( REF(C4,1)>REF(C6,1) OR REF(C4,1)<REF(C6,1) ) );
IF(C44 ,B,0),COLORRED;
DRAWTEXT(C44,B*3/4,'特K '),COLORRED;
DRAWTEXT(C44,B*2/4,'回调'),COLORRED;
DRAWTEXT(C44,B*1/4,'50% '),COLORRED;
{回调65%}
C45:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C3,2)>REF(C3,1) AND REF(C4,2)>REF(C4,1) AND REF(C5,2)>REF(C5,1) AND REF(C1,1)=REF(C2,1) AND REF(C2,1)=REF(C3,1)
AND REF(C3,1)=REF(C4,1) AND REF(C4,1)=REF(C5,1)
AND REF(C1,1)<C1 AND REF(C2,1)<C2 AND REF(C3,1)<C3
AND REF(C4,1)<C4 AND REF(C5,1)<C5
AND ( REF(C5,1)>REF(C6,1) OR REF(C5,1)<REF(C6,1) ));
IF(C45 ,B,0),COLORRED;
DRAWTEXT(C45,B*3/4,'特K '),COLORRED;
DRAWTEXT(C45,B*2/4,'回调'),COLORRED;
DRAWTEXT(C45,B*1/4,'65% '),COLORRED;
{回调80%}
C46:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1) AND REF(C3,2)>REF(C3,1)
AND REF(C4,2)>REF(C4,1) AND REF(C5,2)>REF(C5,1) AND REF(C6,2)>REF(C6,1) AND REF(C1,1)=REF(C2,1) AND REF(C2,1)=REF(C3,1) AND REF(C3,1)=REF(C4,1)
AND REF(C4,1)=REF(C5,1) AND REF(C5,1)=REF(C6,1)
AND REF(C1,1)<C1 AND REF(C2,1)<C2 AND REF(C3,1)<C3
AND REF(C4,1)<C4 AND REF(C5,1)<C5 AND REF(C6,1)<C6 );
IF(C46 ,B,0),COLORRED;
DRAWTEXT(C46,B*3/4,'特K '),COLORRED;
DRAWTEXT(C46,B*2/4,'回调'),COLORRED;
DRAWTEXT(C46,B*1/4,'80% '),COLORRED;
{空}
说明:1.此公式应用于《大智慧》;程序中的“ISUP"和"ISDOWN"函数为大智慧专用。
2.参数P为K“特K”实体涨幅百分比,可自行调整。
一般取3。
对于“超级反弹特K”则可取3以下也行。
3.所有“特K”信号都是阴后阳K线。
“特K”信号分为三种:一种为普通“特K”,第二种为“超跌反弹特K”,第三种为“调整上涨特K”。
所有“特K”都是买入客观依据。
4.使用分时图操作。
把WPH(0)动能指标设置为分时图指标。
买入时点一:分时动能“分级增长”——动能柱红色,三线换位,一级高于一级。
买入时点二:尾盘买入。
即收盘前几分钟买入,或收盘价买入。
5.买入后持股时间2-3天,最长不超过5天。
买入当日盈利,不管次日是涨还是跌,必须保证账户不亏本。
故“保盈清仓”和“保本清仓”就成为“卖出”的指令,坚决执行。
如果次日股价起伏变动,当分时线下穿均线时“保盈清仓”;
如果次日“开市就跌”,分时线运行在均线之下,开市“保盈清仓”;
如果次日股指呈上涨态势(不管低开还是高开),分时线一直运行在均线之上,持有。
如果次日跳空低开低走,严格执行“止损清仓”。
6.止损:止损标准2%;
7.止盈:止盈标准3%;
道氏理论炒股公式之选股公式
1、名称:WPHJC 动能金叉选股
参数N 缺省值255 最小值102 最大值255 步长1
V1:=IF(CLOSE>REF(CLOSE,1),VOL,O);
V2:=IF(CLOSE<REF(CLOSE,1),-VOL,0);
V3:=SUM(V1+V2,N);
B1:=EMA(V3,17);
B2:=EMA(V3,102);
B3:=EMA(V3,255);
CROSS(B1,B2) OR CROSS(B1,B3) OR CROSS(B2, B3);
2、名称:WPHDB 动能底部选股
参数P 缺省值255 最小值17 最大值255 步长1
V1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
V2:=IF(CLOSE<REF(CLOSE,1),-VOL,0);
V3:=SUM(V1+V2,P);
V4:=MA(V3,5);
(REF(V4,5)<0 AND V4>0) OR V4<0;
3、名称:JPQXF 势能指标选股
A:=(EMA(CLOSE,17)-EMA(CLOSE,255))/EMA(CLOSE,255);
B:=EMA(A,5);
B1:=EMA(A,17);
CROSS(B,B1) OR ((REF(B,5)<0 AND B>0));
4、名称:CHDJC 道氏金叉选股
A1:=EMA(CLOSE,17);
A2:=EMA(CLOSE,102);
A3:=EMA(CLOSE,255);
CROSS(A1,A2) OR CROSS(A1,A3) OR CROSS(A2,A3);
5、ZIG(之字转弯)选股,是变动后的CHDXT指标选股。
书中的CHDXT指标没有“建仓-大底”和“加仓-中底”信号。
变动后的CHDXT选股公式如下:
{底部}
C1:=ZIG(3,15);
C2:=ZIG(3,35);
C3:=ZIG(3,70);
C33:=ZIG(3,85);
C4:=( ( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C3,2)>REF(C3,1) AND REF(C1,1)=REF(C2,1) AND REF(C2,1)=REF(C3,1) AND REF(C1,1)<C1 AND REF(C2,1)<C2 AND REF(C3,1)<C3 ))
OR (( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1) AND
REF(C3,2)>REF(C3,1)
AND REF(C33,2)>REF(C33,1)AND REF(C1,1)=REF(C2,1) AND
REF(C2,1)=REF(C3,1)
AND REF(C3,1)=REF(C33,1) AND REF(C1,1)<C1 AND REF(C2,1)<C2
AND REF(C3,1)<C3 AND REF(C33,1)<C33 ));
IF( C4,5,0);
该公式必须结合变动后的CHDXT指标使用。
本帖中我复制的CHDXT就是变动后的CHDXT指标。
程序中含有“建仓-大底”和“加仓-中底”信号。