Open strategy dax

Forums ProRealTime English forum ProOrder support Open strategy dax

Viewing 8 posts - 1 through 8 (of 8 total)
  • #192648

    I found this which is quite similar to what i use today. Roberto, could you help me code this? 😃

     

    • having x TP
    • y SL
    • z trailing sl
    #192684

    https://www.prorealcode.com/topic/why-do-we-think-so-complicated-opening-strategies/

    I had tried something similar a long time ago… maybe this will help you?

    #192685

    Explain what the strategy has to do, when should it enter LONG or SHORT?

     

    #192702

    yes ofc, sorry 🙂

    • at dax open. wait for 5 min candle close, if it closes GREEN, go SHORT next candle open, TP open candles low + x points.
    • If open 5m candle is RED, go LONG at next candle open. TP open candles high + x points.
    • SL y points, BE stop z points, Trailing z points

    also put some code i found for not getting slippage if possible to use in code as well.

    😀

     

     

    1 user thanked author for this post.
    #192752

    This is the code:

    As to the code you posted, lines 5 and 11 which OPEN are referencing, the current one or the one when the trade was entered?

    #192792

    THANKS AGAIN ROBERTO 😀

    #192793

    Hi.
    Whats the the deafult Timeframe for the strategy?

    #192794

    It must be no higher than 5 minutes.

    And 5 minutes must be a multiple of it, so 5 minutes or 1 minute are both fine.

     

Viewing 8 posts - 1 through 8 (of 8 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login