Profit Level Alert

The custom signals are published in this forum.

Moderator: admin

Profit Level Alert

Postby Apprentice » Wed Nov 06, 2013 6:09 am

Profit Level Alert.lua
(4.41 KiB) Downloaded 1282 times

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


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

"Balance", "Equity", "GrossPL" and "DayPL are supported
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Profit Level Alert

Postby StefPasc » Wed Nov 06, 2013 8:08 am

when openning the Method window it displays 6 possible selections :
"GrossPL", "Balance", "Equity", "GrossPL", "Balance"and "DayPL"
Is it right ?
StefPasc
 
Posts: 42
Joined: Fri Feb 01, 2013 5:53 am
Location: Athens, Greece

Re: Profit Level Alert

Postby snaderc » Wed Nov 06, 2013 10:07 am

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.
snaderc
 
Posts: 6
Joined: Wed Nov 06, 2013 12:18 am

Re: Profit Level Alert

Postby Apprentice » Wed Nov 06, 2013 10:31 am

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.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Profit Level Alert

Postby snaderc » Wed Nov 06, 2013 11:13 am

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.
snaderc
 
Posts: 6
Joined: Wed Nov 06, 2013 12:18 am

Re: Profit Level Alert

Postby Apprentice » Wed Nov 06, 2013 12:24 pm

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.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Profit Level Alert

Postby snaderc » Wed Nov 06, 2013 12:33 pm

Thank you!
snaderc
 
Posts: 6
Joined: Wed Nov 06, 2013 12:18 am

Re: Profit Level Alert

Postby snaderc » Wed Nov 06, 2013 1:19 pm

Is it possible to have multiple thresholds? (i.e. -3.00 and +3.00)?
snaderc
 
Posts: 6
Joined: Wed Nov 06, 2013 12:18 am

Re: Profit Level Alert

Postby Apprentice » Thu Nov 07, 2013 5:34 am

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.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Profit Level Alert

Postby snaderc » Thu Nov 07, 2013 2:38 pm

The (overlooked) obvious answer of having multiple alerts running is fine. Thanks again.
snaderc
 
Posts: 6
Joined: Wed Nov 06, 2013 12:18 am

Next

Return to Custom Signals

Who is online

Users browsing this forum: No registered users and 18 guests