Forum

Not able to stop trading in friday and from 20:00 to 21:00 in ΕΑ

Good afternoon, I'm writing and EA in MQL5 with Bollinger Bands based on example I've found on this site. I'm trying to say to the EA to stop trading Friday at 21:00 (server time) and during the week to avoid to trade from 20:00 to 21:00. Unfortunately during the backtesting it doesn't work. Below

Equity curve trading help

Good morning, I would like to implement an EA that runs two EAs in one. The first that send only virtual orders and deserves only to check that the equity curve is above or below its moving average. The second identic to the virtual one that send real order to the broker and is active only when the

iCustom function doesn't work in my EA

Good morning, I have used an indicator I have found on MQL5 (The Vortex indicator (VI+ and VI-) with moving average on the VI+ curve). Now I am trying to build an EA using this indicator and I've used the ICustom function to create the handle in the expert advisor. Unfortunately when I backtest the

Equity curve trading money management system in MQL5. How to implement it?

Good afternoon, I am almost a newbie. I would like to implement an equity curve trading money management system in my EA in MQL5. Equity curve trading system deals with two value, the equity using one contract (or lot) and the its moving average at 30 periods. When the equity cross his moving