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

The FLOW Plus ALR EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4255
Page 2 of 13
Author:  hopfi2k [ Mon May 18, 2015 4:48 pm ]
Post subject:  The FLOW Plus ALR EA

Fine EA here :good:

Seeing OP_SELLSTOP order send failed with error(3): invalid trade parameters in the log on GP ...

As the previous log entry says: Placing Sell Stop for 8.120000000000001 of AUDCAD at 0.00000 I assume two things (can't fix myself, no source...):

1. NormalizeDouble for lot size calculation missing - maybe
2. Something wrong for the stop stop calculation

Btw. I'm using ALR_AutoTPandSL set to TRUE (which obviously is the reason, because setting to false calculates the SL/TP correctly). I'm not sure if the automatic calculation isn't done yet or needs some fixing (if you want me to look into it, just drop me a note)

Cheers,
Andy
Author:  milanese [ Mon May 18, 2015 5:00 pm ]
Post subject:  The FLOW Plus ALR EA

hopfi2k » Mon May 18, 2015 4:48 pm wrote:Fine EA here :good:

Seeing OP_SELLSTOP order send failed with error(3): invalid trade parameters in the log on GP ...

As the previous log entry says: Placing Sell Stop for 8.120000000000001 of AUDCAD at 0.00000 I assume two things (can't fix myself, no source...):

1. NormalizeDouble for lot size calculation missing - maybe
2. Something wrong for the stop stop calculation

Btw. I'm using ALR_AutoTPandSL set to TRUE (which obviously is the reason, because setting to false calculates the SL/TP correctly). I'm not sure if the automatic calculation isn't done yet or needs some fixing (if you want me to look into it, just drop me a note)

Cheers,
Andy
Hi Andy the automatic calculation is not correct embedded so far, so please use the setting ALR_AutoTPandSL=false I will do an update without this user selectable input, as it is for the strategy not previsted to use the auto calaculation...

Cheers :)

Tommaso
Author:  milanese [ Mon May 18, 2015 5:10 pm ]
Post subject:  The FLOW Plus ALR EA

The EA is updated to version 1.08 I removed the ALR_AutoTPandSL code and I added a new normalize lot code to the ALR manager part, that should make this part more stable and avoid errors..

Cheers :)

Tommaso
Author:  hopfi2k [ Mon May 18, 2015 5:23 pm ]
Post subject:  The FLOW Plus ALR EA

milanese » Mon May 18, 2015 6:00 pm wrote:
hopfi2k » Mon May 18, 2015 4:48 pm wrote:Fine EA here :good:

Seeing OP_SELLSTOP order send failed with error(3): invalid trade parameters in the log on GP ...

As the previous log entry says: Placing Sell Stop for 8.120000000000001 of AUDCAD at 0.00000 I assume two things (can't fix myself, no source...):

1. NormalizeDouble for lot size calculation missing - maybe
2. Something wrong for the stop stop calculation

Btw. I'm using ALR_AutoTPandSL set to TRUE (which obviously is the reason, because setting to false calculates the SL/TP correctly). I'm not sure if the automatic calculation isn't done yet or needs some fixing (if you want me to look into it, just drop me a note)

Cheers,
Andy
Hi Andy the automatic calculation is not correct embedded so far, so please use the setting ALR_AutoTPandSL=false I will do an update without this user selectable input, as it is for the strategy not previsted to use the auto calaculation...

Cheers :)

Tommaso
Excellent! Thanks Tommaso!

Cheers,
Andy
Author:  Dewey McG [ Tue May 19, 2015 6:02 pm ]
Post subject:  The FLOW Plus ALR EA

Now that we have an EA to play with we can run some back tests to compare settings.

I did a comparison on the EU using both 40/120 and 50/150. for testing purposes I set max trades to 20 and max drawdown really high (I forget exactly) in order to see just how many turns it would take and how much drawdown would be needed.

The interesting difference is that while 50/150 made less money, the draw down was also much less. The max was 15 turns.
Author:  federicoo [ Tue May 19, 2015 10:18 pm ]
Post subject:  The FLOW Plus ALR EA

Dewey McG » Tue May 19, 2015 6:02 pm wrote:Now that we have an EA to play with we can run some back tests to compare settings.

I did a comparison on the EU using both 40/120 and 50/150. for testing purposes I set max trades to 20 and max drawdown really high (I forget exactly) in order to see just how many turns it would take and how much drawdown would be needed.

The interesting difference is that while 50/150 made less money, the draw down was also much less. The max was 15 turns.
Hi Dewey, I think the difference of profit in both BT is due just to the different of the total number of trades. If you limit the number of trades for both combination cases, in order to take the same number of trades for both, you will do a better comparison of results.

BR,
Protec
Author:  rapple [ Tue May 19, 2015 11:45 pm ]
Post subject:  The FLOW Plus ALR EA

Thanks for the great work on this EA

I have set up FLOW on a DEMO account with a starting capital of 'just $2000' and using the Flow40 set file.

ALR has been triggered a few times. Best example is GPBNZD which went through 6 turns and still closed at a small profit. :clap:

Just wanted to check if there is a minimum starting capital for the ALR calculations to still be valid. Sorry if you posted this elsewhere.

KR Richard
Author:  Dewey McG [ Tue May 19, 2015 11:54 pm ]
Post subject:  The FLOW Plus ALR EA

federicoo » Tue May 19, 2015 6:18 pm wrote:
Hi Dewey, I think the difference of profit in both BT is due just to the different of the total number of trades. If you limit the number of trades for both combination cases, in order to take the same number of trades for both, you will do a better comparison of results.

BR,
Protec
Good point. As I do more tests we will get a better idea
Author:  Dewey McG [ Tue May 19, 2015 11:55 pm ]
Post subject:  The FLOW Plus ALR EA

rapple » Tue May 19, 2015 7:45 pm wrote:Thanks for the great work on this EA

I have set up FLOW on a DEMO account with a starting capital of 'just $2000' and using the Flow40 set file.

ALR has been triggered a few times. Best example is GPBNZD which went through 6 turns and still closed at a small profit. :clap:

Just wanted to check if there is a minimum starting capital for the ALR calculations to still be valid. Sorry if you posted this elsewhere.

KR Richard
with 2000 I wouldn't go any larger than .03 lots for initial order
Author:  federicoo [ Wed May 20, 2015 12:06 am ]
Post subject:  The FLOW Plus ALR EA

Dewey McG » Tue May 19, 2015 11:54 pm wrote:
federicoo » Tue May 19, 2015 6:18 pm wrote:
Hi Dewey, I think the difference of profit in both BT is due just to the different of the total number of trades. If you limit the number of trades for both combination cases, in order to take the same number of trades for both, you will do a better comparison of results.

BR,
Protec
Good point. As I do more tests we will get a better idea

Dewel, I were thinking about a hedge strategy with ALR. This is sending a buy and sell position at the same time, RR 1:1. One of these will get the TP and the other one will be recovered by ALR. This way we will get a winner all time we send the hedge...
All times are UTC Page 2 of 13