Hi, I am not sure if this function is all ready in the EA or not.
I would like the EA to close all orders at
ProfitAsPercentageOfEquity.
I would like the EA to close all orders at
ProfitAsPercentageOfEquity.
BASKET TRADE Management: Using multiple trade management EA's on basket trades 9 replies
Alternative Trade Management/Money Management Methods 3 replies
multi-purpose Stoch Alert 11 replies
DislikedHi Steve,
I'm testing Brijon EA with MPTM as per your set file.
Since the EA doesn't open the same number of orders maybe would be interesting to enable a dynamic PipProfit Calcultion based on number of orders, so we can set a minimum PipProfit per order.
What do you think?
Cheers
gspeIgnored
DislikedI am trying out the hedge function with the following settings (set file attached too) with GoMarkets broker.
HedgeAtLossPips=50
HedgeLotsPercent=50.00000000
HedgingIncrementPips=50
HedgeTradeStopLoss=30
HedgeTradeTakeProfit=50
However, when the attached trade reached the hedge trigger level not only it did not open a hedge trade but also I am getting a continuos stream of the following error in the expert panel
2011.02.28 04:23:45 Multi purpose trade manager EURUSD,H1: Error = invalid stops
Help appreciated.Ignored
DislikedSteve,
small bug in MPTM function CloseBasketTrades():
it should have the additional check on "AllTradesBelongToBasket" if you don't drive the Basket with MagicNumbers or TradeComments:
(just like in CalculateBasketPL() ):
if ((ManageByMagicNumber && OrderMagicNumber()==MagicNumber) || (ManageByTradeComment && OrderComment()==TradeComment) || AllTradesBelongToBasket)
SqIgnored
DislikedHi Steve,
I'm testing Brijon EA with MPTM as per your set file.
Since the EA doesn't open the same number of orders maybe would be interesting to enable a dynamic PipProfit Calcultion based on number of orders, so we can set a minimum PipProfit per order.
What do you think?
Cheers
gspeIgnored
DislikedCheers Sq.
I have made the change; update from post 1 as usual. This is not a serious bug for anyone not using the basket features, but it is wise to update anyhow; you never know when you might find yourself doing exactly this.
Ignored
DislikedI found that while setting up a fresh account today to run B exclusively, and setup MPTM in pure basket with no MagicNumber filter (useless in this case).
This is a very unusual case i agree.
SqIgnored
DislikedI am trying out the hedge function with the following settings (set file attached too) with GoMarkets broker.
HedgeAtLossPips=50
HedgeLotsPercent=50.00000000
HedgingIncrementPips=50
HedgeTradeStopLoss=30
HedgeTradeTakeProfit=50
However, when the attached trade reached the hedge trigger level not only it did not open a hedge trade but also I am getting a continuos stream of the following error in the expert panel
2011.02.28 04:23:45 Multi purpose trade manager EURUSD,H1: Error = invalid stops
Help appreciated.Ignored
DislikedI know this is not the right place but I am getting similar error in The Old Beast EA too (EA is running with full default settings). No error shows up in journal though
2011.02.28 22:00:02 The Old Beast GBPUSD,H1: GBPUSD OP_SELLSTOP order send failed with error(130): invalid stops
2011.02.28 22:35:57 The Old Beast AUDUSD,H1: AEB setting of breakeven SL AUDUSD ticket no 36706048 failed with error (130): invalid stops
Last one I have got as an alert messsage too.
What could be the problem? Something with GoMarkets broker?Ignored
DislikedThe update had a logic failure - I accommodated x digit crims twice.
Fix in post 1.
Ignored
DislikedHi Steve,
I was just testing out the new global profit features and had inputs like what you mentioned a few posts up, except for only managing one pair, however it closed all my trades (different pairs) when it hit the required amount of pips. Is this a bug or does global profit have to work this way? I just assumed I could use global profit on one or only several pairs, as well as all trades.
regards,
MurrayIgnored
DislikedYou are confusing basket with global closure. Global means the entire position regardless of how the trades were generated.
This is a classic example of why even mptm must be demo-traded until users are comfortable with it.
Ignored
DislikedThanks Steve, it was demo, just testing mptm to try and watch how it worked and confirm what i thought would happen, which was obviously wrong.
cheers,
murrayIgnored