Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sharing indicator events between different but related volumetric charts

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

    Sharing indicator events between different but related volumetric charts

    Hi there!

    I don't even know if this is possible with Ninjatrader (scripting or otherwise), but here goes.

    Let's say I have three charts open. The charts are volumetric in nature and are using order flow indicators. They were created by duplicating the first chart and just changing the security they are tracking. So they all act and look the same.

    Chart 1 is the main chart I'm concentrating on, while Chart 2 and Chart 3 are tracking securities related to the one featured in Chart 1. So they more or less move in sync.
    Chart 2 has an Order Flow Trade Detector (OFTD), showcasing circles where large amounts of volume (or perceived trade activity) is taking place.

    What I'd like to know is:
    1. When the indicator in Chart 2 shows an event of significance (i.e. OFTD circle), can that same signal be copied over to Chart 1 (with a simple icon that you can use DrawText with)
    2. How do you expose what happens in one chart (indicator wise) for another chart to use, in general?
    Plus, if these questions are better posed in another area of the forums, please let me know.

    Thanks in advance!

    #2
    Hello Spiderbird,

    Thanks for your notes.

    Unfortunately, this would not be possible to accomplish. Drawing objects could only be applied globally to charts set to the same instrument. This means that you would not be able to apply the drawing objects to other charts set to different instruments. And, indicators are only applied to the chart that they were added to. There are no means for one chart to see an indicator applied to another chart window.

    A custom NinjaScript indicator could be created to access indicator values that are calculated from an added secondary data series in the script. AddDataSeries() would be used to add the secondary data series to the script and then you would instantiate the indicator in the script to use the added secondary series for calculations. Then, the indicator's values could be accessed within the script.

    AddDataSeries(): https://ninjatrader.com/support/help...dataseries.htm
    Working with Multi-Timeframe/Multi-Instrument NinjaScripts: https://ninjatrader.com/support/help...nstruments.htm
    System Indicator Methods: https://ninjatrader.com/support/help...indicators.htm

    Note that would not be possible to access Order Flow Trade Detector information in a custom NinjaScript indicator or strategy because the Order Flow Trade Detector is not supported for NinjaScript access at this time.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    110 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    59 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    37 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    41 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    78 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X