Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to build own Conditions

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

    How to build own Conditions

    Hi!

    Is it possible to scan stocks for own generated Conditions with the market scanner?

    I want to tag all stock which meet for example this conditions:

    Close Price > SMA 200
    SMA 50 > SMA 200
    Distance to 52 Week High < 30%

    If yes, how can I build the conditions and how do I get it in the market scanner without scripting?

    Thank you!

    #2
    Hello esteban_rojo,

    What you could do is build the conditions into an indicator. If the conditions are present, you set a plot equal to 0, if they are not, the plot is set to 0. The plot value is able to be displayed on a market analyzer window, by adding a column>indicator>selecting your indicator. Basically you’ll have a market analyzer window open with a column which displays 1 or 0 depending on whether your conditions is present.

    I have attached an indicator which contains your first condition.

    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Hello AlanP!

      Thank you for your answer and the Indicator!
      How can I build conditions into an indicator? Is it possible without knowledge of programming?
      A "indicator wizard" or "indicator builder" would be great.

      Thank you!

      Comment


        #4
        Hello esteban_rojo,

        You could build the conditions as a strategy and then copy and paste the code from the strategyinto an indicator, however a little knowledge of coding may be required.

        I will submit a feature request for an indicator builder.

        Please let us know if you need further assistance.
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          Hello AlanP!

          Thank you very much!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          65 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          41 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          23 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          26 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          52 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X