[通达信电脑版] 摸白金主图优化版主图指标+金拐杖副图指标

[复制链接]
查看88175 | 回复0 | 2021-3-4 23:11:07 | 显示全部楼层 |阅读模式

摸白金主图优化版主图指标+金拐杖副图指标

摸白金主图优化版主图指标+金拐杖副图指标


摸白金主图优化版指标(  M---摸  白—白线   金-金柱!  )

M:DRAWLINE(L=TROUGH(2 ,10,1 ) ,L ,H=PEAK(1 ,10,1 ) ,H-(PEAK(1 ,10,1 )-TROUGH(2,10,1 ))/3*2 ,1 ),COLORFF00FF,LINETHICK2;
VAR5:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))*100;
做空资金: SMA(VAR5,6,1)-7,NODRAW;
VAR6:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,13)-LLV(LOW,13))*100;
做多资金: SMA(VAR6,8,1)-2,LINETHICK2,NODRAW;
周D:"KDJ.D"(27,3,3),NODRAW;
角度:=ATAN((MA(周D,10)/REF(MA(周D,10),1)-1)*100)*180/3.1416,NODRAW;
LL:=CROSS(角度,做空资金);
DRAWTEXT(LL,L*0.99,'拐点'),COLOR00FFFF;

DRAWTEXT_FIX(ISLASTBAR,0.1058,0,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1258,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1858,0,0,GNBLOCK),COLORYELLOW;
高:=REF(HHV(H,72),3);
顶:REFDATE(高,DATE),COLORYELLOW;

EEE:= C/REF(C,1)>1.0969;{涨停}
STICKLINE(EEE,CLOSE,OPEN,2,0),COLORRED;STICKLINE(EEE,H,L,0,0 ),COLORRED;{红K线}
VAR2:=CLOSE*VOL;
VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)
      +EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);
白线:1.06*VAR3,COLORWHITE,LINETHICK2;
MA4:MA(C,4),COLORWHITE,LINETHICK1;
MA24:MA(C,24), COLORGREEN,LINETHICK2;
IF(MA4>=REF(MA4,1),MA4,DRAWNULL),COLORRED,LINETHICK2;
C1:=C>=MA4;C2:=C<MA4;
DRAWICON(CROSS(C1,C2),L-0.2,1);
JJ:=(3*C+H+L+O)/6; VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
黄金柱:=(CLOSE,REF(CLOSE,BARSLAST(LJL)),REF(CLOSE,BARSLAST(LJL)),6,0);
WWW1:=C>MA(C,63);
黄金!:=C>黄金柱 AND WWW1 AND  (C>HHV(MA((LOW+HIGH+CLOSE)/3,5),60)) AND  (C>1.06*(EMA((EMA(CLOSE*VOL,3)/EMA(VOL,3)+EMA(CLOSE*VOL,6)/EMA(VOL,6)
      +EMA(CLOSE*VOL,12)/EMA(VOL,12)+EMA(CLOSE*VOL,24)/EMA(VOL,24))/4,13))) AND  C>REF(C,1);
DRAWTEXT(黄金!,C*1.01,'金柱!'),COLORYELLOW;
STICKLINE(LJL,OPEN,CLOSE,3,0),COLORYELLOW;
D:=72;
VAR33:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
VAR44:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
活筹OAMV: VAR33,NODRAW;
VAR24:=EMA(AMOUNT/VOL/100,5);
VAR25:=EMA(AMOUNT/VOL/100,13);
VAR26:=VAR24-VAR25;
势能: IF(1000*VAR26/VAR24>0,1000*VAR26/VAR24,0),NODRAW;
KKK:=CROSS(势能,活筹OAMV) AND C>REF(C,1);
DRAWTEXT(KKK,L*0.98,'涨在即'),COLORRED;
DRAWICON(CROSS(做多资金,活筹OAMV),L*0.98,5);


金拐杖副图 (金—金柱   拐—拐点  杖(涨)--涨在即 )

D:=72;
VAR3:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
VAR4:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
活筹OAMV: VAR3,COLORBLUE,LINETHICK2;
VAR24:=EMA(AMOUNT/VOL/100,5);
VAR25:=EMA(AMOUNT/VOL/100,13);
VAR26:=VAR24-VAR25;
势能: IF(1000*VAR26/VAR24>0,1000*VAR26/VAR24,0),COLORFF44FF,LINETHICK2;
KK:=CROSS(势能,活筹OAMV);
DRAWTEXT(KK,H*1.13,'涨在即'),COLORRED;
VAR1:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,13)-LLV(LOW,13))*100;
做多资金: SMA(VAR2,8,1)-2,LINETHICK2, COLORRED;
做空资金: SMA(VAR1,6,1)-7,NODRAW;
周D:"KDJ.D"(27,3,3),NODRAW;
角度:=ATAN((MA(周D,10)/REF(MA(周D,10),1)-1)*100)*180/3.1416,NODRAW;
LL:=CROSS(角度,做空资金);
DRAWTEXT(LL,做空资金,'拐点'),COLOR00FFFF;
DRAWICON(CROSS(做多资金,活筹OAMV),做多资金,5);
50,COLORWHITE;
JJ:=(3*C+H+L+O)/6; VAR11:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR11 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
黄金柱:=(CLOSE,REF(CLOSE,BARSLAST(LJL)),REF(CLOSE,BARSLAST(LJL)),6,0);
WWW1:=C>MA(C,63);
黄金!:=C>黄金柱 AND WWW1 AND  (C>HHV(MA((LOW+HIGH+CLOSE)/3,5),60)) AND  (C>1.06*(EMA((EMA(CLOSE*VOL,3)/EMA(VOL,3)+EMA(CLOSE*VOL,6)/EMA(VOL,6)
      +EMA(CLOSE*VOL,12)/EMA(VOL,12)+EMA(CLOSE*VOL,24)/EMA(VOL,24))/4,13))) AND  C>REF(C,1);
DRAWTEXT(黄金!,做多资金,'金柱!'),COLORYELLOW;

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则