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

Holy Graily Bob 'n Grid
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4525
Page 74 of 99
Author:  droland [ Tue Apr 19, 2016 5:35 pm ]
Post subject:  Holy Graily Bob 'n Grid

Cyberevil.

Steve is always promoting people to roll up their sleeves and do some coding. This is very simple.

Right click on the EA in the Navigator panel and click Modify.
Scroll down past the entry talk and you will find the extern entries. Find the one or ones you want to change and do so.
Hit the compile button and you have your personal settings encoded into the EA.

Remember, you have to do this with every update. No shortcuts there.
Author:  cyberevil [ Tue Apr 19, 2016 5:38 pm ]
Post subject:  Holy Graily Bob 'n Grid

droland » April 19th, 2016, 9:35 am wrote:Cyberevil.

Steve is always promoting people to roll up their sleeves and do some coding. This is very simple.

Right click on the EA in the Navigator panel and click Modify.
Scroll down past the entry talk and you will find the extern entries. Find the one or ones you want to change and do so.
Hit the compile button and you have your personal settings encoded into the EA.

Remember, you have to do this with every update. No shortcuts there.
Thanks droland... did some googling and you're right. Doesn't seem like you can import set files.
Author:  SteveHopwood [ Tue Apr 19, 2016 6:23 pm ]
Post subject:  Holy Graily Bob 'n Grid

Westco28 has just pm'd me with a teensy bloop that causes an OutOfArray error. :clap: :clap: :clap:

This is no biggie so I am not uploading a fix. Offsetting is going to cause more updates so I will include the fix with the next version.

Line 4933 is
for (cc = 0; cc <= NoOfTrades; cc++)

It needs to be:
for (cc = 0; cc < NoOfTrades; cc++)

:xm:
Author:  oliverjp [ Tue Apr 19, 2016 6:39 pm ]
Post subject:  Holy Graily Bob 'n Grid

You can import Set files by clicking on the Load button in the EA settings.

Once you have modified any Externs the way you want them in the code, you can also Save them as a Set file from the EA settings and then subsequently can Load them onto any new EA version that comes out to save you having to modify any Externs again (as long as they have the same name in the new code).

All the best

Jeff


cyberevil » Tue Apr 19, 2016 5:38 pm wrote:
droland » April 19th, 2016, 9:35 am wrote:Cyberevil.

Steve is always promoting people to roll up their sleeves and do some coding. This is very simple.

Right click on the EA in the Navigator panel and click Modify.
Scroll down past the entry talk and you will find the extern entries. Find the one or ones you want to change and do so.
Hit the compile button and you have your personal settings encoded into the EA.

Remember, you have to do this with every update. No shortcuts there.
Thanks droland... did some googling and you're right. Doesn't seem like you can import set files.
Author:  SteveHopwood [ Wed Apr 20, 2016 8:47 am ]
Post subject:  Humungous bloop alert

V 1w is in post 1, with a fix for three humungous bloops. We have shychan to thank for a really good piece of detail spotting. :clap: :clap: :clap:

Lines 5035 and 6523:
if (Stop_And_Limit_Orders)

should be
if (GridType == Stop_And_Limit_Orders)

line 5044
if (Stop_Orders_Only)

should be
if (GridType == Stop_Orders_Only)

This fix is essential. It needs to be applied to any previous version. You can find the three lines by doing a search for
if (Stop_And_Limit_Orders)
and
if (Stop_Orders_Only)

:xm:
Author:  desi [ Wed Apr 20, 2016 12:18 pm ]
Post subject:  Holy Graily Bob 'n Grid

SteveHopwood » Tue Apr 19, 2016 1:23 pm wrote:Westco28 has just pm'd me with a teensy bloop that causes an OutOfArray error. :clap: :clap: :clap:

This is no biggie so I am not uploading a fix. Offsetting is going to cause more updates so I will include the fix with the next version.

Line 4933 is
for (cc = 0; cc <= NoOfTrades; cc++)

It needs to be:
for (cc = 0; cc < NoOfTrades; cc++)

:xm:
This correction is missing in the version w.
Thanks for all your hard work.
Author:  piter44 [ Wed Apr 20, 2016 12:27 pm ]
Post subject:  Holy Graily Bob 'n Grid

I'm running version 1v and strategy placed both stop and limit orders regardless of settings
Author:  DoctorGremlin [ Wed Apr 20, 2016 12:40 pm ]
Post subject:  Holy Graily Bob 'n Grid

piter44 » 11 minutes ago wrote:I'm running version 1v and strategy placed both stop and limit orders regardless of settings
This is corrected in version 1w.
Author:  SteveHopwood [ Wed Apr 20, 2016 3:11 pm ]
Post subject:  Holy Graily Bob 'n Grid

desi » Wed Apr 20, 2016 12:18 pm wrote:
SteveHopwood » Tue Apr 19, 2016 1:23 pm wrote:Westco28 has just pm'd me with a teensy bloop that causes an OutOfArray error. :clap: :clap: :clap:

This is no biggie so I am not uploading a fix. Offsetting is going to cause more updates so I will include the fix with the next version.

Line 4933 is
for (cc = 0; cc <= NoOfTrades; cc++)

It needs to be:
for (cc = 0; cc < NoOfTrades; cc++)

:xm:
This correction is missing in the version w.
Thanks for all your hard work.
Thanks. I will correct it in the next version. It doesn't matter for now as we cannot use offsetting - the code does not work.

:xm:
Author:  oliverjp [ Wed Apr 20, 2016 4:37 pm ]
Post subject:  Programmagically loading multiple sets of Settings

PS Rather than clutter this thread up, I have done a longish post on "Programmagically loading multiple sets of Settings" in the Coders Hangout section of the site. Might be of interest to coders thinking about ways of providing easy management of banks of Settings by EndUsers. For those just starting out in coding, I would recommend giving it a miss as it will likely give you a headache which I refuse to be responsible for :?

All the best

Jeff


oliverjp » Tue Apr 19, 2016 6:39 pm wrote:You can import Set files by clicking on the Load button in the EA settings.

.... blah, blah, blah...
All times are UTC Page 74 of 99