Page 1 of 2

Profit Level Alert

PostPosted: Wed Nov 06, 2013 6:09 am
by Apprentice
Profit Level Alert.lua
(4.41 KiB) Downloaded 1287 times

Profit Level Cross Alert.lua
(4.97 KiB) Downloaded 1235 times


Alert will be given,
if set, account level is reached.

"Balance", "Equity", "GrossPL" and "DayPL are supported

Re: Profit Level Alert

PostPosted: Wed Nov 06, 2013 8:08 am
by StefPasc
when openning the Method window it displays 6 possible selections :
"GrossPL", "Balance", "Equity", "GrossPL", "Balance"and "DayPL"
Is it right ?

Re: Profit Level Alert

PostPosted: Wed Nov 06, 2013 10:07 am
by snaderc
The Symbol field seems to be confusing things here. Perhaps we have a misunderstanding or I'm misunderstanding how to use this tool. I'm not looking for profit on individual currency pair positions. I am looking for an alert that notifies me when my account Net P/L reaches a certain profit or loss level, irregardless of which and how many currency pairs are in my account. I don't know how else to say that I want a notification when my overall Net P/L reaches certain extremes. And, I would like to be notified via e-mail so I can live, but be notified at the critical points I set. Example of a message I would like to receive: "Your Net P/L has reached -3.00 (in my case, dollars). At that point, I would likely make an adjustment to the positions held.

Re: Profit Level Alert

PostPosted: Wed Nov 06, 2013 10:31 am
by Apprentice
Method Duplicates are removed.

As for the currency pair selection.
It is irelevantas, as this is an account based alert.
Unfortunately can not be removed.
It is not defined within alert code.

Re: Profit Level Alert

PostPosted: Wed Nov 06, 2013 11:13 am
by snaderc
I am sorry. The loaded the wrong indicator. The tool provided is what I was looking for. Thank you. Curious, however, why Net P/L is not an option. Gross P/L is sufficient for my purpose.

Re: Profit Level Alert

PostPosted: Wed Nov 06, 2013 12:24 pm
by Apprentice
GrossPL IS The profit and loss on all open positions in the account.
The GrossPL is the difference between the Equity and the Balance of the account.

Re: Profit Level Alert

PostPosted: Wed Nov 06, 2013 12:33 pm
by snaderc
Thank you!

Re: Profit Level Alert

PostPosted: Wed Nov 06, 2013 1:19 pm
by snaderc
Is it possible to have multiple thresholds? (i.e. -3.00 and +3.00)?

Re: Profit Level Alert

PostPosted: Thu Nov 07, 2013 5:34 am
by Apprentice
Try to use Profit Level Cross Alert
This version supports cross algorithm, and negative value.
At this time I do not plan to add multi level alert.
However you can define multiple instances of this alert.

Re: Profit Level Alert

PostPosted: Thu Nov 07, 2013 2:38 pm
by snaderc
The (overlooked) obvious answer of having multiple alerts running is fine. Thanks again.