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.
Range Bar Generator Help [Solved]
-
DigitalCrypto
- Trader
- Posts: 237
- Joined: Tue Feb 24, 2015 4:38 am
Range Bar Generator Help [Solved]
You do not have the required permissions to view the files attached to this post.
Last edited by DigitalCrypto on Wed May 10, 2017 8:50 pm, edited 1 time in total.
- renexxxx
- Trader
- Posts: 860
- Joined: Sat Dec 31, 2011 3:48 am
Range Bar Generator Help
Hi David,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.
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.
You do not have the required permissions to view the files attached to this post.
-
DigitalCrypto
- Trader
- Posts: 237
- Joined: Tue Feb 24, 2015 4:38 am
Range Bar Generator Help
Thanks Rene! I will have a look in a few and check it out.
-
DigitalCrypto
- Trader
- Posts: 237
- Joined: Tue Feb 24, 2015 4:38 am
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
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
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
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.

Send me a PM if the case gets reopened and I will unlock this thread.
Thanks again Rene. You are a total star.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.