Buying on open of next candle

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21716 quote
    Daniel da CostaDaniel da Costa
    Participant
    Average

    Hi all!

    I am trying to program an OPEN range breakout system. My problem is that if a candle closes above a a certain line, i have to buy a contract in the open of the very next bar. Is there a way of doing this with Prorealtime?

    #21773 quote
    NicolasNicolas
    Keymaster
    Legend

    Code is already read once at bar close, then trades are opened at next bar open.

    Unless a gap between the two prices appears, the previous close price is the same as the current open one. So there is no difference to launch a trade at close or at next bar open.

    Until the multi timeframe is not available for ProOrder, there is no other way to deal with how and when codes are read.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Buying on open of next candle


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
9 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/19/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...