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 algospoke, Yesterday, 06:40 PM
          2 responses
          23 views
          0 likes
          Last Post algospoke  
          Started by ghoul, Today, 06:02 PM
          3 responses
          14 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by jeronymite, 04-12-2024, 04:26 PM
          3 responses
          45 views
          0 likes
          Last Post jeronymite  
          Started by Barry Milan, Yesterday, 10:35 PM
          7 responses
          22 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by AttiM, 02-14-2024, 05:20 PM
          10 responses
          181 views
          0 likes
          Last Post jeronymite  
          Working...
          X