股票论坛

标题: 麻烦老师做个副图公式,谢谢!! [打印本页]

作者: 梦想起飞    时间: 2016-6-8 20:43
标题: 麻烦老师做个副图公式,谢谢!!
麻烦老师做个副图公式,不管k线趋势如何,一律以k线的中点为0轴,直线排列。谢谢!!
作者: 新人报道    时间: 2016-6-8 20:43
0,COLORYELLOW,DOTLINE;
阳:=C>O;
STICKLINE(阳,C-(O+C)/2,0,2.8,0)COLORRED;
STICKLINE(阳,O-(O+C)/2,0,2.8,0)COLORRED;
STICKLINE(阳,H-(O+C)/2,0,0,0)COLORRED;
STICKLINE(阳,L-(O+C)/2,0,0,0)COLORRED;
阴:=C<O;
STICKLINE(阴,(O+C)/2-O,0,2.8,0)COLORLIBLUE;
STICKLINE(阴,(O+C)/2-C,0,2.8,0)COLORLIBLUE;
STICKLINE(阴,L-(O+C)/2,0,0,0)COLORLIBLUE;
STICKLINE(阴,H-(O+C)/2,0,0,0)COLORLIBLUE;
板:=(C=O);
STICKLINE(板,0,0,2.8,0)COLORWHITE;
STICKLINE(板,L-O,0,0,0)COLORWHITE;
STICKLINE(板,H-O,0,0,0)COLORWHITE;





欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2