通达信宝葫芦指标
M5:MA(C,5),COLORWHITE;
M20:MA(C,20),COLORMAGENTA;
M5对称:IF(M5 =M20,M20*2-M5,M20*2-M5),COLORYELLOW;
(M5+M20)/2,COLORGRAY;
(M5对称+M20)/2,COLORGRAY;
DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(1,0.9,0.9,1,'温馨提示:股价在葫芦尾之上要涨,在下要跌'),COLORYELLOW;
通达信宝葫芦指标
M5:MA(C,5),COLORWHITE;
M20:MA(C,20),COLORMAGENTA;
M5对称:IF(M5 =M20,M20*2-M5,M20*2-M5),COLORYELLOW;
(M5+M20)/2,COLORGRAY;
(M5对称+M20)/2,COLORGRAY;
DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(1,0.9,0.9,1,'温馨提示:股价在葫芦尾之上要涨,在下要跌'),COLORYELLOW;