Advanced Fractal

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: Advanced Fractal

Postby tdesiato » Sat Nov 28, 2015 1:27 am

Apprentice wrote:
The attachment Adv_Fractal_support_ resistance.png is no longer available

Requested can be found here.
I did not have time to test this one.
Performance improvements are needed.
The attachment Adv_Fractal_support_ resistance.png is no longer available



I modified this indicator to show Supply & Demand levels more clearly at the close of the candles, and limited the number of lines it will draw, so it doesn't crash anymore. Now, the Length is also the number of candles to be tested. I also fixed the line width & style and generally cleaned up the code. I think it is a very useful indicator for those trading S&D on higher time frames.

Best Regards,
Todd
Attachments
Supply_and_Demand.lua
(5.27 KiB) Downloaded 1664 times
tdesiato
 
Posts: 13
Joined: Sun Jun 02, 2013 11:47 pm

Re: Advanced Fractal

Postby Apprentice » Mon Dec 14, 2015 7:33 am

Dec 14, 2015: Compatibility issue Fixed. _Alert helper is not longer needed.

If you want to use updated version of this indicator,
please make sure to use TS Version 01.14.101415. or higher.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Advanced Fractal

Postby Apprentice » Wed Feb 22, 2017 4:16 am

Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Advanced Fractal

Postby Lucilene » Sun Feb 26, 2017 7:37 pm

Hello Apprentice,

Can You make a modification in the Advanced Fractal with Alert Indicator to make it execute two* external *.exe files after to play the alert sound?

*If the signal is up execute the first file, if the signal is down execute the second file.

Thanks in advance,

Best regards.
Lucilene
 
Posts: 4
Joined: Thu Feb 16, 2017 4:51 am

Re: Advanced Fractal

Postby Apprentice » Tue Feb 28, 2017 3:54 am

Your request is added to the development list, Under Id Number 3754
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: Advanced Fractal

Postby Lucilene » Tue Feb 28, 2017 6:34 am

For now I solved my problem inserting the following lines pointed by arrows:

(..)

if U[id]~=source:serial(period-Shift)
and period == source:size()-1
and not FIRST
then
U[id]=source:serial(period-Shift);
SoundAlert(Up[id]);
==>> os.execute("G:\\ForexDB\\Buy1xDN0m.exe")
EmailAlert( Label[id], " Down ", period-Shift);
if Show then
Pop(Label[id], " Down" );
end
end

(..)

if D[id]~=source:serial(period-Shift)
and period == source:size()-1
and not FIRST
then
D[id]=source:serial(period-Shift);
SoundAlert(Down[id]);
==>> os.execute("G:\\ForexDB\\Buy1xUP0m.exe")
EmailAlert( Label[id] , " Up", period-Shift);
if Show then
Pop(Label[id], " Up " );
end
end

(..)

But more elegant solution would be insert a session to permit the non programer user to choose the external files to up and down situations. I don't know LUA enough to do this task and I'm very sick to learn.
Lucilene
 
Posts: 4
Joined: Thu Feb 16, 2017 4:51 am

Re: Advanced Fractal

Postby Lucilene » Tue Feb 28, 2017 7:04 am

P.S: If possible make this indicator compatible with Strategy Builder.

Thanks in advance.
Lucilene
 
Posts: 4
Joined: Thu Feb 16, 2017 4:51 am

Re: Advanced Fractal

Postby Apprentice » Wed Mar 01, 2017 4:58 am

Try this version.
Advanced_Fractal_with_Alert.lua
(9.85 KiB) Downloaded 1333 times


But there is downside of the users request: TS freezes during execution of the users exe file (you can't do otherwise in Lua, unfortunately).

Perhaps you can run .bat execute .exe from .bat?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Advanced Fractal

Postby Avignon » Thu Apr 13, 2017 4:34 pm

Little bug. I think the signal is done at the highest / lowest instead of the fence of the candle. :)

Capture 1.png



After refrech.
Capture 2.png
Avignon
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

Re: Advanced Fractal

Postby Stonyheart » Wed Apr 19, 2017 4:02 am

Hi, it's possible to make Advanced Trend Fractal Overlay in MQL4, please ?
Stonyheart
 
Posts: 3
Joined: Wed Apr 19, 2017 3:59 am

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider] and 40 guests