Qorbanjf

DEMA/EMA & VOLATILITY (VAMS)

The biggest issue with momentum following strategies is over signaling during whipsaw periods. I created this strategy that measure momentum with DEMA (Fast Moving) and EMA (Slow moving). In order to mitigate over signaling during whipsaw periods I implemented the average true range percentage (ATRP) to measure realized volatility. If momentum is picking up while volatility is under a certain threshold it purchases the security. If momentum slows while volatility picks up it sells the security. Additionally, if momentum picks up, but volatility is high, it stays out of the security. This follows the theory that during sustained uptrends volatility will decrease, and during market corrections the volatility picks up. Following the old adage that markets climb up the stairs, and fall out the window. Note that this strategy does repaint due to it entering and closing positions at the close of the bars. I forgot to mention how volatility is measured high vs low. If the ATRP is above the EMA of the ATRP the strategy interprets the volatility is increasing and does not enter the security & Vice Versa for selling (with momentum signal of MAs)

This is just my first strategy, any feedback would be much appreciated.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?