Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

market analyzer

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

    market analyzer

    what I'm trying to do in the market analyzer is to use a custom indicator, (similar to a macd histogram) and have the cell change colors when:

    green when the indicator value is higher than the bar prior
    red when the indicator value is lower than the bar prior

    the value above/below the zero line does not matter, just looking for increasing or decreasing values. All I can see is to use is greater/less than 0


    doug

    #2
    Hello ddsokal,

    Thank you for your post.

    As there is only the option to compare a value against a static value and not a prior or dynamically updating value, what you can do is develop an indicator that plots a value based on the condition. So let's say 1 for the first condition, 2 for the second condition. Then check for those values in the Market Analyzer Cell Conditions.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by yertle, Today, 08:38 AM
    6 responses
    25 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    24 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    46 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    23 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X