Login Page - Create Account

Support Board


Date/Time: Thu, 18 Jan 2018 07:40:25 +0000



Offering To The Community: Enhanced Adaptive RSI Moving Average (ARSI) With Filters

Support Request:
[2015-06-30 19:42:42]
bjohnson777 (Brett Johnson) - Posts: 204
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.

Thanks

-----
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.
https://www.sierrachart.com/SupportBoard.php?ThreadID=18945
Date Time Of Last Edit: 2016-10-15 06:33:17
Attachment Deleted.
attachmentAdaptiveRSI.cpp - Attached On 2016-10-15 06:33:03 UTC - Size: 8.42 KB - 50 views
attachmentAdaptiveRSI.dll - Attached On 2016-10-15 06:33:08 UTC - Size: 78.5 KB - 34 views
[2015-07-05 00:36:53]
Sierra Chart Engineering - Posts: 56250
We will have a look at this and add it to the project. Thank you for the contribution.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2015-07-05 20:22:23]
Al SC Developer - Posts: 434
This will be in the next version. The code was modified slightly for style and we also added another input to be consistent with the standard RSI (base RSI MA type). The code will be in Studies7.cpp as scsf_AdaptiveRSIMovingAverage().
[2015-07-06 05:08:41]
bjohnson777 (Brett Johnson) - Posts: 204
As expected, thanks.

I have some more in my tool kit that are almost finished. Since they're non-proprietary, I can offer them to the community as well.
[2015-07-12 00:36:07]
bjohnson777 (Brett Johnson) - Posts: 204
In getting Adaptive Stochastic to work, I discovered the simple fix of adding the option to modify the Scale Factor. I'm now deploying it to all my adaptive moving average studies as it's quite useful.

Since this one has already been accepted into the distro, if you want to copy/paste it into a file and post it, I'll make the change and post it back again.

-----
Edit: download current version from the first post.
Date Time Of Last Edit: 2016-02-07 02:24:14
[2015-07-13 14:32:36]
Al SC Developer - Posts: 434
ARSI Scaling Factor will be added in the next version
[2016-02-07 02:30:11]
bjohnson777 (Brett Johnson) - Posts: 204
Minor update 2016-02-06. No major function changes. Mostly some code clean up to make all my published studies consistent with each other.

Regular compiles moved to "Brett Johnson's Standard Tool Kit" DLL.
https://www.sierrachart.com/SupportBoard.php?ThreadID=18945

I replaced the old version with the new version in the first post.
Date Time Of Last Edit: 2016-03-21 20:26:49
[2016-10-15 06:34:01]
bjohnson777 (Brett Johnson) - Posts: 204
Today's DLL was compiled with the M$VC++ change over.
You may need to update your SC version.
Keep your previous DLL version until you've tested the new compile.
Most changes were made to shut up useless M$VC++ warnings when compiling.
There are a few compile warnings left about "argument" that can be ignored.
No real functionality changes have been made.

To post a message in this thread, you need to login with your Sierra Chart account:

Login


Login Page - Create Account