Login Page - Create Account

Support Board


Date/Time: Fri, 20 Sep 2024 09:42:26 +0000



Post From: Syntax in Alert for the study "Bar Time Duration"

[2014-10-01 04:11:48]
FFTrader - Posts: 180
I want to add a study alert such that if the study Bar Time Duration is above a threshold, it will color the bar, etc.

If for example, I want the condition to be "greater than 5 minutes and 00 seconds", I have the Study Alerts set as (as per the time format displayed):

= ID1.SG1>00:05:00

I also tried (as in 300 seconds):

= ID1.SG1>300

and also tried (as in 1/12 of an hour):

= ID1.SG1>0.08333

All of the above format yielded nothing or a syntax error. I also tried randomly putting in a number too.

What should be the correct syntax when referring to the Bar Time Duration study?
Date Time Of Last Edit: 2014-10-01 04:16:20