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 timmbbo, Today, 08:59 AM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by KennyK, 05-29-2017, 02:02 AM
    2 responses
    1,280 views
    0 likes
    Last Post marcus2300  
    Started by fernandobr, Today, 09:11 AM
    0 responses
    2 views
    0 likes
    Last Post fernandobr  
    Started by itrader46, Today, 09:04 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by bmartz, 03-12-2024, 06:12 AM
    5 responses
    33 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Working...
    X