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