OPEN-SOURCE SCRIPT

Aroon Oscillator Strategy

Mis à jour
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
Notes de version
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.
Notes de version

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

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité