TRADE DURING MARKET HOURS ONLY

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #241940 quote
    steynpj
    Participant
    Average

    I would like my system to trade during New York Stock Exchange hours, 930 to 1555 NY time.

    I used DEFPARAMFLATBEFORE and DEFPARAMFLATAFTER, see attachment.

    My platform time settings for all charts and markets is for New York.

    It is still trading outside these hours.

     

    Any ideas would be appreciated.

    prt.jpg prt.jpg
    #241942 quote
    GraHal
    Participant
    Master

    Time format is HHMMSS, did PRT add the .0 after your Flat Before, Flat After.

    Try just 093000 etc

    Iván González thanked this post
    #241955 quote
    steynpj
    Participant
    Average

    Yes. PRT added the .0. Will try your suggestion.

    GraHal thanked this post
    #242819 quote
    JC_Bywan
    Moderator
    Master

    Hi,

    although the initial request was about time, it might be worth also mentionning you have a date issue for your QUIT condition on line 16: DATE=202503401, that’s one more digit than expected for format YYYYMMDD, assuming YYYY year 2025 is ok and DD day 01 is ok too, then it’s probably a case of replacing 034 for MM month with 03 or 04.

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

TRADE DURING MARKET HOURS ONLY


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
steynpj @steynpj Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by JC_Bywan
1 year ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 12/30/2024
Status: Active
Attachments: 1 files
Logo Logo
Loading...