• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 11:29am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:29am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Roadmap - A Way To Read Markets 5,296 replies

RSI cross indicator when rsi=50 19 replies

RSI (Fast) above/below RSI (Slow) displayed as a Histogram 5 replies

Forex Brokerage Roadmap 4 replies

RSI, MA, BOLL or RSI, BOLL MA diferents results 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 18
Attachments: RSI TrendStrength History for RoadMap
Exit Attachments
Tags: RSI TrendStrength History for RoadMap
Cancel

RSI TrendStrength History for RoadMap

  • Last Post
  •  
  • Page 1 2
  • Page 1 2
  •  
  • Post #1
  • Quote
  • First Post: Edited Mar 16, 2021 4:44am Dec 14, 2020 10:06am | Edited Mar 16, 2021 4:44am
  •  Barraka
  • Joined Jul 2017 | Status: Member | 241 Posts
Hi,



I'm sharing this indicator that I just finished, because it might be helpful for those who are following Laura's "Roadmap" thread.

This tool's main purpose if for backtesting. It has a few additional uses, in addition to the "TrendStrength RSI-MTF" that is used, but that's not the main purpose.



I created it simply because there was at some point a few questions / demands on the ability to have the Composite RSI for earlier candles (instead of just in real time).

My version plots the value of the RSI for all bars. It shows the value at the precise moment the bar was closed. So obviously, the very small variations that occur to the value of the MTF-RSI don’t show, but they are really marginal.

The MTF-RSI is simply the average of RSI(9) and RSI(2), for the H4, D1, and W1 timeframes.
On the “Roadmap” template, it’s the number that shows up on the upper right of the chart.

As a general guide, values above 55 indicate a bullish environment, and under 44 a bearish one.

How to use it for backtesting purposes?

The idea is, if you’re backtesting on choosing which channel cross or continuation setup (channel failure) to take, this indicator will give you the exact value of the RSI-MTF, to help gauge if the strength of the HTF trend supports your potential setup.

Of course, it’s not the only criteria, and for example much less important than general market structure, but it is a helping tool.

For example on this EURAUD chart, it can give more confidence in taking the channel cross on the right, the previous ones being more in the “dead zone” between 45-55.

Attached Image (click to enlarge)
Click to Enlarge

Name: EURAUD Standard.PNG
Size: 51 KB


I have added a setting for those who trade on smaller TFs / scalping. By default it's "Standard", but you can choose "Scalping":

Attached Image


The scalping version just takes the RSI(9) and RSI(2) of M15 and H1, and averages it. I know a few that follow Roadmap like to trade indices on M1 / tickchart with those settings.
The “Standard” is for use under H4. The “Scalping” version is for use under M15.

Of course, one can play with the possibilities and display the 2 versions. RSI Standard going below 45 with confluence on “Scalping” being under 45 can be interesting.
Or, continuation trades could be taken when the Scalping version goes above 45, then drop back below while Standard still under 45 (i.e., a pullback setup). Or any other combination. Those are not Roadmap rules, but it’s always nice to explore.

Attached Image (click to enlarge)
Click to Enlarge

Name: USDJPY Scalping.PNG
Size: 48 KB


I have added the possibility to be alerted when a bar closes above / below the 45/55 level (by default off).
Finally, I re-iterate that the main reason is to go back to your chart to see if you would have taken a channel setup. In real time, it’s just the same value as the RSI-MTF number on the upper right, so in terms of screen real-estate it’s better just to keep the other one.

Please report any bugs.

Enjoy,

Attached File(s)
File Type: ex4 RSI-TrendStrength Duo V2.2.ex4   76 KB | 298 downloads | Uploaded Mar 16, 2021 4:44am
  • Post #2
  • Quote
  • Dec 14, 2020 2:31pm Dec 14, 2020 2:31pm
  •  NateBeruk
  • | Joined Oct 2020 | Status: Member | 30 Posts
thank you man, just what i need
 
1
  • Post #3
  • Quote
  • Dec 14, 2020 3:23pm Dec 14, 2020 3:23pm
  •  rover99x
  • | Joined Sep 2009 | Status: Member | 489 Posts
Quoting Barraka
Disliked
Hi, I'm sharing this indicator that I just finished, because it might be helpful for those who are following Laura's "Roadmap" thread. This tool's main purpose if for backtesting. It has a few additional uses, in addition to the "TrendStrength RSI-MTF" that is used, but that's not the main purpose. I created it simply because there was at some point a few questions / demands on the ability to have the Composite RSI for earlier candles (instead of just in real time). My version plots the value of the RSI for all bars. It shows the value at the precise...
Ignored
Thank you Barraka, very interesting
 
 
  • Post #4
  • Quote
  • Dec 14, 2020 4:14pm Dec 14, 2020 4:14pm
  •  Shaishen
  • | Joined Feb 2010 | Status: Member | 78 Posts
Thanks, very interesting - I use black background - the levels are in black - I change to a lighter color but keeps reverting to black.
Maybe I am doing something wrong - thanks for looking into this.

.
 
 
  • Post #5
  • Quote
  • Dec 14, 2020 4:49pm Dec 14, 2020 4:49pm
  •  Barraka
  • Joined Jul 2017 | Status: Member | 241 Posts
Quoting Shaishen
Disliked
Thanks, very interesting - I use black background - the levels are in black - I change to a lighter color but keeps reverting to black. Maybe I am doing something wrong - thanks for looking into this. .
Ignored
Sure, it had been noted by someone else. I uploaded the fixed version, on the first post.

Thanks,
 
1
  • Post #6
  • Quote
  • Dec 14, 2020 6:05pm Dec 14, 2020 6:05pm
  •  Shaishen
  • | Joined Feb 2010 | Status: Member | 78 Posts
Thanks, much appreciated.

.
 
 
  • Post #7
  • Quote
  • Dec 15, 2020 10:56pm Dec 15, 2020 10:56pm
  •  asset21
  • | Joined Oct 2019 | Status: Member | 84 Posts
does this repaint?
 
 
  • Post #8
  • Quote
  • Dec 17, 2020 7:44am Dec 17, 2020 7:44am
  •  Nick999
  • | Joined Apr 2020 | Status: Member | 4 Posts
Hi Barraka,

Terrific indicator, thanks very much.

I've been trying to call it using iCustom from 4 charts at the same time (some people are just greedy), however when I do so I'm getting errors "not enough memory for EX4 file" and "global initialization failed".

My PC has plenty of memory and only 50% is in use.

I wonder if you can see a solution to this?

Perhaps my code is at fault - here it is:

double Bar1 = NormalizeDouble(iCustom(NULL,0,"RSI-TrendStrength v1.3",45,55,"","",false,1250,25,true,0,1),2);
double Bar2 = NormalizeDouble(iCustom(NULL,0,"RSI-TrendStrength v1.3",45,55,"","",false,1250,25,true,0,2),2);

Or if my code is OK, perhaps you could add an input field to allow the user to select the number of bars processed - would this reduce the memory load?

Alternatively, would you be kind enough to release the source code so that I can personalise it myself?

Thanks again,
Nick
 
 
  • Post #9
  • Quote
  • Dec 19, 2020 7:10am Dec 19, 2020 7:10am
  •  coolsjc
  • Joined Jun 2012 | Status: Member | 179 Posts
Quoting Barraka
Disliked
{quote} Sure, it had been noted by someone else. I uploaded the fixed version, on the first post. Thanks,
Ignored
Thank you very much for the indicator. Still i find colour and line style reverting back. Can you please re-upload the fixed version. Cheers!
 
 
  • Post #10
  • Quote
  • Dec 19, 2020 12:16pm Dec 19, 2020 12:16pm
  •  Barraka
  • Joined Jul 2017 | Status: Member | 241 Posts
Quoting Nick999
Disliked
Hi Barraka, Terrific indicator, thanks very much. I've been trying to call it using iCustom from 4 charts at the same time (some people are just greedy), however when I do so I'm getting errors "not enough memory for EX4 file" and "global initialization failed". My PC has plenty of memory and only 50% is in use. I wonder if you can see a solution to this? Perhaps my code is at fault - here it is: double Bar1 = NormalizeDouble(iCustom(NULL,0,"RSI-TrendStrength v1.3",45,55,"","",false,1250,25,true,0,1),2); double Bar2 = NormalizeDouble(iCustom(NULL,0,"RSI-TrendStrength...
Ignored
Hi Nick,

I've modified the settings, so that you can choose the lookback period. Default is 0 which is equivalent to no limitation.
Not sure what's going wrong, I've had it attached to many charts without the issue you're talking about. Also, I have a scanner that looks at the 28 pairs for this indi, also no error.
Still, the modification should help prevent your issue, I hope.

Cheers,
 
 
  • Post #11
  • Quote
  • Dec 19, 2020 12:17pm Dec 19, 2020 12:17pm
  •  Barraka
  • Joined Jul 2017 | Status: Member | 241 Posts
Quoting coolsjc
Disliked
{quote} Thank you very much for the indicator. Still i find colour and line style reverting back. Can you please re-upload the fixed version. Cheers!
Ignored
Hi,

On the first post I've uploaded a new version, the color & levels don't change.

Thanks,
 
2
  • Post #12
  • Quote
  • Dec 19, 2020 11:00pm Dec 19, 2020 11:00pm
  •  shrips
  • | Joined Dec 2015 | Status: Member | 228 Posts
Hi Barraka,

Great work here.
I was wondering if the alerts can be set up to allow for push notifications/email so I can receive via my mobile?

Also I was looking to change the RSI MTF's that are used so is it possible to have the option of choosing the 4 TFs similar to what was in the original CompRSI indi?

Would be much appreciated if the above can be added

Regards
Shrips
 
 
  • Post #13
  • Quote
  • Edited 8:53pm Dec 20, 2020 8:21pm | Edited 8:53pm
  •  Nick999
  • | Joined Apr 2020 | Status: Member | 4 Posts
Quoting Barraka
Disliked
{quote} Hi Nick, I've modified the settings, so that you can choose the lookback period. Default is 0 which is equivalent to no limitation. Not sure what's going wrong, I've had it attached to many charts without the issue you're talking about. Also, I have a scanner that looks at the 28 pairs for this indi, also no error. Still, the modification should help prevent your issue, I hope. Cheers,
Ignored
Hi Barraka, many thanks for modifying the settings. I've tried out an iCustom call to the new version with settings as small as 1000 bars and even 10 bars, but unfortunately this has made no difference to the error. I've attached a screenshot of the error message.

Would you mind sharing the source code? Failing that - and I do understand if you do not wish to release it - could you perhaps share the RSI-TrendStrength equivalent of the following code from RoadMap Trend Band_Indices_SubWindow ?:

for(int i=50; i>=0; i--)
{
Mfifteen2 = iRSI(NULL,15,2,PRICE_CLOSE,0);
Mfifteen9 = iRSI(NULL,15,9,PRICE_CLOSE,0);
Msixty2 = iRSI(NULL,60,2,PRICE_CLOSE,0);
Msixty9 = iRSI(NULL,60,9,PRICE_CLOSE,0);

RSIsum = (Mfifteen2+Mfifteen9+Msixty2+Msixty9)/4;
}

If I can see how you've calculated RSIsum for previous bars in RSI-TrendStrength then I can mimic it in my code. I've tried e.g. the following, but this does not reproduce your results, so I must be doing something wrong:

double Mfifteen2Bar1 = iRSI(NULL,PERIOD_M15,2,PRICE_CLOSE,iBarShift(NULL,PERIOD_M15,iTime(NULL,0,1),true));
double Mfifteen9Bar1 = iRSI(NULL,PERIOD_M15,9,PRICE_CLOSE,iBarShift(NULL,PERIOD_M15,iTime(NULL,0,1),true));
double Msixty2Bar1 = iRSI(NULL,PERIOD_H1,2,PRICE_CLOSE,iBarShift(NULL,PERIOD_H1,iTime(NULL,0,1),true));
double Msixty9Bar1 = iRSI(NULL,PERIOD_H1,9,PRICE_CLOSE,iBarShift(NULL,PERIOD_H1,iTime(NULL,0,1),true));

double Bar1 = NormalizeDouble(((Mfifteen2Bar1+Mfifteen9Bar1+Msixty2Bar1+Msixty9Bar1)/4),2);

Thanks again,
Nick
Attached Image (click to enlarge)
Click to Enlarge

Name: TrendStrength error.jpg
Size: 51 KB
 
 
  • Post #14
  • Quote
  • Mar 6, 2021 6:00am Mar 6, 2021 6:00am
  •  Barraka
  • Joined Jul 2017 | Status: Member | 241 Posts
There was another request for a slight modification of this indicator, and I realize that I've made quite a few changes & upgrades since the last version was uploaded, so here is the new version.

I've combined the "Standard" and "Scalping" way of calculating the RSI Trendstrength, on the same chart, so there's no need to chose. If you're on an H1 TF or above, it'll automatically show the "Standard" version (so, based on H4, D1, W1, i.e. the slow method).
Attached Image (click to enlarge)
Click to Enlarge

Name: Standard.PNG
Size: 65 KB


If you're below that H1 TF, it'll show both:
Attached Image (click to enlarge)
Click to Enlarge

Name: Scalping.PNG
Size: 50 KB

If you don't want the slow line to appear, just change it's colour to None.

I've also added 2 additional levels, they represent what you define as over-bought and over-sold, by default 80 & 20. It's used as an option in the alerts.
Here is what the settings window looks like:
Attached Image (click to enlarge)
Click to Enlarge

Name: SettingsExplained.PNG
Size: 82 KB

So the main changes are the fact that you define your 4 levels, over-bought & over-sold, and the 2 middle ones for the break-out alerts.
You can have the arrows displaying on the chart, or on the bottom window. I added that because when I'm testing a few indicators at the same time, it can get confusing which arrow corresponds to what trigger, when they all appear on the chart.

Also, now there is the ability to apply a moving average to the RSI-TS value, by default 8. If you want the real value only, change that to 1. I added it because in terms of alerts, it can get very choppy with a series of buy / sell signals in a short time, I like it to be smoothed out a bit.

To give an idea of what it looks like, here is the option with the arrows triggered "from extreme OB/OS), with default 80/20:
Attached Image (click to enlarge)
Click to Enlarge

Name: FromExtreme.PNG
Size: 51 KB


And the same chart, with the option of arrows appearing "on break above/below the middle levels":
Attached Image (click to enlarge)
Click to Enlarge

Name: FromMiddle.PNG
Size: 52 KB

That's about it, now the options give you more flexibility on what you want to do with this indicator.

As usual, please report any bugs.
Attached File(s)
File Type: ex4 RSI-TrendStrength Duo.ex4   75 KB | 252 downloads
 
2
  • Post #15
  • Quote
  • Mar 6, 2021 10:50am Mar 6, 2021 10:50am
  •  lemercenaire
  • Joined Oct 2015 | Status: Member | 18,269 Posts
Quoting Barraka
Disliked
There was another request for a slight modification of this indicator, and I realize that I've made quite a few changes & upgrades since the last version was uploaded, so here is the new version. I've combined the "Standard" and "Scalping" way of calculating the RSI Trendstrength, on the same chart, so there's no need to chose. If you're on an H1 TF or above, it'll automatically show the "Standard" version (so, based on H4, D1, W1, i.e. the slow method). {image} If you're below that H1 TF, it'll show both: {image} If you don't want the slow line...
Ignored
Great job. Thanks so much for taking the time.
 
1
  • Post #16
  • Quote
  • Edited 3:17pm Mar 6, 2021 2:39pm | Edited 3:17pm
  •  Jozec
  • | Joined Apr 2015 | Status: Member | 41 Posts
Quoting Barraka
Disliked
There was another request for a slight modification of this indicator, and I realize that I've made quite a few changes & upgrades since the last version was uploaded, so here is the new version. I've combined the "Standard" and "Scalping" way of calculating the RSI Trendstrength, on the same chart, so there's no need to chose. If you're on an H1 TF or above, it'll automatically show the "Standard" version (so, based on H4, D1, W1, i.e. the slow method). {image} If you're below that H1 TF, it'll show both: {image} If you don't want the slow line...
Ignored
You did an amazing Job.

Please check the bull/bear arrow color change option, don't think its working
 
1
  • Post #17
  • Quote
  • Mar 7, 2021 3:44am Mar 7, 2021 3:44am
  •  Barraka
  • Joined Jul 2017 | Status: Member | 241 Posts
Quoting Jozec
Disliked
{quote} You did an amazing Job. Please check the bull/bear arrow color change option, don't think its working
Ignored
You were right, I missed that one.

Modified the option, now working, uploaded on the first post.

Thanks,
 
2
  • Post #18
  • Quote
  • Mar 9, 2021 9:49am Mar 9, 2021 9:49am
  •  Barraka
  • Joined Jul 2017 | Status: Member | 241 Posts
Made another update:

You can now have arrows for both breaks of 40/60 levels, and reversals from 80/20 (or whatever you set it to).
I've enabled the possibility to have alerts.
Attached Image (click to enlarge)
Click to Enlarge

Name: Settings.PNG
Size: 26 KB


The update is on the original post.
 
 
  • Post #19
  • Quote
  • Mar 10, 2021 3:06am Mar 10, 2021 3:06am
  •  Mcxtrader
  • | Joined Jun 2017 | Status: Member | 182 Posts
Thanks for the great indicator.

Is it possible to make this indicator work for 4 hour also.

Thanks in advance.
 
 
  • Post #20
  • Quote
  • Mar 10, 2021 9:34pm Mar 10, 2021 9:34pm
  •  aud
  • | Joined Apr 2008 | Status: Member | 956 Posts
Thanks for the indi. Whilst I'm looking to use it somewhat different to how you intended, I've run into the following:

The indicator window it creates does not resize. Also any lines drawn in this window are lost when mt4 is closed and reopened.
Changing the levels is problematic, whilst changing the levels colour or line style does not stick.
The indi does not always draw, although it comes good.

I wonder if you might look a these when next working on the TrendStrength Duo?

Again thanks for what you have done so far.

Attached Image (click to enlarge)
Click to Enlarge

Name: Image 1.png
Size: 33 KB
Good Trading
 
 
  • Platform Tech
  • /
  • RSI TrendStrength History for RoadMap
  • Reply to Thread
    • Page 1 2
    • Page 1 2
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023