Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TTM Squeeze Histogram

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

    TTM Squeeze Histogram

    I am trying to develop a Strategy based on the histogram of the TTM Squeeze indicator; but the thing is that the Histogram itself is not available in the Strategy Builder to make any rationale; only IsSqueeze and SqueezeDef Values are available.
    How can I modify the TTM Squeeze Indicator so as to have the Histogram available in the Strategy Builder?
    I have been working with the indicator I downloaded from this forum once.
    Thanks!
    Plenamar27

    #2
    Hello plenamar27,

    Thanks for your post.

    Only an indicator's plots are able to be used with the Strategy Builder.

    If you would like to access a certain value in an indicator, you would need to assign that value to a plot within that indicator. For example, you could call the AddPlot() method to add a plot to the strategy. Then, you could assign the value you want to the plot by calling Value[0] = x, where 'x' represents the value you are assigning to the plot.

    Once a value is assigned to a plot in the indicator, you could reference that indicator plot when using the Strategy Builder to create a strategy.

    Note that you could make a copy of the indicator to modify by opening the code of the indicator in a New > NinjaScript Editor window, right-clicking in the script, and selecting Save As. Once a copy is made, you could modify the copy to suit your needs.

    See the help guide page below for more information and sample code.

    AddPlot(): https://ninjatrader.com/support/help...t8/addplot.htm

    Let me know if I may assist further.
    <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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    569 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X