Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 22:51:29 +0000



Post From: Paintbar 3 closes above/below a study

[2016-03-29 15:55:26]
Sawtooth - Posts: 4215
Assuming you want all 3 of the bars to be up bars:
=AND(C>O,C[-1]>O[-1],C[-2]>O[-2],C>ID1.SG1[-1],C[-1]>ID1.SG1[-2],C[-2]>ID1.SG1[-3])

This may not do what you want. If you are expecting to color all subsequent bars after the 3rd up bar closes above the MA, you'll need to use a spreadsheet study so that you can create a persistent TRUE.