以下是通达信最佳启动主图指标公式源码(无源码的请下载附件导入)
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);
2020300601.jpg
|