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 sjsj2732, Yesterday, 04:31 AM
    0 responses
    31 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    286 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    283 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    133 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    91 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X