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

Modify Value Plot option

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

    Modify Value Plot option

    Hi sirs, I would like to change the values provided from Value Plot cascade windiws in Strategy Builder.
    Actually my indicator TrendEdgeVolume provide as Value Plot in SB only 2 option Upper (ever >0) and Lower (ever <0) . I need to set the cross above zero line but it seems impossible. How I can solve it?
    I tried to used Bars Ago to compare previous and actual bar of indicator but doesn't work because when I set Upper as Value Plot it is ever > 0 (for each bars ago....)



    Click image for larger version

Name:	image.png
Views:	59
Size:	65.0 KB
ID:	1243414​​

    #2
    Hello ginzirillo,

    To do a cross condition with a set value like 0 would be defined just as you have shown in the image. The left side would be the plot you are comparing, the value plot is the plot selection from the indicator. Your indicator has 2 plots named Upper and Lower so you would need to select one of those plots for the condition. To compare one of the plots against 0 you would on the right use the Misc -> Numeric value with 0 entered. The Cross in the center would then compare the plot against 0.

    I tried to used Bars Ago to compare previous and actual bar of indicator but doesn't work because when I set Upper as Value Plot it is ever > 0 (for each bars ago....)

    I am not certain I understand what you are saying here. Did you mean that the upper plot never goes above 0? If thats the case then you won't be able to compare it against 0, the plot value needs to at some point cross 0, for example it would need to be -1 on the previous bar and then positive 1 on the current bar for it to cross the 0 price and trigger the condition.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    1 view
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    6 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by alifarahani, Today, 09:40 AM
    6 responses
    41 views
    0 likes
    Last Post alifarahani  
    Working...
    X