同花顺MACD底背离买入指标公式

2024-05-11 12:58发布

SHORT:=12;LONG:=26;M:=9;DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite;DEA : EMA(DIFF,M),coloryellow; :=2*(DIFF-DEA);Zero : 0;STICKLINE(MACD>0,0,MACD,1,0),colorred;STICKLINE(MACD<0 VARGu:=(REF(diff,2)>=REF(diff,1) AND diff>REF(diff,1))OR (REF(diff,2)<=REF(diff,1) AND ( (REF(diff,1)-REF(diff,2)) /REF(diff,2) < (diff-REF(diff,1)) /REF(diff,1)*1.1 ) );//VARGu:=(REF(diff,2)>=REF(diff,1) AND diff>REF(diff,1));VARGu:=OSS(diff,dea);AA:=COUNT(VARGu,BARSLAST(DEA>=0));A1:=BARSLAST(REF(VARGu,1)
 解锁全文需 1  财富值,免费注册即送20财富值!