jiva34's BB Stop auto-trader

Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

Re: jiva34's BB Stop auto-trader

Post by Panamamike »

EnPoint wrote:
jiva34 wrote:"close on opposite signal" set to false is a winner...
Figured it might be. You get some nice runners when consulting a higher timeframe BB or even just the slow BB on the same TF. And the 5, 0.5 settings (either you or Khalad) suggested allows for some tight entry points. This is a beautiful piece of work and strategy as well. Not trading much the rest of the year but this baby will be put to work starting in Jan.
5,0.5 settings for what?
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: jiva34's BB Stop auto-trader

Post by SWG123 »

Panamamike wrote:
EnPoint wrote:
jiva34 wrote:"close on opposite signal" set to false is a winner...
Figured it might be. You get some nice runners when consulting a higher timeframe BB or even just the slow BB on the same TF. And the 5, 0.5 settings (either you or Khalad) suggested allows for some tight entry points. This is a beautiful piece of work and strategy as well. Not trading much the rest of the year but this baby will be put to work starting in Jan.
5,0.5 settings for what?
Mike - Jiva's post here:-

http://www.forexfactory.com/showthread. ... ost5132295
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: jiva34's BB Stop auto-trader

Post by SWG123 »

Cyrus7 wrote:Hey guys,

I've a problem with the illustration of the daily open/pivot lines. They are just visible until i make the first changes in the settings. Even if i switch the settings from "true" to "false" to "true" again, the lines are not on the chart.

..I hope that i'm not the only one who can't see the lines?! :)

Thanks for your help!!
Mathias
You're not - same problem here :?
User avatar
bobasker
Trader
Posts: 60
Joined: Tue Nov 15, 2011 10:12 pm
Location: I come from the land Downunder...

Re: jiva34's BB Stop auto-trader

Post by bobasker »

After a great start to the week on monday, it's been a very up and down week so far.

EU 9 wins 4 loss P/L + 8.34

AU 8 wins 1 loss P/L + 40.23

GU 10 wins 10 loss P/L - 39.34

Overall + 9.23
User avatar
bobasker
Trader
Posts: 60
Joined: Tue Nov 15, 2011 10:12 pm
Location: I come from the land Downunder...

Re: jiva34's BB Stop auto-trader

Post by bobasker »

End of the week,


EU 10 wins 5 loss P/L + 20.58

AU 9 wins 1 loss P/L + 49.19

GU 10 wins 11 loss P/L - 50.92

Overall + 18.85
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: jiva34's BB Stop auto-trader

Post by gaheitman »

Steve,

The issue mentioned below is due to the test you are using to see if the value has been set correctly. The line is:

Code: Select all

   static datetime D1OpenTime;
   if (DrawOpenPriceLine && D1OpenTime != iTime(NULL, PERIOD_D1, 0) )
OK, that's two lines. Oddly enough, it appears the static variable is staying set even though the bot is going through the init() cycle again. Who'd have thought? I didn't think that would happen, so I'll have to keep that in mind going forward.

To get around this, you can change the test to the following, and get rid of the static variable entirely.

Code: Select all

   if (DrawOpenPriceLine && ObjectGet(d1openpriceline,OBJPROP_TIME1) != iTime(NULL, PERIOD_D1, 0) )
George
SWG123 wrote:
Cyrus7 wrote:Hey guys,

I've a problem with the illustration of the daily open/pivot lines. They are just visible until i make the first changes in the settings. Even if i switch the settings from "true" to "false" to "true" again, the lines are not on the chart.

..I hope that i'm not the only one who can't see the lines?! :)

Thanks for your help!!
Mathias
You're not - same problem here :?
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: jiva34's BB Stop auto-trader

Post by SteveHopwood »

Thanks George. Even if mine worked perfectly, yours is better coding. Cheers.

Fix added and updated to post 1.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

Re: jiva34's BB Stop auto-trader

Post by Panamamike »

Panamamike wrote:Would it be possible to add a user defined code to stop trading for the day at a specified profit level? The 1 minute scalper mode for this bot could use this IMO.
Nudge
User avatar
bobasker
Trader
Posts: 60
Joined: Tue Nov 15, 2011 10:12 pm
Location: I come from the land Downunder...

Re: jiva34's BB Stop auto-trader

Post by bobasker »

Update,


EU 15 wins 6 loss P/L + 41.53

AU 11 wins 3 loss P/L + 53.57

GU 13 wins 13 loss P/L - 45.76

Overall + 49.14
User avatar
EnPoint
Posts: 5
Joined: Wed Nov 16, 2011 1:59 pm

Re: jiva34's BB Stop auto-trader

Post by EnPoint »

Might I suggest one more option? A "max open trades" function. If so, this could make for a nice carry trade bot. I plan on setting this up on a/j with TPs and minimum lots to keep DD in check.
Post Reply

Return to “Automated trading systems”