I know basic mql4. I have mq4 for my trading idea which is similar to below one:
https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=7&t=9877I got java code by using Jforex converter and used coding for trading only on specific instruments and periods. It compiled successfully but doesn't open any trade in history tester.
Support programmer can you make a simple strategy using below signal idea
open long if MA1>MA2, close long position if MA1<MA2
open short if MA1<MA2, close short postion if MA1>MA2
Configurable parameters
@Configurable("Instrument")
@Configurable("Amount")
@Configurable("Slippage")
@Configurable("Time frame")
@Configurable("MA1 type")
@Configurable("MA1 time period")
@Configurable("MA2 type")
@Configurable("MA2 time period") ;
@Configurable("Offer side")
@Configurable("Applied price")
I hope I will learn something from your code.
Thank you