DIFF:=EMA(C,10) -EMA(C,30);
DEA:=EMA(DIFF,3);
向上发散MACD:200*(DIFF-DEA), COLORSTICK;
STICKLINE(C>EMA(C,10),0,向上发散MACD,0,0)COLOR6666FF;
STICKLINE(C<EMA(C,30),0,向上发散MACD,0,0)COLORFFFF66;
VAR1:=(EMA(C,10)-REF(EMA(C,10),1))/REF(EMA(C,10),1)*1000;
VAR2:=(EMA(C,30)-REF(EMA(C,30),1))/REF(EMA(C,30),1)*1000;
STICKLINE(VAR1>=VAR2 AND VAR2>0 AND C>EMA(C,30),0,向上发散MACD,5,1),COLOR6666FF;
个股能量线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)-30, COLORRED,linethick2;
大盘能量线:EMA(100*(INDEXC- LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3)-30,colorgreen,linethick2;
202108211232.gif
|