Pitbul: Brian's strategy automated

Post Reply
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: Pitbul: Brian's strategy automated

Post by SteveHopwood »

Latest update in post 1, in response to this pm from Panamamike:
"I believe I have a good configuration and way of trading Pitbul. If you could add a function that stops trading for the day at a specified choice of dollar amount or % of equity amount, it would make my testing easier and complete how I intend to trade with it. I know you have a lot of projects on, but that would be great."

I have coded the quickest and simplest method, a cash daily profit. The input is BasketCashDailyTarget, found in the Basket closure inputs section.

:D

Edit: Hehe. Oops. Just looked two posts higher up. Sorry Mike - missed it.
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: Pitbul: Brian's strategy automated

Post by Panamamike »

U da MAN!!!
User avatar
jjgengis
Trader
Posts: 39
Joined: Thu Nov 24, 2011 8:45 pm
Location: Bologna - Italy

Re: Pitbul: Brian's strategy automated

Post by jjgengis »

Hi,

I noticed that with "0" value the new Basket closure function doesn't disable it.

I think that this row

Code: Select all

if (OverallProfit >= BasketCashDailyTarget )


should be written like this

Code: Select all

if (OverallProfit >= BasketCashDailyTarget && BasketCashDailyTarget > 0)
In my Empty4 V.4.09 on Alpari UK Criminal run well.

JJ
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: Pitbul: Brian's strategy automated

Post by SteveHopwood »

jjgengis wrote:Hi,

I noticed that with "0" value the new Basket closure function doesn't disable it.

I think that this row

Code: Select all

if (OverallProfit >= BasketCashDailyTarget )


should be written like this

Code: Select all

if (OverallProfit >= BasketCashDailyTarget && BasketCashDailyTarget > 0)
In my Empty4 V.4.09 on Alpari UK Criminal run well.

JJ
Lovely bit of bloop-spotting. Thanks.

Fixed and uploaded 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.
zk745678
Posts: 2
Joined: Thu Jan 12, 2012 10:56 pm

Re: Pitbul: Brian's strategy automated

Post by zk745678 »

Hi to all,

i tested pitbul EA now for 3 days and i have great results. (18wins and 6 loses) But EA have a litle bug. When EA close positions, hi dont open the new one. If i close Empty4 and open him again then EA open new positions. I change only Basket Cash Daily Target from 5 to 100. Thanks for help!
zk745678
Posts: 2
Joined: Thu Jan 12, 2012 10:56 pm

Re: Pitbul: Brian's strategy automated

Post by zk745678 »

EA have closed my open positions and he dont open new one again. I reset Empty4 and EA have open new position!! Something its wrong 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: Pitbul: Brian's strategy automated

Post by SteveHopwood »

zk745678 wrote:EA have closed my open positions and he dont open new one again. I reset Empty4 and EA have open new position!! Something its wrong here!!
Listen up deadhead. One thing you must learn about me is that I cannot stand it when people post in such a way that proves conclusively that they are too stupid to read post 1 in my threads properly.

I take a lot of care writing my post 1 every time. There are times that it takes longer to write post 1 than it took to code the bot.

So, ask yourself this; is there really something wrong and you are the only one to have spotted it, or are you being a moron?

Now, which bit of this from post 1 is causing you difficulties: "The EA looks for trades at the start of each candle chosen in TradingTimeFrame."

Go back to post 1 and read it again, properly this time. Google words that you do not understand.

Stop being stupid and annoying me, or I will remove your registration and you will no longer be able to do anything at all here. Annoy me again and this will happen automatically; I do not give second warnings. This is a forum for intelligent adults able to think for themselves, not the likes of you.

Think twice before replying and then change your mind about doing so.
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.
User avatar
Durante
Trader
Posts: 26
Joined: Wed Dec 28, 2011 11:59 am
Location: Brisbane, Australia

Re: Pitbul: Brian's strategy automated

Post by Durante »

Has anybody here watched this bot trade after midnight in their own time zone? Will it reset the virtual basket at midnight and then again at absolute time. I was just wondering because midnight for me is around NY open and I see at this time the virtual basket resets on all pairs other than that of the chart on which the EA sits. Could this potentially cause false trades to be sent or have I entirely misunderstood the concept of this bot? I have it on a 15 min chart with relative_mode = false.
Thanks
User avatar
faze
Trader
Posts: 18
Joined: Thu Dec 08, 2011 11:19 pm

Re: Pitbul: Brian's strategy automated

Post by faze »

try setting timeframe to 1h, for some reason I think I remember having problems when running it on a chart with a low timeframe.
User avatar
Durante
Trader
Posts: 26
Joined: Wed Dec 28, 2011 11:59 am
Location: Brisbane, Australia

Re: Pitbul: Brian's strategy automated

Post by Durante »

faze wrote:try setting timeframe to 1h, for some reason I think I remember having problems when running it on a chart with a low timeframe.

Thanks for the suggestion. I gave that a try but no cigar. I guess it's something to do with a new day ticking over. Not a real problem though, I'm happy enough to let it just do its thing for the earlier session.
Post Reply

Return to “Automated trading systems”