Regards,
Jay F.
Product Manager
_____________________________________
Have a suggestion to improve our products?
Click Support --> Request a Feature in eSignal 11
My apologies for not summarizing what I did. Basically, I added two conditions for the histogram portion. Then I actually had to open the Formula Editor to insert some code into the OnAction functions.
setBarFgColor(Color.RGB(255,0,0),0);
This says turn the first returned study color red. The first study is referenced by putting a ",0" after the Color.RGB function. Here's another example...
setBarFgColor(Color.RGB(0,255,0),1);
This says turn the second returned study color green.
The reason for the weird circumstance that 0 means 1st returned value and 1 means the 2nd, is due to the way JavaScript handles arrays. In an array, the first value is assigned a reference of zero, the second is 1, the third is 2, and so on.
Regards,
Jay F.
Product Manager
_____________________________________
Have a suggestion to improve our products?
Click Support --> Request a Feature in eSignal 11
Comment