以下是通达信买卖频谱副图指标
通达信买卖频谱副图指标
源码
买线:EMA(C,3);
卖线:EMA(SLOPE(C,21)*20+C,55);
STICKLINE((买线-卖线)>=0,(买线-(买线-卖线)*0.05),(买线-(买线-卖线)*0.15),5,0),COLOR00FFFF;
STICKLINE((买线-卖线)>=0,(买线-(买线-卖线)*0.2),(买线-(买线-卖线)*0.35),5,0),COLOR00CCFF;
STICKLINE((买线-卖线)>=0,(买线-(买线-卖线)*0.4),(买线-(买线-卖线)*0.55),5,0),COLOR0099FF;
STICKLINE((买线-卖线)>=0,(买线-(买线-卖线)*0.6),(买线-(买线-卖线)*0.75),5,0),COLOR0066FF;
STICKLINE((买线-卖线)>=0,(买线-(买线-卖线)*0.8),(买线-(买线-卖线)*0.95),5,0),COLOR0000CC;
STICKLINE((买线-卖线)<0,(卖线+(买线-卖线)*0.05),(卖线+(买线-卖线)*0.15),5,0),COLOR006600;
STICKLINE((买线-卖线)<0,(卖线+(买线-卖线)*0.2),(卖线+(买线-卖线)*0.35),5,0),COLOR009900;
STICKLINE((买线-卖线)<0,(卖线+(买线-卖线)*0.4),(卖线+(买线-卖线)*0.55),5,0),COLOR00CC00;
STICKLINE((买线-卖线)<0,(卖线+(买线-卖线)*0.6),(卖线+(买线-卖线)*0.75),5,0),COLOR00FF00;
STICKLINE((买线-卖线)<0,(卖线+(买线-卖线)*0.8),(卖线+(买线-卖线)*0.95),5,0),COLOR66FF00;
评论(0)