Tyrone Chan / Publications
Forum
Muti terminal interference
dear traders, i have installed 3 MT5 terminals and trade with 3 different accounts with the same EA with differenct magic numbers. my problem is that they seem to be interfere with each other. For example, the EA is set to allow only maximum 1 position. It works fine for using 1 EA on 1 MT5
Questions for using class
Dear all, class CMovingAverage { private : string m_Symbol; // Symbol ENUM_TIMEFRAMES m_Timeframe; // Timeframe int m_Period; // Period for the moving average ENUM_MA_METHOD m_Method; // Type of moving average
Interference of passing value to variables
My trading strategy is martingale that if there is deficit and next order is ready to open based on signal. I coded some functions for handling buy and sell orders seperately. Problem 1. if I change the cindition from "if (ticketBuy[position] == -1)" to "if ( orderType == OP_BUY &&
How to exclude "Modify" under Type of Result in Strategy Tester Report?
Thanks in advance. "Modify" appears very often in backtest report as below and how can I hide it
Logic is correct apparently but wrong result (only buy orders showed)
I create a function for open orders as below and shows only buy orders. The EA allows both buy and sell orders and others remains no difference. However, if I remove the words in red (i.e. orderType == OP_BUY and orderType == OP_SELL ), both buy and sell orders are open. Any advice why such