milanese » Thu May 15, 2014 4:35 pm wrote:4XLord » Thu May 15, 2014 4:13 pm wrote:
Hi Milanese!
I'm having some issues understanding/configuring the "MPBM" to my needs...
I need to trail my basket @ total +5pips profit, then I want to lock 3 pips profit, and after that, continuing trailing the profit basket at 1 pip step. How should I configure it?
Regards,
4XL
I think this explains very good all settings
Code: Select all
extern string gen = "----- General inputs -----";
extern int MagicNumber = 0;
extern string TradeComment = "";
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
extern string tpsl = "----- Take profit and stop loss -----";
extern string tpi = "--- Take profit ---";
extern string tpp = "Pips TP";
extern int AdaptivePipsTakeProfit = 50; //Pips per open trade. A zero input will disable this.
extern int PipsTakeProfit = 0; //Hard tp, overridden by AdaptivePipsTakeProfit
extern string ctp = "Cash TP";
extern int CashTakeProfit = 0; //integer declaration is deliberate - no need to muck around with pence
extern double RewardPercentageTakeProfit = 0; //Percent of balance to use as cash tp. Zero to disable
extern string sli = "--- Stop loss ---";
extern string tsl = "Pips SL";
extern int AdaptivePipsStopLoss = 75; //Pips per open trade. A zero input will disable this.
extern int PipsStopLoss = 0; //Hard sl, overridden by AdaptivePipsStopLoss
extern string csl = "Cash SL";
extern int CashStopLoss = 0; //integer declaration is deliberate - no need to muck around with pence
extern double RiskPercentageStopLoss = 0; //Percent of balance to use as sl. Zero to disable
extern string bei = "Break even";
extern int BreakEvenProfitPips = 200; //Set to zero to disable this function
extern int BreakEvenProfitPipsLock = 20;
extern int AdaptiveBreakEvenProfitPips = 25; //Set to zero to disable this function
extern int AdaptiveBreakEvenProfitPipsLock = 10; //Pips per open trade. A zero input will disable this.
int BreakEvenProfitCash = 0; //Set to zero to disable this function
int BreakEvenProfitCashLock = 0;
extern string jsli = "Jumping stop loss";
extern int JumpingStopPips = 0; //Zero to disable
extern int AdaptiveJumpingStopPips = 15; //Zero to disable
Cheers:)
Tommaso
Hi Tommaso,
I can't implement my basket management strategy with the MPBM version...
Would it be possible to just add to the "classic" MPTM_Global, the feature: TrailingStopPips?
e.g.
extern string sep20 = "---------------------------------------------------------------------";
extern string bin7 = "----Basket trailing stop settings----";
extern bool BasketTrailingStop = false;
extern double BasketTsAtProfit = 1;
extern double BasketTrailPercent = 75;
extern double BasketTrailPips = 10; (with BasketTrailPercent feature)
Thank you very much
Regards