MID : MA(CLOSE,日标准差); MA5: MA(CLOSE,10);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,10);
GREEN:=DIFF<DEA;
RED:=DIFF>DEA;
DRAWLINE(GREEN,HIGH,GREEN,OPEN,colorgreen);
DRAWLINE(GREEN,LOW,GREEN,CLOSE,colorgreen);
STICKLINE(GREEN,OPEN,CLOSE,10,colorgreen);
DRAWLINE(RED,HIGH,RED,CLOSE,10,0),colorred;
DRAWLINE(RED,HIGH,RED,OPEN,10,0),colorred;
|
