Announcement

Collapse
No announcement yet.

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 wildleanketosale, Today, 03:49 AM
0 responses
1 view
0 likes
Last Post wildleanketosale  
Started by wildleanketosale, Today, 03:48 AM
0 responses
3 views
0 likes
Last Post wildleanketosale  
Started by hiltonvarai, Today, 03:10 AM
0 responses
1 view
0 likes
Last Post hiltonvarai  
Started by afyuwi, Today, 02:33 AM
0 responses
2 views
0 likes
Last Post afyuwi
by afyuwi
 
Started by wushutrades, Today, 01:41 AM
0 responses
5 views
0 likes
Last Post wushutrades  
Working...
X