Is the swap calculated during backtesting (by ontester section) in MetaTrader5 ? And does it calculate correctly? That is, does it calculate the swap for each day, or does it use a fixed swap rate? If Yes , I don't see it in the report. I tried it in both cases: Every tick and Every tick based on real ticks.
- Testing indicators
- Real and Generated Ticks - Algorithmic Trading, Trading Robots
- Strategy Testing - Algorithmic Trading, Trading Robots
Jo Jomax:
Is the swap calculated during backtesting (by ontester section) in MetaTrader5 ? And does it calculate correctly? That is, does it calculate the swap for each day, or does it use a fixed swap rate? If Yes , I don't see it in the report. I tried it in both cases: Every tick and Every tick based on real ticks.
Is the swap calculated during backtesting (by ontester section) in MetaTrader5 ? And does it calculate correctly? That is, does it calculate the swap for each day, or does it use a fixed swap rate? If Yes , I don't see it in the report. I tried it in both cases: Every tick and Every tick based on real ticks.
It calculates the swap as per specfication in the symbol. If the symbol has zero swap, no swap will be charged. This depends on your broker.
Is the swap calculated correctly? No. The current day swap is used to for the entire backtest. That is, if you have a hundred year test, the swap rates of today are charged a century ago.
Enrique Dangeroux #:
Thank you. So I think it is better to calculate the swap by mql5(if it's possible).
It calculates the swap as per specfication in the symbol. If the symbol has zero swap, no swap will be charged. This depends on your broker.
Is the swap calculated correctly? No. The current day swap is used to for the entire backtest. That is, if you have a hundred year test, the swap rates of today are charged a century ago.
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