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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    59 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    198 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    363 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    282 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X