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)
In case you use Global Variables for example, you'd use one set of Global Variables for the systems and their numbers. I would create an input in the system for the system number (or name), the global variable element location for the name and an additional number for the maximum number of systems you are using.
Using the maximum number of systems you can loop through all numbers, retrieve the signal names for each signal and with that you can look up the market positions etc. (which of course needs to be stored in each signal and a set of global variables).
It might sound a bit complicated, but it works well.
There is no need for Data2 etc. unless you use it in your system of course. Let's assume one signal is on chart 1 and a second signal on chart 2.
You use Global Variables so the signal on chart 2 knows the market position on chart 1 (or what ever you want to check for).
If the signal on chart 1 is in a position you can use this information to block the execution on chart 2.