当前位置:牛股网 > 牛股宝 >

将主力进出副图改在主图上显示信息

  • 牛股宝
  • 2020-09-12 08:29
  • 牛股网

撰写标准:请教师将主力进出{白色网上穿黄色线并且在紫线以上时}副图改在主图上显示信息“主要添加”

副图源代码:

VAR1:=(CLOSE LOW HIGH)/3;

VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))

*VOL/100000/(HIGH-LOW),0);

VAR3:=EMA(VAR2,1);

JCS:VAR3;

JCM:MA(VAR3,12);

JCL:MA(VAR3,26);

选择股票

{白色网上穿黄色线并且在蓝紫色线以上时}

VAR1:=(CLOSE LOW HIGH)/3;

VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))

*VOL/100000/(HIGH-LOW),0);

VAR3:=EMA(VAR2,1);

JCS:=VAR3;

JCM:=MA(VAR3,12);

JCL:=MA(VAR3,26);

A1:=REF(JCS,2)>REF(JCS,1) AND REF(JCS,1)JCM AND JCM>JCL;

A3:=BETWEEN(JCS/JCM,1.01,1.001) AND NDAY(JCS,JCM,5);

XG:A1 AND A2 AND A3;

即,选择股票輸出数据信号在主图上显示信息

撰写方式:MA1:MA(CLOSE,5);

MA2:MA(CLOSE,10);

MA3:MA(CLOSE,20);

MA4:MA(CLOSE,60);

VAR1:=(CLOSE LOW HIGH)/3;

VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);

VAR3:=EMA(VAR2,1);

JCS:=VAR3;

JCM:=MA(VAR3,12);

JCL:=MA(VAR3,26);

A1:=REF(JCS,2)>REF(JCS,1) AND REF(JCS,1)<JCS;

A2:=JCS>JCM AND JCM>JCL;

A3:=BETWEEN(JCS/JCM,1.01,1.001) AND NDAY(JCS,JCM,5);

XG:=A1 AND A2 AND A3,LINETHICK0;

STICKLINE(XG,C,O,3,0),COLOR00FFFF;

STICKLINE(XG,L,H,0,0),COLOR00FFFF;

DRAWTEXT(XG,O*0.98,'主要添加'),COLORFF00FF;

  • 关注微信

相关文章

微信公众号