| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Gertje plus Squalou plus Forexhard EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=485 |
Page 9 of 18 |
| Author: | acostafulano [ Tue Apr 24, 2012 6:37 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Steve, even though the bot has been profitable on some pairs I've seen something that I'm not sure is on purpose: Sometimes The boxrange gets drawn, the trade triggers, the grid develops, etc... and after the basket of trades hits its take profit, it inmmediately opens a new trade in the same direction it ended , messing up the grid and using the previous one for opposite direction entry (instead of resetting and re-drawing the box and waiting for a new breakout)... This happens very often when after the initial breakout the basket closes for profit without the mid box opposite trigger line gets touched. the problem is that the grid line remains from the previous box, leaving a gap and causing DD. It's hard to explain by words specially since this is not my first language. Hopefully the examples will clear this out: This is by far the EA with most potential I've seen by you here or in FF. All it needs is optimizing grid size and TP for each pair (working on that). |
|
| Author: | SteveHopwood [ Tue Apr 24, 2012 7:50 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Looking into it. Guys, when you post charts please remove that stupid grid from them (Ctrl + G). The damn thing serves no purpose whatsoever and makes some of your charts nigh impossible to make any sense of. |
|
| Author: | SteveHopwood [ Tue Apr 24, 2012 8:47 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
The instant re-entry thingy is a design fault - I had omitted to code a check that the market is within the box before drawing the pending trade lines. The bot discovers they are missing and there are no open trades, so it draws the lines, which triggers a trade on the next tick. Well-behaved little bot; does as its told. Fix in post 1. Coders, go to void ReadIndicatorValues() and find this block at the end of the function: Code: Select all Code: Select all Code: Select all |
|
| Author: | SteveHopwood [ Tue Apr 24, 2012 9:01 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
The fix appears to be working. I restarted the demo and the box hilo lines are only drawn when the Bid is inside the box. |
|
| Author: | kwchau [ Tue Apr 24, 2012 11:42 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
I put it to a demo, the multiple thingy happens again. Steve, appreciate a lot if you can look into it. |
|
| Author: | acostafulano [ Tue Apr 24, 2012 12:15 pm ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Great. Thanks |
|
| Author: | SteveHopwood [ Tue Apr 24, 2012 12:15 pm ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
There is industrial strength code in all my bots to avoid this, plus enough advice all over these boards about what to do about it when your crim finds a way of defeating it. Change criminals. There is nothing more I can do. |
|
| Author: | SteveHopwood [ Tue Apr 24, 2012 12:17 pm ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
The fix is still not quite right. Some of my demo charts have triggered buys and the sell line has vanished. |
|
| Author: | trader689 [ Tue Apr 24, 2012 12:42 pm ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
everything is OOTB default, apart from fixed lot size 0.1 and box length = 15 . so cashprofit target 1000, cashprofitperlot 0.0 and pipsprofit target 100. pip gap (pips between trades) is indeed 20. demo is now up to $2260 with a -$50 floating drawdown at the moment.
|
|
| Author: | SteveHopwood [ Tue Apr 24, 2012 4:05 pm ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
One more update in post 1, solving the disappearing pending trade line thingy. I had coded the bot to delete these lines when the G++ is removed - even if all you do is close down your platform in order to download an update, Empty4 removed everything from the charts, then replaces them when you fir up again. I have prevented the deletion if there are trades open. For the coders, go to int deinit() Code: Select all |
|
| All times are UTC | Page 9 of 18 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|