Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

draw horizontal high/low of a turning point on chart

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

    draw horizontal high/low of a turning point on chart

    Hi,

    Is there an indicator would draw horizontal line when it turns?

    "turns" means when a bar keep going up, then when next bar is NOT up bar, then draw a horizontal line at the highest point of either these 2 bars.
    Vice versa for down bar end, if next bar is UP bar, then draw horizontal line at the lowest point of these 2 bars.

    If no one has used something like this, let me know.

    It sounds like not too hard to program it in indicator scripts. Do you think you can do it with wizard, since im not very familiar with ninjatrader script's language.

    Thanks.

    #2
    Try this!

    You can take the NinjaTrader Zigzag indicator, then just modify it a bit, so it does not draw a zig and a zag but horizontal lines instead. Just a small modification.

    Comment


      #3
      Originally posted by Harry View Post
      You can take the NinjaTrader Zigzag indicator, then just modify it a bit, so it does not draw a zig and a zag but horizontal lines instead. Just a small modification.
      I am having trouble getting zig zag to work with EURUSD where it works fine with ES.
      I get a notice with EURUSD "zigzag cannot plot any values since the deviation value is too large. Please reduce it" It is set at 0.5 and I change it to 0.4 to 0 and still it does not plot. Any help greatly appreciated. The setting when using ES is 0.5
      mat15

      Comment


        #4
        You can try 0.001.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          zigzag

          Josh, Thanks for reply 0.001 worked fine and solved my problem

          Comment


            #6
            zigzag

            Newbie here , could you post the modification code, thx George

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Today, 05:17 AM
            0 responses
            52 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            130 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            70 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            44 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            49 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X