同花顺——三才线副图源码
-
相关简介:N:=9;M:=13; KS:=(C-MA(C,N))/MA(C,N)*(-100); 三才线:EMA(MA(KS,3)/5+EMA(C,M),3),colorred; STICKLINE(C=三才线,C,O,8,0) ,color3366FF; STICKLINE(C三才线,C,O,8,0), colorgreen; STICKLINE(C=三才线,C,H,2,1),color3366FF; STICKLINE(C三才线,O,L,2,1),color3366FF; STICKLINE(C三才线
-
文章来源:股海网作者:股海网发布时间:2016-07-31浏览次数:
N:=9;M:=13;
KS:=(C-MA(C,N))/MA(C,N)*(-100);
三才线:EMA(MA(KS,3)/5+EMA(C,M),3),colorred;
STICKLINE(C>=三才线,C,O,8,0) ,color3366FF;
STICKLINE(C<三才线,C,O,8,0), colorgreen;
STICKLINE(C>=三才线,C,H,2,1),color3366FF;
STICKLINE(C>三才线,O,L,2,1),color3366FF;
STICKLINE(C<三才线,C,H,2,1),colorgreen;
STICKLINE(C<三才线,O,L,2,1),colorgreen;
PARTLINE(三才线,C>=三才线,color3366FF,C<三才线,colorwhite);
DRAWICON(CROSS(C,三才线),L*0.98,"buy");
DRAWICON(CROSS(三才线,C),H*1.04,"SELL");