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

Session Template, Indicator not working

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

  • jmflukeiii
    replied
    That's exactly what I did with your advice from yesterday. I got sidetracked because it kept locking, but thank you for your help.

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Glad to hear, whenever you see unexpected behavior it's a good idea to check the Log tab in the Control Center first - the CurrentBars error you ran into would have also been noted there.

    Leave a comment:


  • jmflukeiii
    replied
    Bertrand, thanks again - I added a If (CurrentBar < 2) and it started working. I'm not sure why it worked on one session template though but not the other before adding that line, but nonetheless, its working now. Thank you

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Sorry I would not know without giving the study a run jmflukeiii - you would need to debug your code leading to the results displayed to understand why they would work differently on the templates used.

    Did you check for log tab errors when applying the study? Anything noted?

    Leave a comment:


  • jmflukeiii
    replied
    Thanks Bertrand.

    But back to the issue, why is my indicator not working on one session template, but working on another?

    Edit Nevermind, fixed it
    Thanks
    Last edited by jmflukeiii; 04-12-2012, 05:13 AM.

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    You can start with a fresh set of workspace by exiting NT completely and then going to Documents\NinjaTrader 7\workspaces and removing your .xml files from this folder, upon next startup NT creates a new blank workspace to use.

    Leave a comment:


  • jmflukeiii
    replied
    In the meantime Ninja is locking up everytime I start up now, completely unrelated to this indicator. Can someone help me with a quick solution to start just with a blank workspace open?

    Leave a comment:


  • jmflukeiii
    replied
    Meaning it prints the arrows on the "Use Instrument Settings" session template, but does not print arrows on any other custom session templates I have. I'll check for errors

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    jmflukeiii, what exactly do you mean by 'does not work'? Do you see any errors in the Log tab once the study is applied to your charts?

    Leave a comment:


  • jmflukeiii
    started a topic Session Template, Indicator not working

    Session Template, Indicator not working

    Why would an indicator I made to spot outside reversal bars work on one session template, but not on another? Basically its just:

    if High0>High1 and Low0<Low1 and Close0>Open0

    DrawArrowUp



    Why would the session template matter? (The two I'm referring to are the "Use Instrument Settings" and my custom one to convert my chart into GMT)

Latest Posts

Collapse

Topics Statistics Last Post
Started by helpwanted, Today, 03:06 AM
0 responses
3 views
0 likes
Last Post helpwanted  
Started by Brevo, Today, 01:45 AM
0 responses
7 views
0 likes
Last Post Brevo
by Brevo
 
Started by aussugardefender, Today, 01:07 AM
0 responses
5 views
0 likes
Last Post aussugardefender  
Started by pvincent, 06-23-2022, 12:53 PM
14 responses
242 views
0 likes
Last Post Nyman
by Nyman
 
Started by TraderG23, 12-08-2023, 07:56 AM
9 responses
384 views
1 like
Last Post Gavini
by Gavini
 
Working...
X