This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
basic backtestingBack to topics list |
|
kylefoley76
2010.03.16 12:18
this code is for prorealtime but i imagine mt4 would not
be that much different.
i'm trying to set up a backtest where the stop loss is set to zero after the price goes above 50 pips. maybe with your computer know-how you could get the answer here's what i got so far but it doesn't work once x = longonmarket and x and ((high - entryquote) > .0050 if longonmarket and x and (low - entryquote < 0) then sell 20 %capital at market endif what do you think i'm doing wrong? |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
