Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I'm not sure what "out of sync" means. I need to move on, maybe someone else can help you from here. Since you don't have any/much programming experience this could get very time-consuming for me. I just thought I'd point out some quick-to-find things for you. You can always try here or here or here as well for further help.
BTW, I am a retired programmer/analyst but C# is not a language that I know. The out of sync condition as shown in the screenshot means the plots don't match.
what I do if I want to share data between more indicators is a Singleton Pattern class. This ensures, that only one instance can be exist at one time. Just google for Singleton Pattern C#
So the class could look like this:
So you can do some write operation in indicators like this:
I had that exact same problem, indicators compiled with no errors but all of my custom indicator disappeared, but were in the Indicators directory. I contacted Ninja support and after compiling several indicators with no errors he upgraded my release level (I was only 1 level behind) and when that didn't fix the problem we started removing these indicators, which solved the problem.
The original indicators first posted worked fine, but when I updated the code to include making the DataTable private and included the global locking mechanism the problem occurred, As I stated once all of the indicators were removed the problem went away.
I haven't gotten back to it yet but once I do I will be more methodical in doing the updates and see if I can at lease identify where it's getting broken.
Create indicator that will, for each instrument of interest, calculate the prior day OHLC, overnight (Globex) HL, prior day VWAP, current day VWAP , and SD of current day VWAP, and store the data in a singlet class, or a file.
Create indicators that recover the stored data and display those levels on any chart of any of the instruments of interest. So that you don't have to calculate the same things on a gazillion different charts.
Even better would be if @NinjaTrader calculated these and made them available from their historical and real time data servers.
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett