Buying at an EXACT time of Day

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #190841 quote
    justadude
    Participant
    New

    Hi,

    I’m trying to work out how to make prorealtime to buy at an exact time of day. I’ve tried the code that exists on this forum but I can’t get it to run.

    For example, buy at 14:29:30 with a 1pt limit.

    Any help greatly appreciated.

    #190845 quote
    nonetheless
    Participant
    Master
    if time = 142930 then
    buy 1 contract at market
    endif

    this should work, but only on timeframes that have a bar opening at that time, ie 30 seconds, 10 sec, 5 sec etc

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

Buying at an EXACT time of Day


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
justadude @justadude Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by nonetheless
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...