Support Board
Date/Time: Sun, 24 Nov 2024 02:38:19 +0000
[User Discussion] - Offering To The Community: Enhanced Adaptive RSI Moving Average (ARSI) With Filters
View Count: 5563
[2015-06-30 19:42:42] |
bjohnson777 (Brett Johnson) - Posts: 284 |
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. Offering To The Community: Brett Johnson's Standard Tool Kit Date Time Of Last Edit: 2016-10-15 06:33:17
|
Attachment Deleted. AdaptiveRSI.cpp - Attached On 2016-10-15 06:33:03 UTC - Size: 8.42 KB - 989 views AdaptiveRSI.dll - Attached On 2016-10-15 06:33:08 UTC - Size: 78.5 KB - 575 views |
[2015-07-05 00:36:53] |
Sierra Chart Engineering - Posts: 104368 |
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. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[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: 284 |
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: 284 |
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: 284 |
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. Offering To The Community: Brett Johnson's Standard Tool Kit 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: 284 |
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. |
[2018-06-29 15:58:29] |
User80860 - Posts: 5 |
Thank you for your contribution. I still find it hard to transition some of my codes from Thinkscript to Sierra Chart. Would you be willing to take a look at reverse engineering RSI and port that to Sierra Chart? It shouldn't take more than 5 minutes to someone who knows what they're doing. I'll post the code on the right discussion (Reverse Engineering RSI) on this forum. Thank you!
|
[2018-06-29 19:06:34] |
bjohnson777 (Brett Johnson) - Posts: 284 |
Thanks, and it looks like you found your answer in the other post.
|
To post a message in this thread, you need to log in with your Sierra Chart account: