买卖线源码
原理解析:
输出买线:收盘价的3日指数移动平均
输出卖线:收盘价的21日线性回归斜率*20+收盘价的55日指数移动平均
当满足条件(买线-卖线)>=0时,在(买线-(买线-卖线)*0.05)和(买线-(买线-卖线)*0.15)位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR00FFFF
当满足条件(买线-卖线)>=0时,在(买线-(买线-卖线)*0.2)和(买线-(买线-卖线)*0.35)位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR00CCFF
当满足条件(买线-卖线)>=0时,在(买线-(买线-卖线)*0.4)和(买线-(买线-卖线)*0.55)位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR0099FF
当满足条件(买线-卖线)>=0时,在(买线-(买线-卖线)*0.6)和(买线-(买线-卖线)*0.75)位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR0066FF
当满足条件(买线-卖线)>=0时,在(买线-(买线-卖线)*0.8)和(买线-(买线-卖线)*0.95)位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR0000CC
当满足条件(买线-卖线)=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;
TIPTEXT(ISNULL(REFX(CLOSE,1)),0, ),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,);