Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dots... Dots... oh... and did I say Dots? How do I stop the dots?

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

    Dots... Dots... oh... and did I say Dots? How do I stop the dots?

    Hi All...

    turning another page in my quest for strategy perfection... but there are dots... everywhere!

    Here's the scenario...

    I'm working in the strategy wizard... and I instruct the strategy to draw a dot when the MACD if rising.

    "if MACD rising == true, draw a dot"

    I also instruct it to draw a dot when the MACD is falling.

    So... it draws a dot... for every rising bar... and for every falling bar... actually froze my i7 intel twice!

    I'm sure hoping the task can be accomplished using the strategy wizard.

    How do I go about just having the strategy paint one dot at the start of the rise, instead of painting dots to kingdom come?

    A nudge in the right direction would be fantastic at this point.

    Any help would be greatly appreciated.

    -V

    #2
    Originally posted by Aurum View Post
    Hi All...

    turning another page in my quest for strategy perfection... but there are dots... everywhere!

    Here's the scenario...

    I'm working in the strategy wizard... and I instruct the strategy to draw a dot when the MACD if rising.

    "if MACD rising == true, draw a dot"

    I also instruct it to draw a dot when the MACD is falling.

    So... it draws a dot... for every rising bar... and for every falling bar... actually froze my i7 intel twice!

    I'm sure hoping the task can be accomplished using the strategy wizard.

    How do I go about just having the strategy paint one dot at the start of the rise, instead of painting dots to kingdom come?

    A nudge in the right direction would be fantastic at this point.

    Any help would be greatly appreciated.

    -V
    Please, Post a image of what happened... maybe even post images of what you did in the wizard.

    What is your timeframe? What is CalculateOnBarClose set to?

    Comment


      #3
      Hi Sledge... thanks for your reply.

      Sorry if my description was a bit cryptic.

      Basically, I'm hoping to discover a way to tell the strategy: "when the condition becomes true... draw a dot over the first bar that forms at the beginning of that 'true' cycle." So... even if the condition is true for the following bars... I'd like for the strategy to only draw a dot over the first bar of the "true" condition.

      I'm wondering if anyone knows of a way to accomplish this using the strategy wizard.

      -V

      Comment


        #4
        Hello Aurum,

        Thank you for your post.

        Use a User Variable to act as a switch that can allow for plotting the first dot and then not again until the opposite condition returns true. At the following link you will find a video detailing this: http://screencast.com/t/pe7576u9

        Comment


          #5
          Thanks, Patrick, that's a terrific video and explains how the Wizard can achieve some pretty sophisticated stuff (that I would have thought can only be done through coding).

          I've known for a long time how to achieve this using bools* (that you refer to) but I didn't know this could be done using (user defined) variables that don't have to be declared in Variables (as bools do).

          It's only by chance that I saw this very instructive video. Is there an online library anywhere where all similar videos made by you and your colleagues are kept?

          Thanks for letting me know.

          * for people new to coding and logic: boolean data types / booleans / bools are variables that can only take on two values: true or false (or 1 or 0, which is essentially the same thing).

          Comment


            #6
            Patrick, wow... thank you! This is exactly the kind of "nudge" I was looking for to get the creative juices flowing.

            I am truly grateful for the very valuable video lesson. I will choose sticks and a bottle of glue, over a finished airplane any day. :-)

            -V

            Comment


              #7
              Hello Aurum,

              Thank you for your response.

              You can find our videos on the NinjaTrader Youtube channel at the following link: https://www.youtube.com/user/NinjaTraderLLC

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              646 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              367 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              107 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              569 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              573 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X