renatops, I think it is a really good idea to use the AccountFreeMargin() to determine the next position size as a MM qs opposed to the account balance that do not reflect the real situation.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
renatops, I think it is a really good idea to use the AccountFreeMargin() to determine the next position size as a MM qs opposed to the account balance that do not reflect the real situation.
S.
Thanks
Thanks renatops,
I will give it a try.
Though I will use
double GetSizeLot()
{
return(NormalizeDouble(AccountFreeMargin()/StopLoss*RiskLevel,1));
}
as I want to use it when testing and on demo.
using RiskLevel = 0.03 or 3%
So if my accountfreemargin is 1000 and my stoploss is 50 then
lots = (1000/50*0.03) = 0.6 right?
at risklevel = 1 or 100%
lots = (1000/50*1) = 20 - all my available account free margin if I should hit my stoploss. I see the light!
Backtest IS REALLY TRUE?
i used this expert in my 2 brokers
EUR/USD M30 TP 15 SL 15 SEMA=3 Lema=20 LOT=0.1 Initial Deposit=1000$
And my RESULT IN one broker 3333 PIP Spread=3
And Another Broker 11666 PIP Spread=2
WHY different MY Result ?
AnyBOdy Know ?
THE BACKTEST IS REALLY TRUST?
hi amir
i used this expert in my 2 brokers
EUR/USD M30 TP 15 SL 15 SEMA=3 Lema=20 LOT=0.1 Initial Deposit=1000$
And my RESULT IN one broker 3333 PIP Spread=3
And Another Broker 11666 PIP Spread=2
WHY different MY Result ?
AnyBOdy Know ?
THE BACKTEST IS REALLY TRUST?which EA exactly do you use?
here are many EA.do you use the latest version one?
thanks
i would be delighted if i see the others specially like you have activity in this froum.ofcourse you know for what.anyway.
Ema_cross_2
hi kamyar
i used EMA_CROSS_2.mq4 and cross shortema=3or5 longema=20
is real good such as backtest ?
best wishes for you.
lots calculator
Interesting EA.
Forward testing
I've started a forward testing on my simple EA EMA CROSS.
And this is the statement till now.
hello codersguru,
which FT, please ?
Thx
Hi,
My foward test from EMACross D1 TF
Cheers
TimeFrame: Daily
hello codersguru,
which FT, please ?
Thxhello BrunoFX,
TakeProfit: 130
Lots: 1
TrailingStop:20
TimeFrame: Daily