bin1496 / Publications
Forum
When EA cross a new day, indicator return wrong data
Hi everyone I'm trying to write an EA based on MACD indicator . Below is my framework. It works almost okay, but has a very strange bug I couldn't handle. I did much effort to search some posts but found nothing helpful. #define MAX_NUM_HISTORY_MACD_DATA 40 ENUM_TIMEFRAMES MyTimeFrame = PERIOD_M5 ;