Instantaneous Entries, Not Wait til Close

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #190840 quote
    scoot3r83
    Participant
    Average

    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 quote
    GraHal
    Participant
    Master

    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

    scoot3r83 thanked this post
    #192322 quote
    Nicolas
    Keymaster
    Master
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Instantaneous Entries, Not Wait til Close


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
scoot3r83 @scoot3r83 Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Nicolas
3 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/31/2022
Status: Active
Attachments: No files
Logo Logo
Loading...