FM / Publications
Forum
Should I use constant or value of the constant?
Hi, I am a novice as you can see. If I want the EA to trade only on daily chart should I use the constant as below if (Period() == PERIOD_D1) or should use the value as below if (Period() == 1440) Both seem to do the trick but don't know which is the proper way to do it. Thanks
Is the sample MACD EA working??
I have loaded the MACD Sample EA that comes with MT5 to test it, but in a week, it did not open any trades. Of course, I have M5 properly set to allow EAs automatic execution, but no trades. I tried it for 4 days on the hourly chart on EURUSD pair, and then changed to 5 min. chart for last day, and