♥ 0 |
Hi Pete – I’m trying to develop code that will display a label on my TOS chart showing the color of the Squeeze Histogram for a timeframe I specify. The code is attempting to show the current Squeeze histogram color for the 60-min timeframe as a label on a lowertime chart such a 1-min chart. When I test the label it doesn’t work and I can’t see yet why not. Would you please take a look and help me figure out what’s missing?
input price = fundamentaltype.CLOSE; AddLabel(yes, “60”, if BC then GlobalColor(“BC”) else if BB then GlobalColor (“BB”) else if BRR then GlobalColor (“BRR”) else if BRY then GlobalColor (“BRY”) else GlobalColor (“neutral”));
Marked as spam
|
Please log in to post questions.