Pathfinder Trading System

Viewing 15 posts - 1,591 through 1,605 (of 1,835 total)
  • Author
    Posts
  • #60073 quote
    Gianluca
    Participant
    Master

    Hello Guys I tried myself on Gold with the Version 7 and Reiners position multiplier.

    Sorry i’ve put some modification on IT, less risk, good reward too 🙂

    GraHal and O-jay8 thanked this post
    #60079 quote
    Reiner
    Participant
    Veteran

    Hi O-jay8, Hi Gianluca,

    Thank you for your contribution. Attached you will find a Pathfinder 4H V7 version for gold as I would parameterize it. Gold has a low drawdown with 100% risk for a 10k euro account. Unfortunately also a low profit (picture 1).

    // dynamic scaling of the chance/risk profile depending on account size
    ONCE startRisk                     = 1     // start risk level e.g 0.25 - 25%, 0.5 - 50%, 0.75 - 75%, 1 - 100% and so on
    ONCE maxRisk                       = 1     // max risk level e.g  1.5 - 150%
    ONCE increaseRiskLevel             = 500   // amount of profit from which the risk is to be increased
    ONCE increaseRiskStep              = 0.5   // step by which the risk should be increased
    

    So that it pays off at the end I would start with 50% risk and then upscaled e. g. to 300% (picture 2).

    // dynamic scaling of the chance/risk profile depending on account size
    ONCE startRisk                     = 0.5   // start risk level e.g 0.25 - 25%, 0.5 - 50%, 0.75 - 75%, 1 - 100% and so on
    ONCE maxRisk                       = 3     // max risk level e.g  1.5 - 150%
    ONCE increaseRiskLevel             = 500   // amount of profit from which the risk is to be increased
    ONCE increaseRiskStep              = 0.5   // step by which the risk should be increased
    

    The risk controller offers the possibility to manage the risk individually.

    Caution: is only a trial version and the results are not yet verified in demo or life!

    O-jay8 and wp01 thanked this post
    #60094 quote
    Gianluca
    Participant
    Master

    d I would start with 50% risk and then upscaled e. g. to 300% (picture 2).

    Hi @Reiner, still thank to you, i’ve put this parametres cause i want to start with less money, 😉

     

    / dynamic scaling of the chance/risk profile depending on account size
    ONCE startRisk                     = 0.25  // start risk level e.g 0.25 - 25%, 0.5 - 50%, 0.75 - 75%, 1 - 100% and so on
    ONCE maxRisk                       = 5     // max risk level e.g  1.5 - 150%
    ONCE increaseRiskLevel             = 2000  // amount of profit from which the risk is to be increased
    ONCE increaseRiskStep              = 0.50  // step by which the risk should be increased
    
    // size calculation: size = positionSize * trendMultiplier * saisonalPatternMultiplier * scaleFactor
    ONCE positionSize                  = 1     // default start size
    ONCE trendMultiplier               = 2     // >1 with dynamic position sizing; 1 without
    ONCE maxPositionSizePerTrade       = 20     // maximum size per trade
    ONCE maxPositionSizeLong           = 20    // maximum size for long positions
    ONCE maxPositionSizeShort          = 20    // maximum size for short positions
    #60112 quote
    actionjackson
    Participant
    Senior

    @Gianluca

    different instruments, the backtest is for a 1 Euro mini contract

    #60188 quote
    Gianluca
    Participant
    Master

    @gianluca different instruments, the backtest is for a 1 Euro mini contract

    Yes, but the pic i’ve postet is with Reiner settings.

    #60195 quote
    wp01
    Participant
    Master

    https://www.esma.europa.eu/sites/default/files/library/esma35-43-904_call_for_evidence_-_potential_product_intervention_measures_on_cfds_and_bos_to_retail_clients.pdf

    Not very good news for small accounts if the proposals from ESMA regarding margins of cfd’s pass through for NON-professional accounts.

    Attached an example of the margin of the current positions and after the proposal of the ESMA. (these are normal contracts by the way, not mini’s)

    traderfred and dajvop thanked this post
    #60450 quote
    mcosta
    Participant
    Average

    The earning be improved by exiting the position when MAE < stopMae (i.e stopMae=300); may anyone post the code for exiting position when MAE reach a fixed value?

    #60484 quote
    wp01
    Participant
    Master

    Reiner,

    The minimum positionsize for the Gold is 10. In this code 1 is used and will be rejected when it tries to open a position like yesterday.

    If i multiply the positions by 10 it still can not open a position when the risk-level is lower than 1 in the periods Aug2 and Dec1.

    In these periods the positions should be changed to 0 or 2 or at least the risk-level should be at minimum 1 if you want to trade these periods.

    kind regards,

    Patrick

    Reiner thanked this post
    #60494 quote
    Reiner
    Participant
    Veteran

    Hi Patrick,

    Thanks for this information. 10 Euro per pip is another game. With these requirements it’s better to trade the Gold mini 10 oz (10$) underlying. Attached you will find the best version I found for the maximum available history. The first picture is for 100% risk and the second start with 50% risk and scaled up until 150%.

    best regards,

    Reiner

    wp01 and Henrik thanked this post
    #60499 quote
    wp01
    Participant
    Master

    Thanks for the quick reply Reiner. Really appreciated.

    I changed the instrument into 10Oz.

    Kind regards,

    Patrick

    #60526 quote
    Reiner
    Participant
    Veteran

    @mcosta

    your idea is worth a test. If I understand you correctly, you are looking for a MAE trailing stop mechanism. Please find attached a code snippet how you can do this.

    // MAE trailing stop function
    modeMAETrailing = 2 // 0 = off, 1 = static or 2 dynamic in relation to take profit
    
    IF (modeMAETrailing = 1) THEN
    startMAETrail = 1100 // e.g. Euro
    exitMAE       = 300  // e.g. Euro
    ELSIF (modeMAETrailing = 2) THEN
    IF LONGONMARKET THEN
    startMAETrail = (positionprice * pointvalue * countofposition / pipsize) * takeProfitLong / 100 * 0.5 // 50% of max take profit
    exitMAE = startMAETrail * 0.3 // 30% of max take profit
    ENDIF
    IF SHORTONMARKET THEN
    startMAETrail = ABS((positionprice * pointvalue * countofposition / pipsize) * takeProfitShort / 100 * 0.4) // 40% of max take profit
    exitMAE = startMAETrail * 0.1 // 10% of max take profit
    ENDIF
    ENDIF
    
    IF (modeMAETrailing <> 0) THEN
    
    IF NOT ONMARKET THEN
    maxProfit = 0
    activeMAETrail = 0
    ENDIF
    
    maxProfit = MAX(maxProfit, posProfit)
    
    // activate
    IF activeMAETrail = 0 AND posProfit >= startMAETrail THEN
    activeMAETrail = 1
    ENDIF
    
    // exit
    IF activeMAETrail > 0 AND posProfit < (startMAETrail - exitMAE) THEN
    IF LONGONMARKET THEN
    SELL AT MARKET
    ENDIF
    IF SHORTONMARKET THEN
    EXITSHORT AT MARKET
    ENDIF
    ENDIF
    ENDIF

    This simple logic offers two ways. You can set fixed amount of money for MAE trailing start and MAE exit or the start and exit values are calculated as percentage values in relation to the maximal take profit.

    I tested it with the DAX version but unfortunately it didn’t show any significant improvements.The system is already very well balanced. Please find attach the code to play around

    Nevertheless, thanks for your idea

    best regards,

    Reiner

    mcosta thanked this post
    #60538 quote
    mcosta
    Participant
    Average

    Hi Reiner

    Thanks for your reply.

    Looking at the Dax report in the screenshot, closed trades are sorted by MAE; the higher the MAE is, the greater the probabilities that the trade is losing with high losses.

    I’m looking for a way to cut these losses before they become too high; so I pointed to  a  MAE value,  same value for every trade.

    When the MAE is reached(1.e -600€) the position must be closed exiting the trade to avoid potential higher lost(look at “abs perf” column values < -600€).

    #60698 quote
    pranik
    Participant
    Master

    Hi guys,

    I tried to avoid strong accumulation on pathfinder 1H V8 by Reiner.

    In V8 version, Reiner added a variable called l5. This variable try to ride a bullish trend but opens positions without cross any signalline. This can produce side effects like 9 january, every hour it has opened a new position.

    I changed the long entry conditions

    IF ( l1 OR l2 OR (l3 AND f2) OR l4 OR (l5 and longonmarket)) THEN

    The same for short entry using s4

    IF ( s1 or (s2 AND f1) OR (s3 AND f3) OR (s4 and f1 and shortonmarket) ) THEN

    So if some of the traditional conditions opens a position, l5 and s4 accumulate every hour. I think then signal is stronger in this case.

    Obviously we obtain a less performant trading system but avoid to open position like a crazy ;-).

    I hope this can help someone using V8 strategy.

    PraNik

    reb thanked this post
    #60716 quote
    Gianluca
    Participant
    Master

    The earning be improved by exiting the position when MAE < stopMae (i.e stopMae=300); may anyone post the code for exiting position when MAE reach a fixed value?

    Pacione?

    #60791 quote
    Gianluca
    Participant
    Master

    Sorry guys but i think there is something wrong with 2 things in the Pathfinder:

    • First the multipliear create fractional order that are not permitted by the broker (see the image) *1
    • Second, is the Trailing Stop Fuction working? i tried to change the value of parameter but nothing change in the result, in better or worst way.

    *1 i’ve fixed this by changing every multiplier line that have any kind Max or Min

    numberContracts = MAX(1, MIN(maxPositionSizePerTrade, positionSize * saisonalPatternMultiplier) * scaleFactor)

    with this in order to have entire size

    numberContracts = round (MAX(1, MIN(maxPositionSizePerTrade, positionSize * saisonalPatternMultiplier) * scaleFactor))
Viewing 15 posts - 1,591 through 1,605 (of 1,835 total)
  • You must be logged in to reply to this topic.

Pathfinder Trading System


ProOrder support

New Reply
Author
author-avatar
Reiner @reiner Participant
Summary

This topic contains 1,834 replies,
has 139 voices, and was last updated by CFD AutoTrading
2 years, 6 months ago.

Topic Details
Forum: ProOrder support
Language: English
Started: 09/22/2016
Status: Active
Attachments: 435 files
Logo Logo
Loading...