通达信2指标——黑马波段(主图)

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

上线:=SMA(C,6.5,1);

下线:=SMA(C,13.5,1);

上线1:=SMA(C,3,1);

下线1:=SMA(C,8,1);

STICKLINE(上线>下线,上线,下线,2,2),COLORRED,LINETHICK2;

STICKLINE(下线>上线,上线,下线,2,2),COLORGREEN,LINETHICK2;

DRAWTEXT(CROSS(上线,下线),LOW,'●

全仓买'),COLOR00FF00;

DRAWTEXT(CROSS(下线1,上线1),H,'◆

清仓'),COLORYELLOW;

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

UPR:=BBI+3*STD(BBI,13),LINETHICK2;

DWN:=BBI-3*STD(BBI,13);

安全:=MA(CLOSE,60),LINETHICK2;

LC:=REF(CLOSE,1);

RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

DRAWTEXT( CROSS(82,RSI) , HIGH,'◆

减仓') ,COLORFF9966,LINETHICK2;

A7:=(2*C+H+L)/4;

操作:MA(A7,5),LINETHICK2;

操作1:=MA(A7,5)*1.03,LINETHICK2;

操作2:=MA(A7,5)*0.97,LINETHICK2;

V AR1:LLV(A7,21);

V AR0:HHV(A7,21);

SK:=EMA((A7-V AR1)/(V AR0-V AR1)*100,7);

SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);

DRAWTEXT(IF(COUNT(CLOSE6/10 AND VOL>=1.5*MA(VOL,5) AND

COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'●

买进') ,COLOR0099FF;

DRAWTEXT(IF(COUNT(CLOSE6/10 AND

COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW*0.98,'●

买进') ,COLORYELLOW;

D:=MA(CLOSE,80)-MA(CLOSE,10)/3;

DRAWTEXT(IF(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08

AND CLOSE

抄底'),COLORYELLOW;

V AR12:=((VOL / CAPITAL) * 100);

V AR15:=HHVBARS(HIGH,50);

V AR17:=(((CLOSE - REF(OPEN,V AR15)) / REF(OPEN,V AR15)) * 100);

V AR22:=(REF(CLOSE,2) * 0.865);

V AR23:=(REF(CLOSE,13) * 0.772);

V AR24:=MIN(V AR22,V AR23);

超跌反弹:=(IF((((((CLOSE - V AR24) / CLOSE) < 0.03) AND (V AR17 < (0 - 35))) AND ((SUM(V AR12,5) / 5) < 1.8)),1,0) * 5);

DRAWTEXT(超跌反弹,L,'♂'),COLORRED;

V AR2:=C<0.98*REF(C,1);

V AR3:=O

V AR4:=(C-REF(C,1))/REF(C,1)*100;

V AR5:=(C-REF(O,29))/REF(O,29)*100;

V AR6:=MA(COST(22)/L,3);

成功率99:=V AR6>1.5 AND V AR4>5 AND V AR5<-30;

DRAWTEXT(成功率99>0 AND REF(成功率99,1)=0,L,'↑99%'),COLORRED;

仓:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);

仓1:=INDEXC;

仓2:=MA(仓1,5);

仓3:=MA(仓1,20);

仓4:=MA(仓1,30);

B2:=仓2>仓1*1.03 AND 仓3>仓1*1.13;

操盘手:=仓<6 AND B2;

DRAWTEXT(操盘手,L,'仓'),COLORRED;

底1:=IF((((((EMA(CLOSE,5) / EMA(EMA(CLOSE,9),16)) <= 0.85) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),50,0);

底2:=((0 - ((100 * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34)))) + 100);

底3:=((0 - ((100 * (HHV(HIGH,50) - CLOSE)) / (HHV(HIGH,50) - LLV(LOW,50)))) + 100); 底:=((0 - ((100 * (HHV(HIGH,70) - CLOSE)) / (HHV(HIGH,70) - LLV(LOW,70)))) + 100);

底4:=(((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100) + 10) * 5);

底5:=(((((CLOSE - MA(CLOSE,50)) / MA(CLOSE,50)) * 100) + 10) * 5);

底6:=(((((CLOSE - MA(CLOSE,70)) / MA(CLOSE,70)) * 100) + 10) * 5);

S1:=((((((底2 + 底3) + 底) + 底4) + 底5) + 底6) / 6);

S2:=EMA(S1,3);

S3:=ABS((底4 - 底6));

S4:=((S1 + S3) / 2);

S5:=(((0 - 1) * (EMA((100 * (1 - WINNER(CLOSE))),1) - 50)) + 50);

S6:=(S5 + S4);

S7:=IF(((底1 > 0) AND (S6 < 0)),200,0);

S8:=IF((((((S4 < 0) AND (CLOSE = LLV(CLOSE,5))) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),(0 - 50),0);

S9:=IF(((S6 < 0) AND (S8 = (0 - 50))),100,0);

底C0:=(REF(CLOSE,2) * 0.865);

底C1:=(REF(CLOSE,13) * 0.772);

底C2:=MIN(底C0,底C1);

相关文档
最新文档