EDSEL does fine on CL and GC and S. Also on YM.garyfritz wrote: I wonder if anyone has tried applying 10.x logic to commodity markets??
Have not tried it on any other market.
Z
EDSEL does fine on CL and GC and S. Also on YM.garyfritz wrote: 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.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??
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.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
Hi ,SteveHopwood wrote: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.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
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)
*/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.milanese wrote:Hi ,SteveHopwood wrote: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.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
it is jet there in code but outcommented
CheersCode: 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) */
Tommaso