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);
STICKLINE((MA15 REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,Color00FFFF;
STICKLINE((MA15 REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),Color0000FF;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),Color00FFFF;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
stickline(买线 =卖线,low,high,1,0),colorred;
stickline(买线 =卖线,close,open,4.5,0),color0000aa;
stickline(买线 =卖线,close,open,4,0),color0000cc;
stickline(买线 =卖线,close,open,3,0),color0000cc;
stickline(买线 =卖线,close,open,2,0),color0000ee;
stickline(买线 卖线,close,open,4.5,0),coloraaaa00;
stickline(买线 卖线,close,open,4,0),colorbbbb00;
stickline(买线 卖线,close,open,3,0),colorcccc00;
stickline(买线 卖线,close,open,2,0),coloreeee00;
stickline(买线 卖线,low,high,1,0),colorffff00;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;
一发千钧指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
临界点: MA(CLOSE,27),linethick1,Color00FFFF;
C EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF ;
公式模块:
二个黄芯柱
1
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:cross(买线,卖线);
2
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
SEL:cross(卖线,买线);