强者恒强(指标 主图 通达信 贴图)
M1:=MA(CLOSE,1);
M2:=(LOW+HIGH+CLOSE)/3;
M3:=MA(M2,5);
M4:=HHV(M3,10);
Z:=HHV((M1 M4),10) OR HHV((M1 M4),10);
S:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,35)-LLV(LOW,34)),3);
DRAWTEXT( FILTER(CROSS(S ,60 ),20),L*0.98,'B'),COLORRED ;
DRAWICON( FILTER(CROSS(S ,60 ),20),L*0.97,7);
STICKLINE( S 60,O,C,4,0) ,COLORFF9BFB;
STICKLINE( S 60,H,L,0,0) ,COLORRED;
STICKLINE( S 60,O,C,2.8,1) ,COLORRED;
STICKLINE( S 60,H,L,0,0) ,COLORGREEN;
STICKLINE( S 60,O,C,2.8,1) ,COLORGREEN;
VAR1:MA(CLOSE,5);
VAR2:MA(CLOSE,10);
VAR3:MA(CLOSE,20);
VAR60:MA(CLOSE,60);
VAR120:MA(CLOSE,120);
VAR4:=OPEN VAR1 OR OPEN VAR2 OR OPEN VAR3;
VAR5:=CLOSE MAX(VAR1,MAX(VAR2,MAX(VAR3,VAR60)));
VAR6:=VOL/MA(VOL,30)
VAR7:=CLOSE/REF(CLOSE,1) 1.049;
VAR8:=VAR4 AND VAR5 AND VAR6 AND VAR7;
VAR9:=VAR8 AND (REF(BARSLAST(VAR8),1) 60 OR BARSSINCE(VAR8)=0);
DRAWICON(VAR9 ,L*0.99,1) ;
STICKLINE(VAR9,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(VAR9,OPEN,CLOSE,2.8,1),COLORYELLOW;
=========以下源码,似乎是错误的,参考备份吧。
M1:=MA(CLOSE,1);
M2:=(LOW+HIGH+CLOSE)/3;
M3:= MA(M2,5);
M4:= HHV(M3,10);
Z:=HHV((M1 M4),10) OR HHV((M1 M4),10);
S:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,35)-LLV(LOW,34)),3);
DRAWICON( FILTER(CROSS(S ,60 ),20),L*0.97,7);
STICKLINE( S 60,O,C,4,0) ,COLORFF9BFB;}
STICKLINE( S 60,H,L,0,0) ,COLORRED;
STICKLINE( S 60,O,C,2.8,1) ,COLORRED;
STICKLINE( S 60,H,L,0,0) ,COLORGREEN;
STICKLINE( S 60,O,C,2.8,1) ,COLORGREEN;
VAR1:MA(CLOSE,5);
VAR2:MA(CLOSE,10);
VAR3:MA(CLOSE,20);
VAR60:MA(CLOSE,60);
VAR120:MA(CLOSE,120);
VAR4:=OPEN VAR1 OR OPEN VAR2 OR OPEN VAR3;
VAR5:=CLOSE MAX(VAR1,MAX(VAR2,MAX(VAR3,VAR60)));
VAR6:=VOL/MA(VOL,30)
VAR7:=CLOSE/REF(CLOSE,1) 1.049;
VAR8:=VAR4 AND VAR5 AND VAR6 AND VAR7;
VAR9:=VAR8 AND (REF(BARSLAST(VAR8),1) 60 OR BARSSINCE(VAR8)=0);
DRAWICON(VAR9 ,L*0.99,1) ;
STICKLINE(VAR9,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(VAR9,OPEN,CLOSE,2.8,1),COLORYELLOW;