Date/Time: Thu, 19 Jul 2018 13:37:29 +0000
Post From: Offering To The Community: Enhanced Adaptive RSI Moving Average (ARSI) With Filters
|bjohnson777 (Brett Johnson) - Posts: 224|
I use ARSI on my charts quite a bit. Since SC doesn't have that function built in, I'm offering it to the community and requesting it be added to the SC distro once my code checks out.
Since this is my first working study I've written, I'm requesting it be checked out first before others download and compile it. I've checked it against the other examples and I think I've added everything necessary. It compiles and runs as expected.
In the "enhanced" version, I've added independent smoothing functions both for price and RSI before ARSI is calculated. This helps smooth out noisy data. If desired, traditional ARSI can be used by turning off both smoothing options.
Quick ARSI Observations: When price peaks/dips from a stronger moves, the ARSI line will go flat and then bend to follow price. Combined with other indicators, this is a pretty good reversal signal. When ARSI goes flat and price goes flat above or below the ARSI line, price will often come back to the ARSI line and continue an existing trend.
You can see documentation and recommendations by hitting the "Display Study Documentation" button.
Attached is the AdaptiveRSI.ccp code file and dll.
From the Display Study Documentation button:
Adaptive RSI Moving Average With Filters. Traditional Adaptive RSI (ARSI) uses straight price and then RSI as the scaling factor without smoothing. The "Set Price Smoothing?" option enables cleaning up the price before calculations. If price is really noisy, recommended settings are EMA 3-10. Otherwise leave price smoothing off. The "Set RSI Smoothing?" option enables cleaning up some of the RSI noise before ARSI is calculated. It is recommended to smooth RSI out with an EMA 3-7. This allows for less volatility and more consistent movements.
The "Scale Factor Change" option allows the output line to be sped up or slowed down by modifying the EMA Scale Factor variable in the final adaptive calculation. It is recommended to change the main period variable first and then modify this one for fine tuning. A value of 1.0 (100%) will leave the rate unchanged. A value of 2.0 (200%) will double the rate. A value of 0.5 (50%) will cut the rate in half.
To use traditional ARSI without any enhancements, turn off all extra options.
Observations: When there's a strong reversal, ARSI will go flat and then bend to follow the price. On weaker events, ARSI will go flat while price bounces around above or below and then returns to the ARSI line. Check indicators and wave counts to verify final motion.
To visualize what the scaling factor is doing, a separate RSI graph can be added with the selected smoothing values. When RSI is close to 50, the ARSI line will go flat and move less. Further away from 50 will increase the line movement.
Minor update 2016-10-15. No major function changes.
Regular compiles moved to "Brett Johnson's Standard Tool Kit" DLL.
Date Time Of Last Edit: 2016-10-15 06:33:17
AdaptiveRSI.cpp - Attached On 2016-10-15 06:33:03 UTC - Size: 8.42 KB - 78 views
AdaptiveRSI.dll - Attached On 2016-10-15 06:33:08 UTC - Size: 78.5 KB - 61 views