stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Range Bar Generator Help [Solved]
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5169
Page 1 of 1
Author:  DigitalCrypto [ Mon May 08, 2017 6:01 pm ]
Post subject:  Range Bar Generator Help [Solved]

Hey Guys and Gals,

I found a range bar generator written by Mladen back in the day. I made some modifications to it to get the M15 ATR(480) for the best range bar size for some ideas I am back testing.

There's a small problem with it though. It seems that no matter if I tell the EA to show gaps or not it will always show the gaps. This causes problems sometimes because I need to see that a bar opened above and closed below a certain price. If it gaps then the trade would get missed.

So I was wondering if someone that actually knows what they are doing could help out to make it NOT show the gaps.

Much appreciated.
Author:  renexxxx [ Wed May 10, 2017 7:04 am ]
Post subject:  Range Bar Generator Help

DigitalCrypto ยป Tue May 09, 2017 4:01 am wrote: So I was wondering if someone that actually knows what they are doing could help out to make it NOT show the gaps.
Hi David,

I have had a little look at the code and although I don't quite know what I'm doing I made a change (see attached), that allows you to stop the gaps (by setting ShowGaps = false).

Have a look.
Author:  DigitalCrypto [ Wed May 10, 2017 7:18 am ]
Post subject:  Range Bar Generator Help

Thanks Rene! I will have a look in a few and check it out.
Author:  DigitalCrypto [ Wed May 10, 2017 8:47 pm ]
Post subject:  Range Bar Generator Help

Sorry for the delay as I had fallen asleep. It's hard to keep the hours when I live in the west.

What I had meant to say is that the opens and closes are gapped even when I told it not to in the settings but you have fixed it!

Perfect TY!

I will put this in the other post and delete the broken one.

Case Closed :clap:

terminal_2017-05-10_15-45-03.png
Author:  SteveHopwood [ Wed May 10, 2017 9:30 pm ]
Post subject:  Range Bar Generator Help [Solved]

I have locked the topic now the case is closed, to avoid possible confusion in the future.

Send me a PM if the case gets reopened and I will unlock this thread.

Thanks again Rene. You are a total star. :clap: :clap: :clap: :clap: :clap:

:xm:
All times are UTC Page 1 of 1