趋势带源码来源于论坛,远趋势带是两条趋势带的组合,理论上可行,但实际信号延缓严重,有时候两个涨停甚至跌停都趋势方向都没有改变.
感谢原作者,在此基础上本人予以优化,力求精,准,简单。
主图指标来源系统指标,但稍作更改,信号的感觉更加清晰,强烈。
源码奉上
主图源码
{一招毙命}
{参数是:3 6 12 24}
A:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,COLORYELLOW;
{分+析家*公.式网www.70822.com}
STICKLINE(C>A ,CLOSE,OPEN,3,1),COLOR0000FF;
STICKLINE(C>A ,CLOSE,HIGH,1/2,0),COLOR0000FF;
STICKLINE(C>A ,LOW,OPEN,1/2,0),COLOR0000FF;
STICKLINE(C>A ,CLOSE,OPEN,3,0),COLOR0000FF;
STICKLINE(C>A ,OPEN,HIGH,1/2,0),COLOR0000FF;
STICKLINE(C>A ,CLOSE,LOW,1/2,0),COLOR0000FF;
STICKLINE(C<A ,CLOSE,OPEN,3,1),COLOR008000;
STICKLINE(C<A ,CLOSE,HIGH,1/2,0),COLOR008000;
STICKLINE(C<A ,LOW,OPEN,1/2,0),COLOR008000;
STICKLINE(C<A ,CLOSE,OPEN,3,0),COLOR008000;
STICKLINE(C<A ,OPEN,HIGH,1/2,0),COLOR008000;
STICKLINE(C<A ,CLOSE,LOW,1/2,0),COLOR008000;
趋势带源码
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
DRAWBAND(MA1,RGB(252,0,252),MA2,RGB(20,135,10));
2010921424877716.jpg
|