Discussing the strategy VECTORIAL DAX (M5)

Viewing 15 posts - 1,216 through 1,230 (of 1,264 total)
  • Author
    Posts
  • #173046 quote
    GraHal
    Participant
    Master

    Mediocre trades that happen often should be the target, not the huge moves that seem unpredictable.

    We kinda need 2 strategies in one as we don’t want to miss out on the huge moves when they do happen.

    As all huge moves start with a mediocre move …

    1. If mediocre moves ONLY, then continue to use use Settings A.
    2. If mediocre moves turns into huge move / strong trend then flip to using Settings B.

     

    Just sharing a few thoughts prompted by what you said.

    #173056 quote
    phoentzs
    Participant
    Master

    Well, the problem is obvious. Let’s say there are 10 big moves a month, but 50 mediocre moves … it makes a lot of sense to focus on the mediocre moves. The chance of hitting these trades in the future is much higher. So the system becomes more reliable. I refer to my KISS-EMA-RSI, just enter it in the search … I know, a completely different principle, but due to its principle it covers everything the market offers from 1 point to 200 points. So it is robust, it has been running in the settings since the beginning of the year without any loss of performance. You get what the market gives you. In terms of Dax Vectorial … has anyone tried partial exits? Trade 1 at 0.5% take profit, Trade 2 with trailing. As I said, I would finish my modified version next week.

    #173060 quote
    nonetheless
    Participant
    Master

    Ive tried experimenting with all kinds of partial closes, instinctively it seems like a good idea but always results in a lower gross profit.

    The only way you can account for a system that will occasionally hit the stop loss is for it to also occasionally hit the tp, and for that you have to let it run.

    Same reason that the trail has to be slower than you might think it should be, so the position can stay in play longer with one eye on the bigger prize.

    #173061 quote
    phoentzs
    Participant
    Master

    Well, the big gross profit is only available in the back test …? 20% less gross profit, but a stable system that runs for at least several months without optimizing … wouldn’t that be better? Correct me if I’m wrong.

    #173062 quote
    nonetheless
    Participant
    Master

    I don’t think using partial close will make your system any more stable, if that’s what you mean.

    My approach is to run lots of different systems with different objectives. Some play a long game over several days, others run for a few hours and some scalp a quick gain in a matter of minutes. I find this works better than trying to do it all in one algo.

    #173063 quote
    phoentzs
    Participant
    Master

    That’s exactly what I’m trying to do with my systems. Or multiple systems in different time frames.

    #179140 quote
    Francesco
    Participant
    Veteran

    Hello everyone, i was trying to implement this strategy on forex, but no positions are opened when i try to run the code; seems that the indicted part is this:

    // Angle
    once periodea= x
    once nbchandeliera= x
    mma= exponentialaverage[periodea](close)
    adjasuroppo= (mma-mma[nbchandeliera]*pipsize)/nbchandeliera
    angle= (atan(adjasuroppo))
    cl1= angle>=x
    cs1= angle<=-x
    
    // Pente and Average
    once periodeb= x
    once nbchandelierb= x
    lag= x
    mmb= exponentialaverage[periodeb](close)
    pente= (mmb-mmb[nbchandelierb]*pipsize)/nbchandelierb
    trigger= exponentialaverage[periodeb+lag](pente)
    cl2= (pente>trigger) and (pente<0)
    cs2= (pente crosses under trigger) and (pente>1)

    I can’t really understand what’s the problem; any suggestions?

    #179142 quote
    GraHal
    Participant
    Master

    To clarify … x in above refers to different values (not same value)?

    #179144 quote
    Francesco
    Participant
    Veteran

    To clarify … x in above refers to different values (not same value)?

    Yes, i was just too lazy to put x,y and so on 😀

    #179148 quote
    GraHal
    Participant
    Master

    You could try below as Line 18 to see if trades are then triggered?

    Crosses under trigger and pente>1 may rarely occur?

    cs2= (pente < trigger) and (pente>1)
    #179150 quote
    Francesco
    Participant
    Veteran

    You could try below as Line 18 to see if trades are then triggered?

    Crosses under trigger and pente>1 may rarely occur?

    Not working 🙁

    #179152 quote
    GraHal
    Participant
    Master

    Are you using >= minimum position size for your choice of instrument and contract?

    #179153 quote
    GraHal
    Participant
    Master

    If you post the .itf that you are using, I would run on my platfrom to see if I get the same results as you / no trades.

    #179154 quote
    Francesco
    Participant
    Veteran

    If you post the .itf that you are using, I would run on my platfrom to see if I get the same results as you / no trades.

    It’s all as you see on my first post; i was starting from angle and pente detection before building the rest of the code around it but i stopped because i didn’t figured out how to execute this first part.

    defparam cumulateorders= false
    
    pos= 1
    
    // Angle
    once periodea= x
    once nbchandeliera= x
    mma= exponentialaverage[periodea](close)
    adjasuroppo= (mma-mma[nbchandeliera]*pipsize)/nbchandeliera
    angle= (atan(adjasuroppo))
    cl1= angle>=x
    cs1= angle<=-x
    
    // Pente and Average
    once periodeb= x
    once nbchandelierb= x
    lag= x
    mmb= exponentialaverage[periodeb](close)
    pente= (mmb-mmb[nbchandelierb]*pipsize)/nbchandelierb
    trigger= exponentialaverage[periodeb+lag](pente)
    cl2= (pente>trigger) and (pente<0)
    cs2= (pente crosses under trigger) and (pente>1)
    
    // Entry Conditions
    condbuy= cl1 and cl2
    condsell= cs1 and cs2
    
    // Positions
    if condbuy then
    buy pos contract at market
    endif
    
    if condsell then
    sellshort pos contract at market
    endif
    
    // Stop And Target
    set stop loss 50
    set target profit 50
    #179157 quote
    GraHal
    Participant
    Master

    I put angles at 10 and -10 and I got 2 x trades on EURUSD on 1 min TF over 10k bars.

    Does above work for you?

    Off to bed now, I will look at it more tomorrow, but just wanted to get it to trade on Forex! 🙂

    Loads of trades on DJI btw.

Viewing 15 posts - 1,216 through 1,230 (of 1,264 total)
  • You must be logged in to reply to this topic.

Discussing the strategy VECTORIAL DAX (M5)


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Balmora74 @balmora74 Participant
Summary

This topic contains 1,263 replies,
has 125 voices, and was last updated by VinzentVega
1 year ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/24/2019
Status: Active
Attachments: 470 files
Logo Logo
Loading...