Good morning, I'm making this new topic to ask about the strategy that is on the JForex API wiki:
https://www.dukascopy.com/wiki/#SMA_CrossoverI have a question about it, I just put the exact same code into a strategy in my jforex platform, and when I test it, I very often get OPPOSIEe signals to what it should be. Where normally you should get a BUY, there is a SELL. It doesn't always happen, but it happens very often. Just check it for yourself, by running the visual version of the strategy that I linked *it's the second strategy on that webpage, which provides signals on the chart).
Just run it with the default parametrs (2, 5) and you'll see.
Can you please tell me if there is something I'm doing wrong or something wrong with the code? (Visual version of strategy on this webpage).