通达信操盘线主图公式

源码

N:=IF(BARSCOUNT(C)>=45,45,BARSCOUNT(C));
 STICKLINE(C>=MA(C,N),MA(C,N),MA(C,N*0.78),4,0),COLORYELLOW;
 STICKLINE(C<MA(C,N),MA(C,N),MA(C,N*0.78),4,0),COLORBLUE;
 DRAWKLINE(H,O,L,C);