hello everyone, I am newbie in Jforex and I would you ask for help with convert my strategy to Jforex Visual or Jforex java.
I have strategy in mt4 code with this logic .
timezone UTC+1
time limit 16h-20h
exit at friday 21:30
====================================================================
== Entry conditions
====================================================================
LongEntryCondition = MACD(12, 26, 9) > 0
ShortEntryCondition = MACD(12, 26, 9) < 0
====================================================================
== Entry orders
====================================================================
-- Long entry
if LongEntryCondition is true {
if No position is open then Buy at HeikenAshiOpen(2) + (0.5 * 171.0 pips) Stop;
Stop/Limit order expires after 16 bars.
Stop Loss = 37 pips;
Profit Target = 145 pips;
// Profit trailing (on close)
Profit Trailing by 24 pips;
}
-- Short entry
if ShortEntryCondition is true {
if No position is open then Sell at HeikenAshiOpen(2) + (-0.5 * 171.0 pips) Stop;
Stop/Limit order expires after 16 bars.
Stop Loss = 37 pips;
Profit Target = 145 pips;
// Profit trailing (on close)
Profit Trailing by 24 pips;
}
I attached backtest. It was optimised on 1 year. Rest of years are out of sample.
Please anybody can help me?
Are here some programers who wants cooperate?