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

jiva34's BB Stop auto-trader
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3
Page 6 of 16
Author:  greyfox [ Wed Nov 16, 2011 11:40 pm ]
Post subject:  Re: jiva34's BB Stop auto-trader

I loaded AA v2.1 and after a while it took a trade. Got a time out error first, Empty4 is miserably slow here right now. It's getting hammered by the way, EU with a buy on.
Author:  SteveHopwood [ Wed Nov 16, 2011 11:44 pm ]
Post subject:  Re: jiva34's BB Stop auto-trader

greyfox wrote:I loaded AA v2.1 and after a while it took a trade. Got a time out error first, Empty4 is miserably slow here right now. It's getting hammered by the way, EU with a buy on.
Hehe. I bet. My EU (M15 chart) is a sell and is +52 at the mo, with a jumping stop locked in.

:D
Author:  Panamamike [ Thu Nov 17, 2011 3:18 am ]
Post subject:  Re: jiva34's BB Stop auto-trader

I have a demo running with the latest version on both a 15 min and 1 min chart. I did not have a MN for either. The 15 was in a long trade. When the 1 min triggered short, it closed the 15 min long trade. I have now put in a magic number on the 15 min chart to see if that makes a difference. I was surprised to see that happen. There was no SL for it to hit and it was not close to changing signal on the 15 min chart.
Author:  gaheitman [ Thu Nov 17, 2011 7:46 am ]
Post subject:  Re: jiva34's BB Stop auto-trader

The code does respect Magic Numbers so that should do the trick.

Steve,

Should the code set the magic number to the Period() if the user doesn't set it themselves to prevent this sort of accident? Or perhaps you can start numbering your bots by the 100,000's and make the magic number UniqueBotNumber + Period(). Of course, you'll run out of numbers after you finished 21,474 bots, so maybe that's not a good idea. :D

George
Panamamike wrote:I have a demo running with the latest version on both a 15 min and 1 min chart. I did not have a MN for either. The 15 was in a long trade. When the 1 min triggered short, it closed the 15 min long trade. I have now put in a magic number on the 15 min chart to see if that makes a difference. I was surprised to see that happen. There was no SL for it to hit and it was not close to changing signal on the 15 min chart.
Author:  mieloo [ Thu Nov 17, 2011 8:39 am ]
Post subject:  Re: jiva34's BB Stop auto-trader

morning guys.

i'm still trading with +5 tp, and the results are good.
i wonder if it could be possible to implement a max SL to each trade.
As i'm sure u all know the price can do anything anytime. the last example of incredible price action was during the greek vote few months ago when i saw a gap of over 100 pips in EurUsd (the most liquid pair ) happening in the middle of the day. i used to work for a criminal and i saw clients loosing their money , even going on negative balance because of gaps. usually the criminals guarantee the SL even if they have no price if the gap happens when the market is already open.

so if it is possible it would be nice if we could choose a max SL.
if the price close over the band and price < max. SL, the order is closed
if the price reaches max. SL but didn't close over the band, the order is closed

hope it is possible :)
Author:  gaheitman [ Thu Nov 17, 2011 8:58 am ]
Post subject:  Re: jiva34's BB Stop auto-trader

Steve can confirm, but the code for including a set stop loss is already in there. If you set the stop loss number of pips (and take profit for that matter) in the EA settings at launch time, it will include them in the trades it sends.

George
mieloo wrote:morning guys.

i'm still trading with +5 tp, and the results are good.
i wonder if it could be possible to implement a max SL to each trade.
As i'm sure u all know the price can do anything anytime. the last example of incredible price action was during the greek vote few months ago when i saw a gap of over 100 pips in EurUsd (the most liquid pair ) happening in the middle of the day. i used to work for a criminal and i saw clients loosing their money , even going on negative balance because of gaps. usually the criminals guarantee the SL even if they have no price if the gap happens when the market is already open.

so if it is possible it would be nice if we could choose a max SL.
if the price close over the band and price < max. SL, the order is closed
if the price reaches max. SL but didn't close over the band, the order is closed

hope it is possible :)
Author:  mieloo [ Thu Nov 17, 2011 9:35 am ]
Post subject:  Re: jiva34's BB Stop auto-trader

i saw the SL , but i believe that if u choose a fix SL the bot will always close the trade when SL is touched. The band does not matter anymore. Or i might be wrong....
Author:  gaheitman [ Thu Nov 17, 2011 10:02 am ]
Post subject:  Re: jiva34's BB Stop auto-trader

That is correct, but isn't that what you wanted? You just have to pick the max SL so it doesn't interfere with normal operation of the bot. It would then act as an emergency SL.

Perhaps I misunderstood your criteria. It's been a long morning already and it's only 5:00 am here. :>
mieloo wrote:i saw the SL , but i believe that if u choose a fix SL the bot will always close the trade when SL is touched. The band does not matter anymore. Or i might be wrong....
Author:  Kimmy [ Thu Nov 17, 2011 11:08 am ]
Post subject:  Re: jiva34's BB Stop auto-trader

I can confirm through recent testing that I have done that if you enter a hard SL and TP that it does not interfere with the workings of the Bot.
for example if you decide that you wish to have a max loss of 10 pips per trade then the trade will close at -10 and then wait for a new signal, in the opposite direction of the one you have just been in. However if the Bot has a new signal at let's say -6 then it will over ride the hard SL and close the open trade at -6 and take the new signal (as long as it meets any filter criteria)
also, if you wish to have an emergency SL of say 30 pips incase of loss of internet connection, gaps etc then the Bot will NOT hold the trade until it reaches -30 and will still close the trade when it receives a signal in opposite direction.
These rules apply to the TP in the same way.

Hope this helps ;)
Author:  DragosDanescu [ Thu Nov 17, 2011 11:21 am ]
Post subject:  Re: jiva34's BB Stop auto-trader

Kimmy wrote:I can confirm through recent testing that I have done that if you enter a hard SL and TP that it does not interfere with the workings of the Bot.
for example if you decide that you wish to have a max loss of 10 pips per trade then the trade will close at -10 and then wait for a new signal, in the opposite direction of the one you have just been in. However if the Bot has a new signal at let's say -6 then it will over ride the hard SL and close the open trade at -6 and take the new signal (as long as it meets any filter criteria)
also, if you wish to have an emergency SL of say 30 pips incase of loss of internet connection, gaps etc then the Bot will NOT hold the trade until it reaches -30 and will still close the trade when it receives a signal in opposite direction.
These rules apply to the TP in the same way.

Hope this helps ;)
It's true, if opposite signal comes faster than SL, close is at opposite signal, so hard SL is ignored.It works correctly!
All times are UTC Page 6 of 16