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

Pitbul: Brian's strategy automated
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=328
Page 15 of 19
Author:  SteveHopwood [ Tue Mar 27, 2012 10:27 am ]
Post subject:  Re: Pitbul: Brian's strategy automated

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.
Author:  Panamamike [ Tue Mar 27, 2012 2:25 pm ]
Post subject:  Re: Pitbul: Brian's strategy automated

U da MAN!!!
Author:  jjgengis [ Thu Mar 29, 2012 7:34 pm ]
Post subject:  Re: Pitbul: Brian's strategy automated

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
Author:  SteveHopwood [ Thu Mar 29, 2012 8:21 pm ]
Post subject:  Re: Pitbul: Brian's strategy automated

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
Author:  zk745678 [ Fri Mar 30, 2012 6:14 am ]
Post subject:  Re: Pitbul: Brian's strategy automated

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!
Author:  zk745678 [ Fri Mar 30, 2012 11:52 am ]
Post subject:  Re: Pitbul: Brian's strategy automated

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!!
Author:  SteveHopwood [ Fri Mar 30, 2012 9:50 pm ]
Post subject:  Re: Pitbul: Brian's strategy automated

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.
Author:  Durante [ Thu Apr 05, 2012 5:03 am ]
Post subject:  Re: Pitbul: Brian's strategy automated

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
Author:  faze [ Thu Apr 05, 2012 9:58 am ]
Post subject:  Re: Pitbul: Brian's strategy automated

try setting timeframe to 1h, for some reason I think I remember having problems when running it on a chart with a low timeframe.
Author:  Durante [ Thu Apr 05, 2012 2:40 pm ]
Post subject:  Re: Pitbul: Brian's strategy automated

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.
All times are UTC Page 15 of 19