AUTOMATIC TRADING NOT ADHERING TO TIME SETTINGS

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

    I AM COMLETELY SURE MY PLATFORM SETTINGS IS SET TO TRADE THE MARKET’S LOCAL TIME.


    HOWEVER IT IS TRADING OUTSIDE THESE HOURS.


    COULD THE PROBLEM BE WITH THE BROKER?


    IG MARKETS?

    #261085 quote
    GraHal
    Participant
    Master

    Post a screenshot of your Platform time settings and we may be able to help.

    At my attached settings, US Indices trade 24/5 (with IG) unless I put time constraints in my Algo code.

    Iván González thanked this post
    yt3q0dAdcc.png yt3q0dAdcc.png
    #261093 quote
    steynpj
    Participant
    Average

    Attached settings and code.


    I want it to trade S&P 500 whwn the market is open in USA, but it trades outside of these hours

    Screenshot-2026-05-14-100308.png Screenshot-2026-05-14-100308.png Screenshot-2026-05-14-100404.png Screenshot-2026-05-14-100404.png
    #261096 quote
    GraHal
    Participant
    Master

    When you started your Algo running on ProOrder on US500 were your settings as you show in your screenshot?

    Note, what you want won’t work if:

    Algo is started under UTC+2 (your timezone) and then (after starting Algo) Platform settings are changed to UTC+4 (USA timezone).

    #261097 quote
    steynpj
    Participant
    Average

    yes

    #261098 quote
    GraHal
    Participant
    Master

    You can easily achieve what you want by running on your local timezone UTC+2 but changing your times:

    Defparam Flatbefore  = 153000 //UTC+2
    Defparam FlatAfter = 220000 //UTC+2
    

    Above is what I do to achieve same as what you want (but for me it is 143000 and 210000 as I am UTC+1 currently)

    Btw in your screenshot, you show your time settings as DefparamFlatBefore i.e. NO space (there needs to be a space) … maybe the ‘no space’ is causing your problem anyway??

    robertogozzi, Iván González and Nicolas thanked this post
    #261216 quote
    steynpj
    Participant
    Average

    THANK YOU, I WILL TRY

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

AUTOMATIC TRADING NOT ADHERING TO TIME SETTINGS


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
steynpj @steynpj Participant
Summary

This topic contains 6 replies,
has 2 voices, and was last updated by steynpj
4 days, 8 hours ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 05/13/2026
Status: Active
Attachments: 3 files
Logo Logo
Loading...