Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using settlment indicator in strategy issues with time

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

    Using settlment indicator in strategy issues with time

    I am using this indicator in the strategy and its giving out issues with strategy time filter.
    Settlement indicator specifies which trading hours and if i select diferent trading hours in strategy, it still pulls trading hours from settlment indicator.

    In my state configure i enter this line . Is there a way to configure settlement indicator so there would not be a confilict?
    Code:
    AddDataSeries(InstrumName, new BarsPeriod { BarsPeriodType = BarsPeriodType.Day, Value = 1 }, "CME US Index Futures RTH", false);
    Futures Settlement is the closing price of the contract at the end of the Regular Trading Hours (RTH) Session – 3:15 PM Central Time. This indicator will plot the last two settlement prices. Look at the attached chart image to see how price interacts with the lines. This version 3.1.1 adds support for selecting the […]

    #2
    Hello tkaboris,

    Thanks for your post.

    The SettlementLines indicator from the Ecosystem User App Share would likely need to be set to use the same trading hours template that you are using in your strategy.

    For example, if you are using the "CME US Index Futures RTH" trading hours template in your strategy, then the same trading hours would need to be used when defining the indicator in the strategy.

    //class-level variable
    private SettlementLines SettlementLines1;

    //State.DataLoaded
    SettlementLines1 = SettlementLines(Close, @"CME US Index Futures RTH");


    Since this indicator was created by a third-party developer and not by NinjaTrader, you could reach out to the developer of the indicator for instructions on how it could be used in a strategy that is set to a different trading hours template.
    <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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X