通达信老三通道线主图指标公式
2021/1/7 18:50:55
N:=102;
M:=7;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AA*N/100;
通道2:AA*(200-N)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD;
通道4:(1-M/100)*DD;
DRAWTEXT_FIX(1,0.00,0.00,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.07,0.00,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.00,0.05,0,'所属行业:')COLOR0080FF;
DRAWTEXT_FIX(1,0.07,0.05,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.00,0.10,0,'主营业务:')COLORFF00FF;
DRAWTEXT_FIX(1,0.07,0.10,0,EXTERNSTR(0,1))COLORFF00FF;
DRAWTEXT_FIX(1,0.00,0.15,0,' 大事件:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.07,0.15,0,EXTERNSTR(0,2))COLOR00FFFF;
DRAWTEXT_FIX(1,0.00,0.20,0,'投资主题:')COLOR0000FF;
DRAWTEXT_FIX(1,0.07,0.20,0,EXTERNSTR(0,3))COLOR0000FF;
DRAWTEXT_FIX(1,0.00,0.25,0,'投资概念:')COLORFF88FF;
DRAWTEXT_FIX(1,0.07,0.25,0,GNBLOCK)COLORFF88FF;
DRAWTEXT_FIX(1,0.00,0.30,0,'风格板块:'),COLOR00FFFF;
DRAWTEXT_FIX(1,0.07,0.30,0,FGBLOCK),COLOR00FFFF;
投股票 网 ww w.tou18.cn
股市公式下载推荐