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 Rapine Heihei, 04-23-2024, 07:51 PM
          2 responses
          30 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by Shansen, 08-30-2019, 10:18 PM
          24 responses
          943 views
          0 likes
          Last Post spwizard  
          Started by Max238, Today, 01:28 AM
          0 responses
          9 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by rocketman7, Today, 01:00 AM
          0 responses
          5 views
          0 likes
          Last Post rocketman7  
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          28 views
          0 likes
          Last Post wzgy0920  
          Working...
          X