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