Need help trying to code an end of day strategy

Forums ProRealTime English forum ProOrder support Need help trying to code an end of day strategy

Viewing 2 posts - 1 through 2 (of 2 total)
  • #142743

    Hi,

    I am trying to programme a system where I will place buy & sell zones at the end of the day on different timeframes & different currency pairs.

    For example, If a candle bar closes inside the predetermined buy zone on the 1hr, 2hr or 4hr chart, I would like to automatically place a buy order above the zone & a stop loss below the zone.
    If a subsequent bar closes outside the zone before I’m triggered, I would like for the order to be cancelled.
    The closed bar inside the zone has to be either (a) 1.5 times the size of the previous bar or (b)the candle body has to be bigger than the previous bar.

    Although I will still be doing the analysis to determine the zones at the end of each day, this will allow for automation after that point.

    Any help on what code to use to do this would help a lot!

    Thanks

    #145385

    Do you want to use ALL those TF’s in a single strategy using the multi time frame support?

    If yes, then do you want ALL those TF’s to be independent of one another or should they be bundled with the AND operator?

     

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

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