Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 11:19:50 +0000



Post From: Colouring bars based on time

[2024-11-03 18:51:03]
User715695 - Posts: 7
Hello,

Is it possible to color each line/candle based on the time it took to form ?


I got as far as the "Color Bar Based On Alert Condition" study but can't figure out what the alert condition formula should be or what exact setting i got wrong.

I've set the study to be based on a "Bar Time Duratin" study, input data to Duration and the alert condition to =sg1 < time( 0, 0, 10) with the hope to color every bar that took less than 10 sec to form.

This just colors everything... help please !