OPEN-SOURCE SCRIPT

Aroon Oscillator Strategy

تم تحديثه
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
ملاحظات الأخبار
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.
ملاحظات الأخبار

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

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟

إخلاء المسؤولية