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 Tim-c, Today, 02:10 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    2 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    50 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    10 responses
    401 views
    1 like
    Last Post beobast
    by beobast
     
    Started by lorem, Yesterday, 09:18 AM
    5 responses
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X