通达信主图指标,长期波段短期波段结合
N:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
STICKLINE(C>=MA(C,N),MA(C,N),MA(C,N*0.7),2,0),COLORYELLOW;
STICKLINE(C
短波段A: IF(C>=MA(C,N),MA(C,N),MA(C,N*0.7));
短波段B: IF(C
NOTEXT2:IF(CLOSE<短波段A AND CLOSE!=短波段A,短波段A,DRAWNULL),COLORBLUE;
NOTEXT3:IF(CLOSE>短波段B AND CLOSE!=短波段B,短波段B,DRAWNULL),COLORYELLOW;
NOTEXT4:IF(CLOSE<短波段B AND CLOSE!=短波段B,短波段B,DRAWNULL),COLORBLUE;
R:=IF(BARSCOUNT(C)>=45,45,BARSCOUNT(C));
STICKLINE(C>=MA(C,R),MA(C,R),MA(C,R*0.78),2,0),COLORMAGENTA;
STICKLINE(C
长波段A:IF(C>=MA(C,R),MA(C,R),MA(C,R*0.78));
长波段B:IF(C
NOTEXT6:IF(CLOSE<长波段A AND CLOSE!=长波段A,长波段A,DRAWNULL),COLORLIGREEN;
NOTEXT7:IF(CLOSE>长波段B AND CLOSE!=长波段B,长波段B,DRAWNULL),COLORMAGENTA;
NOTEXT8:IF(CLOSE<长波段B AND CLOSE!=长波段B,长波段B,DRAWNULL),COLORLIGREEN;
VR1:=(REF(C,2)-REF(C,1))/REF(C,2)>0.05;
VR2:=(REF(C,3)-REF(C,2))/REF(C,3)>0.05;
VR3:=REF(H,2)-REF(H,1);
VR4:=REF(H,1)-VR3;
VR5:=V/CAPITAL*100;
VR6:=1-(VR5<15 AND (H-L)/C>0.045 AND C>VR4 AND VR1 AND VR2 AND C>O AND MA(C,60)-MA(C,9)/2.68>C);
VR7:=VR6;