You don't need to use the indicator to do this. Somebody asked on a different forum some time back how you would do a similar sort of thing once the profit reached a certain level.
I pasted the following block of code for him to use in an EA.
You would need to define "ACCOUNTPROFITDOLLARS" as an external integer (dollars only) or double (dollars and cents) in Global Scope first.
int total = OrdersTotal();
for (int cnt = 0 ; cnt < total ; cnt++)
If you also wanted to incorporate the account balance into the conditions then this is easy too.