Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 09:56:02 +0000



Post From: COLOR BAR ALERT CONDITION FORMULAS

[2024-03-20 18:32:59]
User357489 - Posts: 72
Hi, once again having major difficulties putting a formula together. i have 4 conditions i need for this. the conditions each work serperately, but when i combine them with "AND" it shits itself and gives syntax errors. i have tried every combination i can think of, been thru your documentation but to no avail. here are the conditions i need in order for the bar to colour "green": from numbers bars calc values (ID35 in my case). i need gamma, total vol, cum delta and #trades. sg3, 13, 10 and 12 respectively.

ID35.SG3[-1] > 1000 AND ID35.SG10[-1] > ID35.SG10[-2] AND ID35.SG12[-1] > ID35.SG12[-2] AND ID35.SG13[-1] > ID35.SG13[-2],

and for "red" candle color i thought id use

ID35.SG3[-1] < -1000 AND ID35.SG10[-1] < ID35.SG10[-2] AND ID35.SG12[-1] > ID35.SG12[-2] AND ID35.SG13[-1] > ID35.SG13[-2].

Can SC handle multiple conditions in one alert study? i realise its quite specifi but thats the whole point.

Your timely response would be appreciated.

Thanks