N:=10;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
波动:MA(CLOSE,10000);
STICKLINE1((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLOR0000FF;
STICKLINE1((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLORFF0000;
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'★向上'),COLOR00FFFF;
DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'●向下'),COLORBLUE;
DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'●回调'),COLORGREEN;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE1(买线>=卖线,LOW,HIGH,1,0),COLORRED;
STICKLINE1(买线>=卖线,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE1(买线>=卖线,CLOSE,OPEN,4,0),COLOR0000CC;
STICKLINE1(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE1(买线>=卖线,CLOSE,OPEN,2,0),COLOR0000EE;
STICKLINE1(买线<卖线,CLOSE,OPEN,4.5,0),COLORAAAA00;
STICKLINE1(买线<卖线,CLOSE,OPEN,4,0),COLORBBBB00;
STICKLINE1(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE1(买线<卖线,CLOSE,OPEN,2,0),COLOREEEE00;
STICKLINE1(买线<卖线,LOW,HIGH,1,0),COLORFFFF00;
STICKLINE1(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;
趋 势 线 :
评论15