通达信MACD趋势买入指标公式

2023-11-09 06:00发布

VC:=(REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2));SQX:=(VC-MA(VC,13))*100;DIF:MA(SQX,5),COLORWHITE;DEA:EMA(DIF,5),COLORYELLOW;:(DIF-DEA)*2,COLORSTICK;JCCOUNT:=COUNT(OSS(DIF,DEA),BARSLAST(DEA>=0));MACD1:=MACD;MACD2:=REF(MACD,1);MACD下:IF(MACD1MACD2 AND MACD1>0,0,MACD1,3.2,0),COLOR000055;STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.7,0),COLOR000077;STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.1,0),COLOR000099;STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1.5,0),COLOR0000BB;STICKLIN
 解锁全文需 1  财富值,免费注册即送20财富值!