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, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X