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

Bob and Shelley Again
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=2759
Page 48 of 120
Author:  zTB [ Tue Oct 15, 2013 9:32 am ]
Post subject:  Re: Bob and Shelley Again

garyfritz wrote: I wonder if anyone has tried applying 10.x logic to commodity markets??
EDSEL does fine on CL and GC and S. Also on YM.

Have not tried it on any other market.

Z
Author:  yamez [ Wed Oct 16, 2013 9:10 am ]
Post subject:  Re: Bob and Shelley Again

garyfritz wrote: Trade-with-the-trend aka Bob might have worked well in that old commodity environment. These days though, the commodities don't trend as well as they used to, so even Bob's approach might not work. I wonder if anyone has tried applying 10.x logic to commodity markets??
I am trying the following using Shelly's live BASA settings on DEMO. Some of the stock indices trended well at times throughout the year.

XAGUSD, XAUUSD, HK40, DE30, ND, AUS200, STOXX50, UK100, JP225, S&P500, DJ, OIL.X3, GAS, HO, Wheat, Corn, Soybean, Sugar, Coffee

Trades taken so far this week.
Author:  SteveHopwood [ Wed Oct 16, 2013 5:55 pm ]
Post subject:  Re: Bob and Shelley Again

V 2f is in post 1. I realised today that we can have part-close of risk-based lot sizes by using the order comment field. Brokers change the comment field if we close part of a trade, so BASA knows it can close the required part of the trade if this field contains either the main or reentry trade comment.

You do not need the update if you are not wanting to part-close risk based lot trades.

Make sure the code works on demo before using this on your live accounts.

:D
Author:  SteveHopwood [ Wed Oct 16, 2013 8:22 pm ]
Post subject:  Re: Bob and Shelley Again

A little note about the difference between broker feeds. Remember, this is a strategy that trades at the open of a new H4 candle.

My Cowboy IBFX (gmt, I think) play account took a chfjpy buy at 12.00 broker time on the 14th Oct. At 19.56 the same day, half the trade closed and the stop moved to BE. The leftover closed at 9.00 the following day after the market tanked.

By comparison, my GP (gmt + 3) took the trade 2 (3? don't know) hours later and so missed the move upwards that allowed the lock in of profits that the Cowboy IBFX account caught. Two days later, the trade is still grunging around. It has been up a bit, then down not far above my stop loss - and costing me swap.

What a difference a couple of hours makes.

:D
Author:  hopfi2k [ Fri Oct 18, 2013 4:22 pm ]
Post subject:  Re: Bob and Shelley Again

Steve,

Latest V2f is doing extremely well on 1h charts - at least for me. Fine job - congrats!

One thing I noticed: when enabling partial close, I might make sense to add a small check if lot size is > min. lot size - otherwise partial close will fail and you the user gets an error message (not the end of the world, but well :-)

Cheers,
Andy
Author:  trader689 [ Fri Oct 18, 2013 4:31 pm ]
Post subject:  Re: Bob and Shelley Again

andy what settings do you use on H1 charts? thanks in advance
hopfi2k wrote:Steve,

Latest V2f is doing extremely well on 1h charts - at least for me. Fine job - congrats!

One thing I noticed: when enabling partial close, I might make sense to add a small check if lot size is > min. lot size - otherwise partial close will fail and you the user gets an error message (not the end of the world, but well :-)

Cheers,
Andy
Author:  SteveHopwood [ Fri Oct 18, 2013 4:38 pm ]
Post subject:  Re: Bob and Shelley Again

hopfi2k wrote:Steve,

Latest V2f is doing extremely well on 1h charts - at least for me. Fine job - congrats!

One thing I noticed: when enabling partial close, I might make sense to add a small check if lot size is > min. lot size - otherwise partial close will fail and you the user gets an error message (not the end of the world, but well :-)

Cheers,
Andy
Hehe. I expect people to be able to work out for themselves whether their lot size allows part-closure. If they cannot even do that for themselves they are in real trouble trying to trade Forex.

:D
Author:  milanese [ Fri Oct 18, 2013 4:44 pm ]
Post subject:  Re: Bob and Shelley Again

SteveHopwood wrote:
hopfi2k wrote:Steve,

Latest V2f is doing extremely well on 1h charts - at least for me. Fine job - congrats!

One thing I noticed: when enabling partial close, I might make sense to add a small check if lot size is > min. lot size - otherwise partial close will fail and you the user gets an error message (not the end of the world, but well :-)

Cheers,
Andy
Hehe. I expect people to be able to work out for themselves whether their lot size allows part-closure. If they cannot even do that for themselves they are in real trouble trying to trade Forex.

:D
Hi ,

it is jet there in code but outcommented ;)

Code: Select all

 /*
   //check Partial close parameters
   if (PartCloseEnabled == true)
   {
      if (Lot < Close_Lots + Preserve_Lots || Lot < MarketInfo(Symbol(), MODE_MINLOT) + Close_Lots )
      {
         Alert(Symbol()+" PartCloseEnabled is disabled because Lot < Close_Lots + Preserve_Lots or Lot < MarketInfo(Symbol(), MODE_MINLOT) + Close_Lots !");
         PartCloseEnabled = false;
      }//if (Lot < Close_Lots + Preserve_Lots || Lot < MarketInfo(Symbol(), MODE_MINLOT) + Close_Lots )
   }//if (PartCloseEnabled == true)
   */
Cheers :)

Tommaso :)
Author:  SteveHopwood [ Fri Oct 18, 2013 5:46 pm ]
Post subject:  Re: Bob and Shelley Again

milanese wrote:
SteveHopwood wrote:
hopfi2k wrote:Steve,

Latest V2f is doing extremely well on 1h charts - at least for me. Fine job - congrats!

One thing I noticed: when enabling partial close, I might make sense to add a small check if lot size is > min. lot size - otherwise partial close will fail and you the user gets an error message (not the end of the world, but well :-)

Cheers,
Andy
Hehe. I expect people to be able to work out for themselves whether their lot size allows part-closure. If they cannot even do that for themselves they are in real trouble trying to trade Forex.

:D
Hi ,

it is jet there in code but outcommented ;)

Code: Select all

 /*
   //check Partial close parameters
   if (PartCloseEnabled == true)
   {
      if (Lot < Close_Lots + Preserve_Lots || Lot < MarketInfo(Symbol(), MODE_MINLOT) + Close_Lots )
      {
         Alert(Symbol()+" PartCloseEnabled is disabled because Lot < Close_Lots + Preserve_Lots or Lot < MarketInfo(Symbol(), MODE_MINLOT) + Close_Lots !");
         PartCloseEnabled = false;
      }//if (Lot < Close_Lots + Preserve_Lots || Lot < MarketInfo(Symbol(), MODE_MINLOT) + Close_Lots )
   }//if (PartCloseEnabled == true)
   */
Cheers :)

Tommaso :)
Nice spot Tommaso. It is left-over code from the conversion from MTPM. Variousfurther conversions have taken the function still further away and the code will not work - even MPTM's code is radically different now. It could probably be made to work but I cannot be bothered.

:D
Author:  fchaman [ Fri Oct 18, 2013 6:50 pm ]
Post subject:  Re: Bob and Shelley Again

Only one pair(audcad) traded today (out of 20 pairs following)...closed half at +30 pips, and the rest is up +47pips at breakeven+2...looking good so far!
All times are UTC Page 48 of 120