Buy/Sell before bar close

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55226 quote
    Gaastra
    Participant
    New

    Is it possible to buy/sell before a bar Close?

    EX: I want to buy on Daily when last price is higher than yesterdays high.

    IF Close > high[1] THEN

    I don´t want to wait for the Daily bar to Close Before i buy.

    #55227 quote
    robertogozzi
    Moderator
    Master

    At present it is not possible, unless you use a lower TF.

    #55231 quote
    Nicolas
    Keymaster
    Master

    It is possible by putting a buy stop order at High, each time the code is read. Since this order will remain active during the consecutive bar, it may be triggered by the price (Close) in real time. 

    Gaastra thanked this post
    #55290 quote
    Eric
    Participant
    Master

    if you use a stop order remember to add the spread (half the spread) 

    for example dax 5 point spread and high 13 000

    then the buystop order would be 13 002,6

    Nicolas and Gaastra thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Buy/Sell before bar close


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Gaastra @gaastra Participant
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 12/09/2017
Status: Active
Attachments: No files
Logo Logo
Loading...