Instantaneous Entries, Not Wait til Close

Forums ProRealTime English forum ProOrder support Instantaneous Entries, Not Wait til Close

Viewing 3 posts - 1 through 3 (of 3 total)
  • #190840

    Hi,

    I am writing a strategy where I wish the matching of parameters to be monitored and acted on instantaneously. Currently no entries occur until the close of the current candle occurs and moves to the next bar.

    Is there a way to have the strategy to act on parameters as they occur for example, if a 6ema and 10ema crossed, have the entry to occur at that moment rather than waiting til the candle closes and then having to take a much higher or lower close price?

    #190842

    All code is read at end of each bar and the trade opened at the beginning of the next bar (few milliseconds after code is read).

    In order to achieve what you want, you would need to run your ‘EMA Crossing Strategy’ on, for example, 5 min TF and then run the Conditions to execute a Trade on, for example, 5 Sec TF.

    So the ‘trade execute code’ would be checking every 5 secs for a cross in EMA on the 5 min TF (don’t use ‘updateonclose’ on 5 min TF … you will understand after you have read up on MTF).

    Here’s a video which may help you, but there is loads more on this website to help understanding of what MTF is all about.

    https://www.prorealtime.com/en/videos_tutorial/136_create_multi_timeframe_alerts

    1 user thanked author for this post.
    #192322
Viewing 3 posts - 1 through 3 (of 3 total)

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