I have developed an oscillator in a non-price study that is processor intensive to calculate (so I don't want to duplicate it in the price chart) and a nice way to display it there. What I would like to do is generate a variable in that study that is either +1, -1 or zero when certain conditions are met, and get that variable to the main price study chart so that I can display a green or red bar in the background using setBarBgColor(), or another function. The whole point is that when my non-price oscillator makes a buy or sell signal, that a corresponding green or red bar appears on the main price chart so it is as obvious as possible for me to see.
I have worked with EFS for several years and it seems like each study (price or non-price) is a little world unto itself - how do I get data from one to another?
I have worked with EFS for several years and it seems like each study (price or non-price) is a little world unto itself - how do I get data from one to another?
Comment