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 sidlercom80, 10-28-2023, 08:49 AM
    168 responses
    2,262 views
    0 likes
    Last Post sidlercom80  
    Started by Barry Milan, Yesterday, 10:35 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by WeyldFalcon, 12-10-2020, 06:48 PM
    14 responses
    1,429 views
    0 likes
    Last Post Handclap0241  
    Started by DJ888, 04-16-2024, 06:09 PM
    2 responses
    9 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    41 views
    0 likes
    Last Post jeronymite  
    Working...
    X