通达信公式-老三通道线主图指标公式

11/13/2018

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;

这个通达信老三通道线主图指标公式是由公式指标网收集提供,更多的通达信公式请你访问:http://gupiao.geren-jianli.org/category/tdx/查看。