Would be better to keep the sell stop open, then to close it and reopen it again and again and agin
RoundNumberTrap
-
newbee
- Posts: 5
- Joined: Wed Jan 04, 2012 9:15 am
Re: RoundNumberTrap
When RoundNumberTrap EA has opened the stop orders and let's say, buy stop got hit into a buy trade, then RoundNumberTrap produces a lot of sell stops and closes them again always a the same time. This happens over and over again and causes a huge loss of cpu performance.
Would be better to keep the sell stop open, then to close it and reopen it again and again and agin
Would be better to keep the sell stop open, then to close it and reopen it again and again and agin
-
magft
- Trader
- Posts: 195
- Joined: Tue Nov 15, 2011 9:59 pm
- Location: East Midlands, UK
Re: RoundNumberTrap
Yes, this is a featurenewbee wrote:When RoundNumberTrap EA has opened the stop orders and let's say, buy stop got hit into a buy trade, then RoundNumberTrap produces a lot of sell stops and closes them again always a the same time. This happens over and over again and causes a huge loss of cpu performance.
Would be better to keep the sell stop open, then to close it and reopen it again and again and agin
In the words of Arnie "I'll be back!!""
-
magft
- Trader
- Posts: 195
- Joined: Tue Nov 15, 2011 9:59 pm
- Location: East Midlands, UK
Re: RoundNumberTrap
another update in post #1
- Alpenkorps
- Trader
- Posts: 213
- Joined: Thu Dec 15, 2011 4:03 am
Re: RoundNumberTrap
I am not sure if the bot is working properly, but as Mike is forward testing it, I think it is. Mike would you be kind enough to share your set file so I can be sure I am not messing with settings?
The new version is almost impossible to visually backtest (on my crappy old lappy) so I can not confirm it, but a quick non-visual backtest graph doesn't look so good.
The new version is almost impossible to visually backtest (on my crappy old lappy) so I can not confirm it, but a quick non-visual backtest graph doesn't look so good.
Take my love, take my land, Take me where I cannot stand
I don't care, I'm still free, You can't take the sky from me
I don't care, I'm still free, You can't take the sky from me
-
magft
- Trader
- Posts: 195
- Joined: Tue Nov 15, 2011 9:59 pm
- Location: East Midlands, UK
Re: RoundNumberTrap
I've put an update in post #1, let me know some dates to backtest and i will run them for you.Alpenkorps wrote:I am not sure if the bot is working properly, but as Mike is forward testing it, I think it is. Mike would you be kind enough to share your set file so I can be sure I am not messing with settings?
The new version is almost impossible to visually backtest (on my crappy old lappy) so I can not confirm it, but a quick non-visual backtest graph doesn't look so good.
Regards
Mike
- Alpenkorps
- Trader
- Posts: 213
- Joined: Thu Dec 15, 2011 4:03 am
Re: RoundNumberTrap
Excellent.
Could you please backtest January 2011 and share the graph?
If profit level reached and account is not blown, graph should be always bullish.
Could you please backtest January 2011 and share the graph?
If profit level reached and account is not blown, graph should be always bullish.
Take my love, take my land, Take me where I cannot stand
I don't care, I'm still free, You can't take the sky from me
I don't care, I'm still free, You can't take the sky from me
-
magft
- Trader
- Posts: 195
- Joined: Tue Nov 15, 2011 9:59 pm
- Location: East Midlands, UK
Re: RoundNumberTrap
Here is the test on EU using tick data. Something is not correct, i haven't got time at the moment but can look later on today.
I have the visual chart still open can go back and check the trades, i think there may still be a bug in the logic or in the way Empty4 is working. It's all good fun
Mike
I have the visual chart still open can go back and check the trades, i think there may still be a bug in the logic or in the way Empty4 is working. It's all good fun
Mike
You do not have the required permissions to view the files attached to this post.
- Alpenkorps
- Trader
- Posts: 213
- Joined: Thu Dec 15, 2011 4:03 am
Re: RoundNumberTrap
Thanks Mike, I got same result, so my settings are fine.
The error is probably in the lot multiplier, Please fix it when you have time.
I have a few other settings in mind, waiting for the EA to work properly so I can backtest them. The current setup is a bit risky, and safer setup is definitely possible.
Cheers.
The error is probably in the lot multiplier, Please fix it when you have time.
I have a few other settings in mind, waiting for the EA to work properly so I can backtest them. The current setup is a bit risky, and safer setup is definitely possible.
Cheers.
Take my love, take my land, Take me where I cannot stand
I don't care, I'm still free, You can't take the sky from me
I don't care, I'm still free, You can't take the sky from me
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: RoundNumberTrap
State #5 has a defect in it. It was looking at GetOrderLots(BuyTicketNo) which is the pending/closed ticket. It should bemagft wrote:Here is the test on EU using tick data. Something is not correct, i haven't got time at the moment but can look later on today.
I have the visual chart still open can go back and check the trades, i think there may still be a bug in the logic or in the way Empty4 is working. It's all good fun![]()
Mike
Code: Select all
SendLots=GetOrderLots(SellTicketNo)*MartingaleLotMultiplier;
George
-
magft
- Trader
- Posts: 195
- Joined: Tue Nov 15, 2011 9:59 pm
- Location: East Midlands, UK
Re: RoundNumberTrap
George, thanks for the input. That makes perfect sense not sure why i had the code the way it was as it was trying to use a closed ticket to set the lot size where a few lines above i set the ticket number to -1! whereas states 1 and 2 were correct!gaheitman wrote:State #5 has a defect in it. It was looking at GetOrderLots(BuyTicketNo) which is the pending/closed ticket. It should bemagft wrote:Here is the test on EU using tick data. Something is not correct, i haven't got time at the moment but can look later on today.
I have the visual chart still open can go back and check the trades, i think there may still be a bug in the logic or in the way Empty4 is working. It's all good fun![]()
Mike
Looking further, state #6 seems to have the same problem with the same fix.Code: Select all
SendLots=GetOrderLots(SellTicketNo)*MartingaleLotMultiplier;
George
Update in post #1
Regards
Mike