N:=38;N1:=5;N2:=13;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
A: SMA(VAR1,7,1),LINETHICK2;
VAR2:=SMA(A,5,1);
B: IF(CROSS(A,VAR2) AND CROSS(MA(C,N1),MA(C,N2) AND A>50) ,VAR2*2,VAR2),COLORYELLOW;
VAR4:= EMA(CLOSE,8);
VAR5:= EMA(CLOSE,20);
黑码:IF(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND A-B>2 AND VAR4>VAR5 ,VAR2*2,VAR2),COLOR00FF00;
买入:=(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND A-B>2 AND VAR4>VAR5 );
排序:IF(买入>0,80,0), STICK,COLORF0F000;
DRAWICON(排序>0,80,1 );
DRAWTEXT(排序>0,60, '★买点'),COLORWHITE ;
STICKLINE(A>VAR2,A,B,0,0), , COLORF00FF0;
STICKLINE(A<VAR2,A,VAR2,0,0), ,COLOR00FF00 ;
VAR0:=(2*CLOSE+HIGH+LOW)/4;
BBB:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);
DDD:EMA(BBB,5),LINETHICK2,COLORYELLOW;
EEE:EMA(DDD,26),COLORD9D919,LINETHICK2;
20,POINTDOT,COLORF00FF0;
50,POINTDOT,COLORGREEN;
80,POINTDOT,COLORWHITE;
94544097.jpg
|