Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 17:03:20 +0000



Post From: Help With Indicator

[2021-07-11 20:50:00]
silvereagle - Posts: 23
Hi Friends,

I was looking around but I did not find an indicator that does what I'm trying to accomplish. If it exists, please point me in the right direction. :) What I wanted was an indicator on my range chart that would color a bar based off whether or not it closed with in a certain time/seconds threshold. Essentially, if say the input was 180 seconds, and the bar only lasted 2 minutes (120 seconds), this candle could be set to a custom color. Does this already exist or are there easy enough code examples I could follow somewhere or perhaps a little psudo-code that could get me started? I really appreciate any and all help!

Thanks!