Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 01:57:09 +0000



Post From: coding help

[2023-01-05 01:04:28]
User259724 - Posts: 43
I am trying to write a simple colour bar based on alert. I want the bar to be coloured when 4 lines are in a certain order. Some of the bars are coloured at the wrong time.
I want the bar to be coloured (see screenshot) when the purple line>cyan line>yellow line>green line.
The purple line is ID20
The cyan line is ID16
The yellow line is ID13
The green line is ID3
Here is my code =ID20.SG2>ID16.SG2>ID13.SG2>ID3.SG2
I have set my Input data in "settings and inputs" to last.
ID20, ID16,and ID13 are installed on the chart using "Study/Price Overlay" study from longer term range charts. The Destination chart is also a range bar chart.

I have included a screen shot with some comments.

Thanks for any help received.
imageF.US.ENQh23 [CV][M] 6.00 Range #5 2023-01-04 19_45_09.398.png / V - Attached On 2023-01-05 00:58:44 UTC - Size: 48.35 KB - 88 views
Attachment Deleted.