通达信星星点灯指标公式
2020/4/28 18:23:30
VO:=(AMOUNT/CAPITAL)/100;{流通盘的资金比例}
ZC:REF(C,1)*VO,NODRAW;{昨天收盘价与资金累积}
JC:C*VO,DOTLINE,COLORWHITE;{今天收盘价与资金累积,收盘前系动态}
FZ:=ZC+ZC*0.1,DOTLINE,COLORLIRED;{今天最高涨幅,收盘前系动态}
FJ:=ZC-ZC*0.1,DOTLINE,COLORGREEN;{今天最低跌幅,收盘前系动态}
ZH:=FZ;{最高价K线赋值}
ZL:=FJ;{迷糊鱼2010编写}{最低价K线赋值}
STICKLINE(JC>ZC,ZC,JC,2.5,0),COLORRED;
STICKLINE(JC>ZC,ZC,JC,0.6,0),COLORCC66FF;
STICKLINE(JC<ZC,ZC,JC,2.5,0),COLORFF6600;
STICKLINE(JC<ZC,ZC,JC,0.6,0),COLORFF9900;
STICKLINE(JC>=ZC,ZL,ZH,0.00001,0),COLORRED;
STICKLINE(JC<ZC,ZL,ZH,0.00001,0),COLORFF9900; {K线}
M1:MA(JC,2),COLORCYAN;
M2:MA(JC,18),COLORWHITE;
M3:MA(JC,43),COLORLIRED;{均价};
投股 票网 www.tou1 8.cn
股市公式下载推荐