MA18:EMA(C,18),COLOREEEEEE,LINETHICK2;
红18:IF(MA18>REF(MA18,1),MA18,DRAWNULL),COLOR0000FF,LINETHICK4;
绿18:IF(MA18<REF(MA18,1),MA18,DRAWNULL),COLOR00FF00,LINETHICK4;
STICKLINE(MA18>REF(MA18,1),LOW,HIGH,0,0),COLOR0000DD;
STICKLINE(MA18>REF(MA18,1),CLOSE,OPEN,3,0),COLORRED;
STICKLINE(MA18<REF(MA18,1),LOW,HIGH,0.0,0),COLORFFDD00;
STICKLINE(MA18<REF(MA18,1),CLOSE,OPEN,3,0),COLORFFFF00;
买进条件:STICKLINE(CROSS(MA18,REF(MA18,1)),OPEN,CLOSE,2.5,0),COLORFF00FF;
DRAWICON(CROSS(MA18,REF(MA18,1)),L*0.98,1);
DRAWICON(CROSS(MA18,REF(MA18,1)),L*0.95,7);
DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) AND CURRBARSCOUNT<2,HHV(H,5)*1.04,'红线'),COLORRED;
DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) AND CURRBARSCOUNT<2 ,HHV(H,5)*1.01,'持股'),COLORRED;
70255141.jpg
|