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 looking for method to share (communicate) data between two indicators.
Both indicators need to be attached to the same chart.
Call one indicator from within another one is not an option, as it limits plot options in the called one.
At first stage I want to keep it simple, so one indicator need only to send/outputs data and the second one only to read it.
DataSeries is the preferred data type I would like to use, so it can be used for both,historical and real-time.
Any suggestions?
Can you help answer these questions from other members on NexusFi?
I guess that I can use more than one instance of this in the same chart simultaneously, because the classes are not static.
You can all do, if you have this self programmed... for more instances you cad add a key(=instance) based dictionary for select the right storeage container... or any other way (example the "register" concept with a unique name on Init and the storage shows the exist of this, if yes return the right container, if no create a new container and return the new value,...)
The only problem: you must understand the logic and know the "C# way" for realize this
I'm trading CL with 4 different strategies across 3 different time frames. All I need is to have a variable that can store long or short when a strategy takes a position, or flat if no positions so that all my entries stay either long or short. I …