Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 01:56:05 +0000



Post From: How to create an COLOR BAR BASED UPON ALERT CONDITION for multiple bars following a signal

[2023-02-07 22:03:51]
Sawtooth - Posts: 4120
Try this:
=IF(AND(LongCondition1,LongCondition2,LongCondition3),1,IF(AND(ShortCondition1,ShortCondition2,ShortCondition3),-1,ID1.SG1[-1]))
where ID1 is the color bar study.
This will make the confluent signal persistent until the opposite confluent signal.

Then set the Auto-Coloring to Based On +/-