Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to trigger long when the low[0]=supertrend bottom line?

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

    How to trigger long when the low[0]=supertrend bottom line?

    Dear Team,
    I'm using supertrend indicator https://ninjatraderecosystem.com/use...ng-indicators/ .

    I want to trigger long signal when :

    Supertrend is green and Low[0] equals the bottom line.

    For trend is green I know I should use pot value trend=1,but how to define that low[0]=bottom line?

    Thank you so much!
    Attached Files

    #2
    Hello williamzz,

    Generally you cannot check if a price is directly equal to another price reliably, you could check if the price crosses that value or is greater equal or lesser equal. From what I can see the indicator has two plots listed for the colors which also report price values. You should be able to check if the low is Greater Equal or Lesser equal to that price depending on how you wanted to form the condition. You can use the DataBox in the chart to see what values are being reported by the indicator to further build your conditions.

    Alternatively you can form a set with an action with no conditions in the builder to Print the indicators plot values. Use Misc -> Print and select the indicator/plot as the print value. This can help to gauge what values the conditions need.

    I look forward to being of further assistance.

    JesseNinjaTrader Customer Service

    Comment


      #3
      Hello,

      I'm not sure if this will help or not.. Pablo Maglio of "TheIndicatorStore.com" shows in a video step-by-step how to configure a Supertrend for a setup... https://www.youtube.com/watch?v=ECOZ2t53uS0&t=374s.. I hope it helps..

      Michael

      Comment


        #4
        Thank you very much guys,I just find that you can use trendline cross to solve this issue!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Brevo, Today, 01:45 AM
        0 responses
        6 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X