OPEN-SOURCE SCRIPT

Aroon Oscillator Strategy

Güncellendi
This is simple strategy based on Aroon Oscillator. I have found that using length 144 or 169 on hourly chart shows excellent results.

Tested on SPY , QQQ and AAPL. Especially when you look at AAPL results , it has 60% profitable in recent trades. ( Dont assume this will be same for other stocks or ETFs)


Aroon Oscillator setting : 169 ( 169 is square root of 13 ... you can also use fib level 144 , which is square root of 12 )


BUY
When Aroon Oscillator crosses above zero line

Add
if Long position is already opened, and current close is less than BUY price and RSI 13 crossing above 30 line

Exit
when Aroon Oscialltor crosses below zero line

Stop Loss
default stop loss has been set to 5%


Note: I have not plotted RSI to the chart. Please include RSI 13 to see how position gets added ... Also add ema 169 to see how the price is aligned with the Aroon Oscillator


Warning
For the educational purposes only
Sürüm Notları
I have added another parameter to whether exitOnAroonOscialltor cross down to zero. Since script already has logic to capture partial profits when Osc crossdown below 90, at some point all the long positions will be emptied out.

This will also allow us to stay in the traded by sticking to our stoploss 5% , rather than just exiting on a whipsaw signal.
Sürüm Notları

1. Stop Loss calculation fixed
2. Entry quantity and Addition quantity calculation has been changed
3. bar color changed to purple when Aroon Oscillator is above 90
4. if Aroon Osc cross down zero setting is selected --- stop loss value is not considered , it simply exits on oscillator crossing below zero line
aroon_oscillatoreemanimohaneeMoving AveragesOscillatorsRelative Strength Index (RSI)Trend Analysistrendfollowing

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname