以下是通达信天机线主图指标源码

CG:MA(C,21),COLOR00FF00,LINETHICK2;
 FL:HHV(CG,3),COLORFF0000,LINETHICK2;
 FS:CG-(FL-CG),COLORRED,LINETHICK2;
 TY:=C;
上收:=C; 上开:=O;上高:=H; 上低:=L;
上轨:MA(REF(HHV(上收,21),1),21),CIRCLEDOT,COLOR00FFFF,LINETHICK0;
下轨:MA(REF(LLV(上收,30),1),21),CIRCLEDOT,COLORRED ,LINETHICK0 ;
 STICKLINE(OPEN>=CLOSE ,O,C,3,0 ),COLOR00FF00;
 STICKLINE(OPEN>=CLOSE ,O,C,1.5,0 ),COLOR00FF00;
 STICKLINE(OPEN>=CLOSE ,O,C,0.5,0 ),COLOR00FF00;
 STICKLINE(CLOSE>OPEN,O,C,3,0 ),COLORRED;
 STICKLINE(CLOSE>OPEN,O,C,1.5,0 ),COLORRED;
 STICKLINE(CLOSE>OPEN,O,C,0.5,0 ),COLORRED;
 STICKLINE(CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
 STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0,0 ),COLORRED;
 STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0,0 ),COLOR00FF00;
 STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0,0),COLOR00FF00;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。