Fractal trailing stop

Strategies are published here.

Moderator: admin

Re: Fractal trailing stop

Postby doanthedung » Mon Dec 05, 2016 11:00 pm

Can you add Fractal trailingstop into Fractal Strategy? It's very useful.
Thanks!
doanthedung
 
Posts: 23
Joined: Tue Jul 21, 2015 12:17 am

Re: Fractal trailing stop

Postby Apprentice » Tue Dec 06, 2016 7:12 am

Your request is added to the development list, Under Id Number 3687
If someone is interested to do this task, please contact me.
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 » Fri Apr 28, 2017 9:05 pm

Cactus wrote:
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.
Cactus wrote:
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 Avignon » Wed May 24, 2017 5:56 pm

Hello,

Little bug : the line "Choose Trade" is empty. :)
Attachments
Capture.png
Avignon
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

Re: Fractal trailing stop

Postby Apprentice » Thu May 25, 2017 5:33 am

aha.png

You need to have open positions.
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 » Sat May 27, 2017 7:01 am

Can you make it work for ALL positions, automatically?
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 » Sat May 27, 2017 7:26 am

Sure.

Your request is added to the development list, Under Id Number 3802
If someone is interested to do this task, please contact me.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Fractal trailing stop

Postby Apprentice » Mon Jun 05, 2017 9:21 am

FractalStopAllTrades.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 » Tue Jun 06, 2017 12:18 pm

Thank you
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 Avignon » Fri Aug 25, 2017 6:50 am

Question :

Why trade disappear ? What are the condition ?

Capture.png



Thank you. :)
Avignon
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 14 guests

cron