源码

Var1:=(EMA(close,13)+EMA(Open,13)+EMA(HIGH,13)+EMA(LOW,13))/4;
Var2:=(H+L+O+C)/4;
Var3:=Ema(var2/var1,5)*10;
Var4:=(EMA(INDEXC,13)+EMA(INDEXO,13)+EMA(INDEXH,13)+EMA(INDEXL,13))/4;
Var5:=(INDEXC+INDEXO+INDEXH+INDEXL)/4;
Var6:=Ema(Var5/Var4,5)*10;
var7:=var3-var6;
STICKLINE(ref(var7,1)>=0,0,var7*100,7,0),color1010FF;
STICKLINE(ref(var7,1)>=0,0,var7* 80,7,0),color1070FF;
STICKLINE(ref(var7,1)>=0,0,var7* 60,7,0),color1099FF;
STICKLINE(ref(var7,1)>=0,0,var7* 40,7,0),color10BAFF;
STICKLINE(ref(var7,1)>=0,0,var7* 20,7,0),color10D7FF;

STICKLINE(var7< 0,0,var7*100,7,0),color10FF10;
STICKLINE(var7< 0,0,var7* 80,7,0),COLOR33CC00;
STICKLINE(var7< 0,0,var7* 60,7,0),COLOR339900;
STICKLINE(var7< 0,0,var7* 40,7,0),COLOR337700;
STICKLINE(var7< 0,0,var7* 20,7,0),COLOR005500;
个股参数:Var3*50-500,COLORccffff;
大盘参数:Var6*50-500,COLOR99ff00;
对应之差:个股参数 – 大盘参数,,POINTDOT,COLOR0077ff;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。