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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    232 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    149 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    161 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    243 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    198 views
    0 likes
    Last Post CarlTrading  
    Working...
    X