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

Pipcruiser's Pipmasher 'n' Grid
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4611
Page 2 of 5
Author:  patmontes [ Thu Mar 03, 2016 3:24 am ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

This is Version 1 H4
Setfile attached... :good:
Haven't had the chance to test on Daily yet
Author:  bazze [ Thu Mar 03, 2016 3:22 pm ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

I get loooots of these error, using patmontes set file?
Author:  patmontes [ Thu Mar 03, 2016 4:25 pm ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

Oh I'm still using version 1
Author:  bazze [ Thu Mar 03, 2016 9:47 pm ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

patmontes » Thu Mar 03, 2016 5:25 pm wrote:Oh I'm still using version 1
Could you please share it?
Author:  Gertje [ Thu Mar 03, 2016 11:14 pm ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

patmontes » Thu Mar 03, 2016 3:24 am wrote:This is Version 1 H4
Setfile attached... :good:
Haven't had the chance to test on Daily yet
What currency is your account?
Author:  Peepaws [ Fri Mar 04, 2016 4:06 am ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

OH MY GOD, move over Steve! I managed to fix the Arraysort error myself :yahoo:
Arraysort.jpg

I searched Arraysort in crapeditor and found only one entry, and it had to do with FIFO, which I do not need. Commented it out, compiled and no more error and the pairs that were giving errors will now trade!

Line 3195 ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);

changed to

Line 3195 //ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);

So anyway if you're not in the US this should work for you. I'm ready to be shot down now! 8-)
Author:  SteveHopwood [ Fri Mar 04, 2016 11:18 am ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

Peepaws » Fri Mar 04, 2016 4:06 am wrote:OH MY GOD, move over Steve! I managed to fix the Arraysort error myself :yahoo:

I searched Arraysort in crapeditor and found only one entry, and it had to do with FIFO, which I do not need. Commented it out, compiled and no more error and the pairs that were giving errors will now trade!

Line 3195 ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);

changed to

Line 3195 //ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);

So anyway if you're not in the US this should work for you. I'm ready to be shot down now! 8-)
Fantastic to see you work this out for yourself. :clap: :clap: :clap: :clap: I love seeing people delving under the bonnet.

Can you do me a favour please? Can you try this:

Code: Select all

if (ArraySize > 0)
         ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);
to see if the error arises because there were no ticket numbers to sort? A zero size array would probably throw up the error.

:xm:
Author:  Peepaws [ Fri Mar 04, 2016 1:51 pm ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

Can you do me a favour please? Can you try this:

Code: Select all

if (ArraySize > 0)
         ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);
to see if the error arises because there were no ticket numbers to sort? A zero size array would probably throw up the error.

:xm:
Didn't work fully but isn't causing errors in the expert tab.
Author:  martyw [ Fri Mar 04, 2016 8:14 pm ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

Peepaws » 04 Mar 2016, 14:51 wrote:
Can you do me a favour please? Can you try this:

Code: Select all

if (ArraySize > 0)
         ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);
to see if the error arises because there were no ticket numbers to sort? A zero size array would probably throw up the error.
Didn't work fully but isn't causing errors in the expert tab.
try

Code: Select all

if (ArraySize(FifoTicket) > 0)
         ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);
 
Author:  SteveHopwood [ Fri Mar 04, 2016 9:52 pm ]
Post subject:  Pipcruiser's Pipmasher 'n' Grid

martyw » Fri Mar 04, 2016 8:14 pm wrote:
try

Code: Select all

if (ArraySize(FifoTicket) > 0)
         ArraySort(FifoTicket, WHOLE_ARRAY, 0, MODE_DESCEND);
 
Please try this on Monday. It was what I intended to type but missed out the important bit. Thanks martyw. :clap:

:xm:
All times are UTC Page 2 of 5