通达信三均止损合一主图指标公式
网友投稿• 2021-10-06 16:21:11 •阅读39
STICKLINE(C<=O,H,L,0,0),COLORWHITE; A:=(2*C+O+H+L)/5; X1:MA(A,5),COLORYELLOW; X2:MA(X1,8),COLORYELLOW,LINETHICK2; X3:MA(X2,13),COLORFFF000; X4:MA(X3,21),COLORFFF000,LINETHICK2; X5:MA(X4,34),COLORFFFFFF; X6:MA(X5,55),COLORFFFFFF,LINETHICK2; AA1:=MA(C,5); BB1:=MA(C,15); AAA:=CROSS(AA1,BB1); STICKLINE(AAA,LLV(L,4),LLV(L,4),50,1),COLORFF00FF; DRAWTEXT(AAA,LLV(L,4),'止损线'),COLORFF00FF; DRAWTEXT(CROSS(X1,X2),X2-X2*0.1,'买入'),COLORRED; DRAWTEXT(CROSS(X2,X1),X2*1.1,'卖出'),COLORGREEN;
本文采摘于网络,不代表本站立场,转载联系作者并注明出处