• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CalculateOnBarClose not working

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

    CalculateOnBarClose not working

    Hi all, I have been having an issue which I haven't had before and cannot figure out whats going on. I have CalculateOnBarClose = true on and I am calling my script to (run once on that one bar) but for some reason with sendmail and also with a print test I am getting about 90 emails / outputs on that single 1 minute bar. I have cleared my indicator out, recompiled it, restarted ninjatrader etc but I am having the same issue.

    Anyone know what it could be as to why it keeps running over and over during that bar and not stopping?

    #2
    Scratch that, forgot I had a sneaky while loop in there! Fixed it.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Conall, Today, 06:11 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by CaptainAmericaXX, Today, 07:41 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by Longhornmark, Today, 07:06 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by 2sureshk, Today, 07:29 AM
    0 responses
    4 views
    0 likes
    Last Post 2sureshk  
    Started by uday12, Yesterday, 10:26 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Working...
    X