Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing Real-Time Indicators within a Strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Accessing Real-Time Indicators within a Strategy

    I am writing an automated trading strategy to take signals from 3rd party indicators. These indicators do not work on historical data, only real-time. Typically, the user starts a chart in the pre-market and watches all day.

    Now the problem: I reference the indicators in my strategy, create a new instance and use it for calculations. But if the strategy is stopped and restarted, it loses the saved indicator values that are still displayed on the chart, causing the strategy to take trades that are different than what the chart shows.

    The question: Can I access the values that are being plotted by those indicators directly, without creating a parallel instance of the indicator inside the strategy? That way I could access the saved "real-time" data on strategy restart...
    Last edited by Prospectus; 10-21-2009, 06:55 PM.

    #2
    Prospectus, unfortunately this is not supported directly to access those. As a workaround you may look into saving realtime generated values to txt files from the strategy so you can access this info then when restarting the strategy...

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    656 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    371 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    579 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X