Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 06:42:00 +0000



Post From: Alerting on

[2013-12-30 23:01:45]
User24489 - Posts: 12
Hi Support,

I'm hoping this is a simple question you can answer and help me. I will give you very detailed info here below.

I'm trying to compose the proper condition for an alert that will email me. When i get this email it's forwarded to my mobile phone as an SMS Text. I already have this forwarding part working just fine so don't be concerned with that part.

I am attempting to use the "Account Balance Text - External Service" Study and place a condition on the alerts tab for the study that i can have email me if my account balance drops below a threshold. For example if i have a $10k account balance i'd like to be alerted if my balance was to drop below $9k - signifying a -$1k draw down.

The reason i want to use this study like this is i have an automated system that trades but, i want to have a "safety net" alert that will email me if i step away from the computer and the autotrading malfunctions or has an error that results in a bunch of trading that could result in an account draining disaster.

I have tested this study and it does show the correct balance for my account. I have tested the alert and it does successfully email me but, i don't quite have the condition syntax right to evaluate the account balance properly.

I tried the condition "=SG1<10000" and it did work with the SIM account which had a balance showing of "0.00".

However, i tried the same with my real account (SIM off) which is more that $10k and it still evaluated to TRUE and emailed me when it should not have. I assume my condition syntax is not right.

Can you help me with what condition syntax will work with this particular study for evaluating account balance?

This "safety net" alerting and monitoring of account balance is very important to me as sometimes i may autotrade a market like oil starting a few hours before i am awake (i'm on West Coast of USA) and i don't want to have an account draining disaster from a malfunction or something unexpected.

Please let me know if you have any questions of me on what i am trying to accomplish. I really hope this is simple and you can help me. Thank you.