Login Page - Create Account

Support Board


Date/Time: Fri, 21 Sep 2018 05:07:46 +0000



[User Discussion] - Study settings to keep true for X bars

Support Request:
[2017-12-23 09:32:36]
sunnyod - Posts: 120
Hi,

Is it possible when a colour bar alert is true, to define how many bars it stays true for?

For example. I have a colour bar study (ID1) which checks to see if close is greater than open and volume is greater than X. I have another colour bar alert study which checks if ID1 was true at any point over the last 50 bars and if a bullish MA crossover has just happened.

Not sure if there is a study that can help here or maybe a way lock ID1.SG1 to value 1 for 50 bars in code?

Thanks
S
[2017-12-27 12:23:19]
sunnyod - Posts: 120
FYI. I've worked this out
Date Time Of Last Edit: 2017-12-27 12:23:29

To post a message in this thread, you need to login with your Sierra Chart account:

Login


Login Page - Create Account