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 PaulMohn, Today, 05:00 AM
          0 responses
          7 views
          0 likes
          Last Post PaulMohn  
          Started by ZenCortexAuCost, Today, 04:24 AM
          0 responses
          6 views
          0 likes
          Last Post ZenCortexAuCost  
          Started by ZenCortexAuCost, Today, 04:22 AM
          0 responses
          3 views
          0 likes
          Last Post ZenCortexAuCost  
          Started by SantoshXX, Today, 03:09 AM
          0 responses
          16 views
          0 likes
          Last Post SantoshXX  
          Started by DanielTynera, Today, 01:14 AM
          0 responses
          5 views
          0 likes
          Last Post DanielTynera  
          Working...
          X