Dukascopy
 
 
Wiki JStore Search Login

help with convert dax strategy to jforex visual
 Post subject: help with convert dax strategy to jforex visual Post rating: 0   New post Posted: Sat 28 Apr, 2018, 19:04 

User rating: 0
Joined: Sat 28 Apr, 2018, 18:45
Posts: 1
Location: Czech Republic,
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? ;)


Attachments:
DE_H1_80010149_S_HA_1620_CF_F_F_Ba_TRP-TV.zip [46.88 KiB]
Downloaded 207 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com