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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    79 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    147 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    79 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    52 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    58 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X