Close Strategy based on P/L of the account

If you need your own private indicator, signal or strategy, or any kind of development using various trading APIs - please visit this forum.

Moderator: admin

Close Strategy based on P/L of the account

Postby shantanubasu » Tue Jan 24, 2012 2:17 pm

Willing to Pay for the development of the Below EA:
Trading Platform is Market Scope 2.0 from FXCM.
I have seen an earlier thread on the requested EA in this forum but unfortunately the EA does not work for people in US. I need the EA to work in USA probably by implementing a different logic during coding: Below is the description of the EA.
I usually open two or three positions on differents currencies at the same time. If my net Profit/Loss is above or below a certain percentage of my Equity (2% e.g.), strategy is to CLOSE ALL Open positions automatically at the same time.

The Strategy has to do the following:

1) Monitor Gross P/L of my account
2) I should be able to configure the following:
a. Profit % (When this is reached all the open positions will be closed with a profit)
b. Loss % (When this is reached all the open positions will be closed with a loss)
3) If I am trading say 3 Currency Pairs, I should need to add the strategy to one currency pair ONLY and it should work for all the open positions (since the trigger point is % of equity defined in step 1 and 2)

I have attached the Strategy that I downloaded from this forum but it does not work for US Clients. This has to be fixed. Thanks.
Attachments
LevelCloseStrategy_Updated.lua
Strategy file downloaded from this Forum but not working for US Clients
(13.1 KiB) Downloaded 599 times
shantanubasu
 
Posts: 2
Joined: Fri Jul 09, 2010 8:06 am

Return to Premium Development Services

Who is online

Users browsing this forum: No registered users and 1 guest