通达信BS买卖点+所属行业及概念信息主图指标公式

通达信改编的金银山主图指标公式

通达信BS买卖点+所属行业及概念信息主图指标公式:

VAR1:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));

VAR2:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));

VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34));

DIR1:=Abs(CLOSE-REF(CLOSE,5));

VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);

stICKLINE(VAR2<MA(VAR3,6),LOW,HIGH,0,1);

STICKLINE(VAR2>MA(VAR3,6),LOW,HIGH,0,1),COLORRED;

STICKLINE(((OPEN>CLOSE)AND(VAR2<MA(VAR3,6))),(CLOSE-0.03),OPEN,2.9,0),COLORCYAN;

STICKLINE(((OPEN<CLOSE)AND(VAR2<MA(VAR3,6))),CLOSE,OPEN,2.9,1),COLORCYAN;

STICKLINE(((OPEN>CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,(CLOSE-0.03),2.9,0),COLORRED;

STICKLINE(((OPEN<CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,CLOSE,2.9,1),COLORRED;

DRAWICON(crOSS(VAR2,MA(VAR3,2)),(LOW-(LOW*0.02)),7);

DRAWICON(CROSS(MA(VAR3,2),VAR1),(HIGH+(HIGH*0.02)),8);

DRAWTEXT_FIX(1,0.50,0,0,' 所属行业:')COLOR0080FF;

DRAWTEXT_FIX(1,0.56,0,0, HYBLOCK)COLORWHITE;

DRAWTEXT_FIX(1,0.62,0,0,' 所属概念:')COLORRED;

DRAWTEXT_FIX(1,0.68,0,0, GNBLOCK)COLOR00FFFF;

DRAWTEXT_FIX(1,0.92,0,0,' 流通盘:')COLORBLUE;

DRAWTEXT_FIX(1,0.96,0,0, CON2STR(CAPITAL/1000000,2))COLOR00FFFF;

通达信最佳启动指标公式