Page 1 of 5

TrailingStopStrategy

PostPosted: Fri Sep 15, 2017 4:03 pm
by Apprentice
Based on the request.
viewtopic.php?f=27&t=65067
TrailingStopStrategy.lua
(9.45 KiB) Downloaded 1373 times

Re: TrailingStopStrategy

PostPosted: Fri Sep 15, 2017 5:13 pm
by Reymondpolanco
Perfect, the strategy only allow to put profit levels in pips, can you put the option to put a specific price level in each profit level i mean the two options: price level and pips.

Re: TrailingStopStrategy

PostPosted: Sat Sep 16, 2017 12:16 pm
by papynou34
Hello,
Thanks for your great job.
Is it possible to add a percent of total Lot to be closed after Tp1, tp2, and so on?
That means i would like to close for example 50% of the order after 10 pips of profit.

Thanks in advance

Re: TrailingStopStrategy

PostPosted: Wed Sep 20, 2017 7:00 pm
by Reymondpolanco
Can you put the option to use the strategy with the "entry orders" too, and put the option to place a target price in the take profit plus pips too.

Re: TrailingStopStrategy

PostPosted: Fri Sep 29, 2017 7:36 am
by Apprentice
Your request is added to the development list under Id Number 3907

Re: TrailingStopStrategy

PostPosted: Thu Oct 12, 2017 11:58 am
by Alexander.Gettinger
Reymondpolanco wrote:Can you put the option to use the strategy with the "entry orders" too, and put the option to place a target price in the take profit plus pips too.


Please, try this strategy:
TrailingStopStrategy2.lua
(12.21 KiB) Downloaded 1286 times

Re: TrailingStopStrategy

PostPosted: Thu Oct 12, 2017 11:06 pm
by Reymondpolanco
i dont see the option to put the levels in price and the order doesn´t appear in the list

Re: TrailingStopStrategy

PostPosted: Sat Nov 25, 2017 8:22 pm
by Daveatt
Hi Apprentice

Could we add the option to sell half of the position once each TP is achieved ?

Thanks
David

Re: TrailingStopStrategy

PostPosted: Thu Nov 30, 2017 8:10 am
by Daveatt
Hi

I was testing TrailingStopStrategy2.lua

I'm getting the following error message when entering a trade at market with stop loss = -10 and TP1/TP2/TP3/TP4/TP5 defined at 2 pips each

"Failed create/change stop Cannot place more than one order of this type for each trade."

Does anyone else have the issue ?

Thanks
David

Re: TrailingStopStrategy

PostPosted: Mon Dec 04, 2017 6:36 am
by Apprentice
Try it now.