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

Converted indicator not working right with Calc on Bar Close set to False

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

    Converted indicator not working right with Calc on Bar Close set to False

    Hello,

    I have converted an EasyLanguage indicator to NinjaScript and it will only plot correctly without any plot error with Calculate on bar close being set to True.

    This is a problem because when Calculate on bar close is set to True the indicator does not plot on the current bar which makes my indicator useless.

    When I set this to false, it does plot on the current bar, but it will not plot correctly.

    Is this a known issue?

    Is there a way to fix this issue?

    #2
    Originally posted by TheEminiTrader View Post
    Hello,

    I have converted an EasyLanguage indicator to NinjaScript and it will only plot correctly without any plot error with Calculate on bar close being set to True.

    This is a problem because when Calculate on bar close is set to True the indicator does not plot on the current bar which makes my indicator useless.

    When I set this to false, it does plot on the current bar, but it will not plot correctly.

    Is this a known issue?

    Is there a way to fix this issue?
    That will depend on what kind of calculations are being performed, and when. I doubt that anyone can fix it without seeing the code. If you can isolate the snippet that is failing, it may be possible to do something with that portion of the code.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Perr0Grande, Today, 08:16 PM
    0 responses
    2 views
    0 likes
    Last Post Perr0Grande  
    Started by elderan, Today, 08:03 PM
    0 responses
    5 views
    0 likes
    Last Post elderan
    by elderan
     
    Started by algospoke, Today, 06:40 PM
    0 responses
    10 views
    0 likes
    Last Post algospoke  
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    11 views
    0 likes
    Last Post maybeimnotrader  
    Started by quantismo, Today, 05:13 PM
    0 responses
    7 views
    0 likes
    Last Post quantismo  
    Working...
    X