Why does ProOrder not work on EURJPY?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #98292 quote
    Sascha
    Participant
    Average

    Hi,

    I created a system for the EURJPY which had lots of conditions but somehow it just didn’t get any result. So I reduced and reduced the conditions until only one simple condition was left (a moving average crossover). But it still doesn’t produce any result on the EURJPY.  I can’t see where the issue is so my conclusion is that ProOrder has a problem.

    The same rules applied to for example GBPUSD creates lots of trades.

    Anyone any idea what the issue is with ProOrder?

    I attached the shortest version of my code, which is not a system anymore. But simply wanted to see if ProOrder is able to work with just one condition in EURJPY (which it doesn’t).

    Thanks for any help.

    Sascha

    // Definition of code parameters
    DEFPARAM CumulateOrders = False // Cumulating positions deactivated
    
    // Prevents the system from placing new orders on specified days of the week
    daysForbiddenEntry = OpenDayOfWeek = 6 OR OpenDayOfWeek = 0
    
    SMA50 = Average[50](close)
    
    //------------------------------------------------------------------------------
    // CONDITIONS TO ENTER LONG POSITIONS
    IF ( ExponentialAverage[8] crosses over ExponentialAverage[21] ) AND not daysForbiddenEntry THEN
    BUY 1 SHARES AT MARKET
    barorder=barindex
    ATR = Averagetruerange[14]
    
    // Stops and targets
    SET STOP LOSS 1*atr + 1*pointsize
    SET TARGET PROFIT 1*atr + 1*pointsize
    
    ENDIF
    
    // Conditions to exit long positions
    e1 = (close < SMA50)
    
    IF e1 and (barindex-barorder>=1 ) THEN //and barorder>0
    SELL AT MARKET
    barorder=0
    ENDIF
    
    #98296 quote
    Nicolas
    Keymaster
    Master

    It works for me. Do you have the same problem with other forex pairs with JPY? If yes, you should try to expand the initial balance in the backtest window, it is in Yen so it could be not enough to open 1 position.

    #98356 quote
    Sascha
    Participant
    Average

    Hi Nicolas,

    That was indeed the issue. Thanks so much!!

    Sascha

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Why does ProOrder not work on EURJPY?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Sascha @goedelsa Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Sascha
6 years, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/13/2019
Status: Active
Attachments: No files
Logo Logo
Loading...