Page 10 of 11

Re: Close strategy

PostPosted: Fri Nov 03, 2017 11:58 am
by CARBON
Is it possible to close all positions when Loss is above a specific percentage of balance instead of fixed $ ? because when i setup -4% for exemple thats give me an error

Re: Close strategy

PostPosted: Fri Nov 03, 2017 12:01 pm
by CARBON
Is it possible to close all positions when "Loss" is above a specific percentage of balance instead of fixed $ ? for exemple when i setup -1% thats give me a error and don't work

Re: Close strategy

PostPosted: Fri Nov 03, 2017 2:34 pm
by Mountaintrader
Hi,

Is it possible to add the parameter option to select between "Gross or Net" P/L ?

Re: Close strategy

PostPosted: Tue Nov 21, 2017 7:11 am
by Apprentice
Sent to development team.

Re: Close strategy

PostPosted: Thu Jan 18, 2018 6:02 am
by conjure
conjure wrote:Is it possible to close all positions when profit is above a specific percentage of balance instead of fixed $ ?


Apprentice wrote:Try this version.
LevelCloseStrategy.lua


Apprentice
I tested the strategy and it's sending the order to "Close All Positions for Symbol" rather than "Close All Positions". So if I have multiple currency pairs open, it will only close the trades which I have the strategy attached to. And if I attach the strategy to both currency pairs and set the profit target to say 2.5%, it will close all trades in 1or2 currency pair when total profit reaches 2.5% but remaining trades stay open. The remaining trades will only close when the profit on remaining trades goes back up to 2.5%.

Can it be fixed?
Thank you

Re: Close strategy

PostPosted: Wed Jan 24, 2018 7:23 am
by Apprentice
Your request is added to the development list under Id Number 4024

Re: Close strategy

PostPosted: Sun Jan 28, 2018 9:08 am
by Apprentice
Please "Use on All Symbols" parameter.

Re: Close strategy

PostPosted: Mon Feb 19, 2018 6:55 am
by Apprentice
by luigipg ยป Wed Feb 14, 2018 11:23 pm

I would need, and I think that it was very usefull, who someone can add the ability to close all opened positions (all currencies) AND/OR delete all pending orders when the "EQUITY" reaches a specified ammount (NOT when total profit/loss is above/below user's level).

Try this version.
LevelCloseStrategy.luigipg.lua
(15.2 KiB) Downloaded 823 times

Re: Close strategy

PostPosted: Fri Feb 23, 2018 7:13 am
by luigipg
Thanks so much and best wishes for your birthday. Luigi!!!

Re: Close strategy

PostPosted: Fri Feb 23, 2018 7:25 am
by luigipg
In all cases you can add the option to also close pending orders? Thank you. Luigi!!!