Page 6 of 11

Re: Close strategy

PostPosted: Fri Feb 10, 2012 6:54 am
by sunshine
The version of the strategy which supports US accounts is attached.

Re: Close strategy

PostPosted: Mon Feb 20, 2012 4:22 am
by lindsaybaggen
Thank you for developing this. For some reason every time the strategy activates and closes the open positions it turns itself off. I am using FXCM Trade Station II. Can you advise on this?

Thank you

Re: Close strategy

PostPosted: Mon Feb 20, 2012 10:39 am
by Hug Coder
lindsaybaggen wrote:Thank you for developing this. For some reason every time the strategy activates and closes the open positions it turns itself off. I am using FXCM Trade Station II. Can you advise on this?

Thank you


That's suppose to happen to prevent unwanted action after it has done what it's suppose to. After securing your profit it will stop. It's possible to make it not stop though, I can make an option for it if you really have considered the consequences and want it.

I think the purpose of this strategy is to close with a Daily profit, or what ever time period you are at. Then you are suppose to enter your trades and so on again, and start this strategy afterwards, and let it close at profit again. Then you repeat this. Maybe you don't want to close at same profit every time too, then you gotta restart strategy anyway. So I think it's good that it stops.

Re: Close strategy

PostPosted: Wed Apr 25, 2012 10:01 am
by mybrainhertz
It is strange to me that FXCM have a Close all Positionss under their Trading menu but don't have a macro that does it at predefined levels. This Strategy doesn't seem to work as advertised.

To be clear, what is required is a strategy that would close all positions regardless of their symbol, symbol meaning currency pair.

Symbol Box at the top of the Strategy is misleading as it only allows you to select one currency pair. Again we are looking for all currency pairs to be selected.

Parameter Fields for the strategy would be:-

Total Profit level Pips or Total Profit Level Dollars $ (You'd have a switch to select which you'd prefer)
Total Loss Level Pips or Total Loss Level Dollars $ (You'd have a switch to select which you'd prefer)

Trading Parameters would be the same although I don't see the need for Symbol All as that is the basis of the strategy.

Is this possible?

Re: Close strategy

PostPosted: Thu Apr 26, 2012 2:28 am
by Apprentice
Thank you for the suggestions, I see no reason why this would not be possible.

Re: Close strategy additional BUY/SELL function ?

PostPosted: Mon May 14, 2012 6:38 am
by julio123
Hello,

Is there a way to add a function where you can select also that it close only all
the BUY positions of a certain currency or only all the SELL positions ?

Thanks Julio.

Re: Close strategy

PostPosted: Mon May 14, 2012 1:59 pm
by Apprentice
This option can b addded.

Re: Close strategy

PostPosted: Mon Jun 18, 2012 11:30 am
by whitekit04
So, we still do not have strategy that the automatically close position with selected multiple currency pairs? :shock:

Thanks for your help.

Re: Close strategy

PostPosted: Wed Jun 20, 2012 2:50 am
by njagadish
Hi,
Can anybody help me to explain how to write a simple code to close a specific open trade? For example, if I have three open trade open from my startegy, during opening of each trade how I can store the Trade.ID and later I can call-up this Trade.ID to close it (close one trade out of three open trades)

Thanks

Re: Close strategy

PostPosted: Thu Jul 05, 2012 11:47 am
by veight
Hi there,

May I know is the strategy below available? If not, is it difficult to be coded? Thanks!

Close 2 tickets simultaneously when hit combined profit

To close 2 tickets (any symbol, e.g. 'buy' EUR/USD with 'sell' EUR/JPY) at the same time, when the aggregate profit (of the 2 tickets) hits a targeted profit.

Well, my idea is the program should allow user to manually key in the 2 tickets number, and set the targeted profit. Ideally, user should be able to have multiple sets of this program running at the same time e.g. 1st set - 'buy' EUR/USD with 'sell' EUR/JPY; 2nd set - 'buy' EUR/JPY with 'sell' EUR/USD; 3rd set - 'buy' CHF/JPY with 'sell' USD/JPY; 4th set - 'buy' GBP/USD with 'sell' EUR/JPY and so on.