Buy inside bar

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #186743 quote
    bullbearbullbear
    Participant
    Senior

    Is it possible to take a position in the ongoing bar.

    In normal cases, a position is taken in the next bar.

    Now the Nasdaq is moving 40 points in 5 min timeframe chart.

    Gets difficult with good entry then.

    #186750 quote
    SnorreDKSnorreDK
    Participant
    Junior

    Entry in lower timeframe?

    bullbear thanked this post
    #186752 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Strategies are executed when a a bar closes and they evaluate conditions on the closed bar (which is the CURRENT bar till the next one closes). If conditions are met and a position is immediately opened you will see the arrow under the bar that is being opened.

    If you are using a 5-minute bar you may take advantage of the Multi Time Frame feature that allows strategies to use multiple timeframes, to use  the 5-minute TF itself and a lower TF, such as 1 minute or 1 second, to be able to access the 5-minute bar while it’s being formed, every 1 minute or 1 second.

    The drawback is that your data history will be reduced, 200K 5-minute bars is quite a longer period than 200K 1-second bars!

    Searching this forum for the word MTF will return you many links to articles, examples and code snippets about it.

    bullbear thanked this post
Viewing 3 posts - 1 through 3 (of 3 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

Buy inside bar


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
bullbear @bullbear Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
4 years, 7 months ago.

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