Fractal trailing stop

Strategies are published here.

Moderator: admin

Re: Fractal trailing stop

Postby Apprentice » Sun Mar 11, 2012 5:10 am

This is already possible to Fractals, greater than 5 (2 +2 +1).
FractalStop.lua
(7.07 KiB) Downloaded 1267 times

In this version you can also use 3.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Fractal trailing stop

Postby noozak » Tue Apr 03, 2012 8:11 am

Can this strategy be used in conjunction with another?

So If I used the Advanced Fractal Strategy to make my buy and sell orders, and also had this attached to the chart it would set up a trailing stop for the previous order?
noozak
 
Posts: 3
Joined: Tue Mar 27, 2012 2:20 pm


Re: Fractal trailing stop

Postby guangho » Mon Dec 03, 2012 2:18 am

Is there such a strategy?

When the signal appears when only the profitable positions, losing streak without treatment.

Sites on the other stop strategies aimed at specified positions or all positions of execution, if I open up many positions in the strategy of setting time will be very troublesome.

thank you!
guangho
FXCodeBase: Initiate
 
Posts: 106
Joined: Sat Sep 29, 2012 12:16 pm

Re: Fractal trailing stop

Postby peterpap » Sun Jun 02, 2013 12:16 pm

Using FractalStop4.lua, I've made a corresponding trailing limit stradegy that works with all the orders for the selected pair and moving back if you wish to capture more pips.
Thanks a lot!
peterpap
 
Posts: 3
Joined: Sun Jun 02, 2013 11:25 am

Re: Fractal trailing stop

Postby Bouzouki » Mon Jan 25, 2016 7:27 pm

Wow Really Nice work! Is it possible to have this based on 2nd fractal instead of the most recent. Example would be trail stop just above last 2nd fractal on a 15min chart.
Bouzouki
 
Posts: 3
Joined: Wed Oct 22, 2014 2:57 pm

Re: Fractal trailing stop

Postby Apprentice » Wed Jan 27, 2016 8:21 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Fractal trailing stop

Postby Cactus » Sun Aug 14, 2016 10:04 pm

Alexander.Gettinger wrote:Fractal stop that works with all the orders for the selected pair:
FractalStop4.lua


Hello, I like this. I think this is the only trailing stop on the forum that works for "all orders". I shall study it and see how the code can be adapted for other trialing stops in a similar fashion.

Meanwhile, I would like to request a change to this version of the strategy. Can the asymmetrical fractal indicator be used as the fractal base on which to place stop losses?
It can be found here:
viewtopic.php?f=17&t=32544&p=55438

Everything else would stay the same, I just want to specify the before and after number of candles that form a fractal for this trailing stop.
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: Fractal trailing stop

Postby Apprentice » Mon Aug 15, 2016 4:26 am

Asymmetric Fractal Stop.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Fractal trailing stop

Postby Cactus » Mon Aug 15, 2016 10:01 am

Apprentice wrote:Asymmetric Fractal Stop.lua added.


Thank you, however, is it the same as "Fractalstop4.lua", just using asymmetric fractals?
Studying the code I notice it is less in size, and generally it is more like the original .lua in the first post, which does not work on all orders?

I see it is
Code: Select all
instance.parameters.Trade .. ")";

Instead of
Code: Select all
instance.parameters.Symbol .. ")";


etc.

I can try fix it copy pasting lines between the two strategies to achieve this and post it here later for your confirmation if it is correct but if there's a quicker way of doing it can you post the "Fractalstop4.lua" version with Asymmetric Fractals, thanks.
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 19 guests