michelino:
hi,
is there any way in backtesting to know the percent of total backtesting time the EA have been in the market? somthing like tradestation performance report do?
thanks
One way to figure this out is to go to strategy testers Results tab and see the average position holding time and multiply this by the number of trades then this product is divided by the backtest period. There might be simpler ways to do it but this should get the job done.
Cheers,
Candles
EDIT:
Please note that this method is not 100% accurate in every case though :(
Oh and of course one approach if to solve this programmatically. One could code a block that keeps track of the time the EA is exposed to the markets and logs this somewhere.
Candles:
Oh and of course one approach if to solve this programmatically. One could code a block that keeps track of the time the EA is exposed to the markets and logs this somewhere.
Oh and of course one approach if to solve this programmatically. One could code a block that keeps track of the time the EA is exposed to the markets and logs this somewhere.
ok.
thanks
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi,
is there any way in backtesting to know the percent of total backtesting time the EA have been in the market? somthing like tradestation performance report do?
thanks