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 argusthome, 03-08-2026, 10:06 AM
          0 responses
          108 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          55 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          37 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          39 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          76 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X