It should be a great improvement!
Commissions could become a crucial factor to care of when scalping the market.
Posts made by enochj
-
RE: Including broker commissions?posted in Questions & Answers
-
RE: Set slippage as a double rather than an intposted in Questions & Answers
Apparently, there's something wrong with slippage control. I'm using an EA on a Pepperstone account which is a slippage maniac broker, and dispite of having set a max tolerated slippage at 0.7 (I've tried with higher values as well), orders are validated even with a slippage of 4 pips.
-
RE: Including broker commissions?posted in Questions & Answers
I'm wondering if it could be possible, for backtesting EAs, to add a kind of function to include the known broker commission factor in each profit and each loss according to lot size?
This, for example, could be only shown on the chart as a final number at the end of the backtest.
-
RE: Set slippage as a double rather than an intposted in Questions & Answers
Thanks mate! Excellent.
By manually, I meant to do it by myself into the MetaEditor.

-
RE: Set slippage as a double rather than an intposted in Questions & Answers
Is this possible without doing it manually?
It isn't that hard to replace, but well, it could be better to have it done automatically.
Or perhaps, MT4 can't read it as a double variable?
Thx.
-
RE: BreakEvenposted in Bug Reports
Actual BreakEven management is done this way:
double be_offset=0; if (BEoffsetMode=="pips") {be_offset=toDigits(BEPoffsetPips);} ModifyStops(attrTicket(),attrOpenPrice()+be_offset,attrTakeProfit());Isn't this better, so that the Stop will be set above open price in long trades, and below in short ones?
double be_offset=0; double Modif=0; if (BEoffsetMode=="pips") {be_offset=toDigits(BEPoffsetPips);} if (attrType()==OP_BUY) {Modif=attrOpenPrice()+be_offset;} if (attrType()==OP_SELL) {Modif=attrOpenPrice()-be_offset;} ModifyStops(attrTicket(),Modif,attrTakeProfit());Excellent soft BTW!
