原来K线还可以这样写?给大家提供一种思路!另类K线涨跌趋势分明,自己动脑筋加一点作料吧。
{玩股神K线}
WGH:=MA(H,4);WGO:=MA(O,4);WGL:=MA(L,4);WGC:=MA(C,4);
DRAWKLINE(WGH,WGO,WGL,WGC);
STICKLINE(WGO>=WGC,WGO,WGC,4,0 ),COLOR990000;
STICKLINE(WGO>=WGC,WGO,WGC,3,0 ),COLORCC0000;
STICKLINE(WGO>=WGC,WGO,WGC,2.5,0 ),COLORFF4400;
STICKLINE(WGO>=WGC,WGO,WGC,1.5,0 ),COLORFF8800;
STICKLINE(WGO>=WGC,WGO,WGC,0.9,0 ),COLORFFCC00;
STICKLINE(WGO>=WGC,WGO,WGC,0.3,0 ),COLORCYAN;
STICKLINE(WGO<WGC,WGO,WGC,4,0 ),COLOR000055;
STICKLINE(WGO<WGC,WGO,WGC,3,0 ),COLOR000077;
STICKLINE(WGO<WGC,WGO,WGC,2.5,0 ),COLOR000099;
STICKLINE(WGO<WGC,WGO,WGC,1.5,0 ),COLOR0000BB;
STICKLINE(WGO<WGC,WGO,WGC,0.9,0 ),COLOR0000DD;
STICKLINE(WGO<WGC,WGO,WGC,0.3,0 ),COLOR0000FF;