Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volume Triggers

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

    #16
    Swing hi low

    Thanks Tim, still working through this, not simple. I have another issue as well I'm grappling with. Attached is a snapshot of a chart, basically what I'm trying to do is provide an alert when the SAR crosses over (for example when it crosses up) AND when the crossover is above the previous swing low. I tried this formula but doesn't seem to work correctly. What I need to do somehow is define current swing low and swing low -1 because the SAR crossover should show a signal when it is above swing low -1.


    Swing(3).SwingLow[0] > Swing(3).SwingLow[20])

    Thanks
    DJ
    Attached Files

    Comment


      #17
      Hello Djkiwi,

      You will probably not get the results you're expecting with this indicator. It requires future data to display the swing points and then it repaints based on these values. It is meant to provide visual cues but not used in a backtest or strategy development.
      Ryan M.NinjaTrader Customer Service

      Comment


        #18
        Hi Ryan, I have another issue one on volume. What I'm trying to do is draw horizontal lines on the standard volumeupdown indicator which I have put in panel 2 at certain times. Here is some of the code. So I'm not sure how to program it so the line is drawn on the volume panel. Eg:

        // Condition set 1
        if (ToTime(Time[0]) < ToTime(12, 30, 0)
        && ToTime(Time[0]) > ToTime(10, 30, 0))
        {
        Alert("MyAlert83", Priority.High, "", @"C:\Program Files\NinjaTrader 7\sounds\TNA vol 1.wav", 30, Color.White, Color.Black);
        }

        Any ideas would be great. Thanks. DJ

        Comment


          #19
          Hi djkiwi,

          You can set the "DrawOnPricePanel" setting to false to draw on the indicator panel instead:


          However, directing to a specific panel is unfortunately outside of the scope of support I can offer.
          TimNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          27 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          117 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          69 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          226 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          417 views
          0 likes
          Last Post CaptainJack  
          Working...
          X