精简准主图-精品通达信指标公式源码分享
M1:=10; M2:=10; M3:=10; M4:=10;
A:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,COLORYELLOW;
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;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!