以下是通达信最佳启动主图指标公式源码

MA5:MA(C,5);
 MA10:MA(C,10);
 MA30:MA(C,30);
 MA60:MA(C,60);
 STICKLINE(MA5>MA10,MA5,MA10,1,0),COLORYELLOW;
 STICKLINE(C>=O,L,H,0.00001,0),COLORRED;
 STICKLINE(C>OPEN,OPEN,C,2.5,0),COLORRED;
 STICKLINE(C>OPEN,OPEN,C,0.6,0),COLORCC66FF;
 STICKLINE(C<OPEN,OPEN,C,2.5,0),COLORFF6600;
 STICKLINE(C<OPEN,OPEN,C,0.6,0),COLORFF9900;
 STICKLINE(C<O,L,H,0.00001,0),COLORCYAN;
 {以上是立体K线部分}
TJ1:=C>MA5 AND C>MA10 AND C>MA30 AND C>MA60 AND MA30>MA5 AND MA30>MA10 AND MA30>MA60 AND MA10>MA5 AND MA10>MA60 AND MA5>REF(MA5,1);
 TJ2:=C>MA5 AND C>MA10 AND C>MA30 AND C<MA60 AND MA60>MA5 AND MA60>MA10 AND MA60>MA30 AND MA5>MA10 AND MA5>MA30 AND MA5>REF(MA5,1);
 TJ3:=C>MA30 AND C>MA60 AND C<MA5 AND C<MA10 AND MA10>MA5 AND MA10>MA30 AND MA10>MA60 AND MA30>MA60;
 DRAWICON(TJ1 OR TJ2 OR TJ3,L*0.98,17);

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