Does Anyone Love Volatility Besides Me? NR4/ID indicator needs an adjustment

Rainmaker

Trader
Mar 8, 2019
12
2
19
34
I love volatility contractions and expansions (a lot there to glean as a trader);).

But this indicator does not wait for the close of the candle before it gives the signal.

It will give the signal based on the candle open (which 99% of candles open inside the previous one).
Even when the candle closes and it is NOT a narrow range inside candle (NR4/ID) it will keep the candle painted with the square-shaped wing-ding.

Please help us traders out here as I cannot find this indicator in proper form.

Many thanks. :)
 

Attachments

  • nr4id.mq4
    1.4 KB · Views: 14

Rainmaker

Trader
Mar 8, 2019
12
2
19
34
Try changing this line to this:
MQL4:
  for(i=Bars-IndicatorCounted()-1;i>=0;i--){
to this:
MQL4:
  for(i=Bars-IndicatorCounted()-1;i>=1;i--){


Thanks a ton of pips!!! Enivid I think that did it. WOW!! So simple. :D

Is there a place I can make a donation? I really appreciate your help.

And on behalf of all traders out there. Thank you for your contribution to the trading community. ;)

Let me know about that donation.

Best Regards,
Rainmaker


P.S. Here is the fixed indicator for anyone who wants it.
 

Attachments

  • nr4id.ex4
    8.8 KB · Views: 8
  • 👍
Reactions: Enivid

Rainmaker

Trader
Mar 8, 2019
12
2
19
34
Thanks but we don't accept donations. Recommending EarnForex.com to your friends or shooting us review at TrustPilot or Web of Trust is always welcome though.

I'm really glad it solved the issue!


No problem. I will definitely leave a review and shout from the hilltops about this place!

Have a wonderful day,
Rainmaker