Page 9 of 10

Re: Advanced Fractal

PostPosted: Sat Nov 28, 2015 1:27 am
by tdesiato
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

Re: Advanced Fractal

PostPosted: Mon Dec 14, 2015 7:33 am
by Apprentice
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.

Re: Advanced Fractal

PostPosted: Wed Feb 22, 2017 4:16 am
by Apprentice
Indicator was revised and updated.

Re: Advanced Fractal

PostPosted: Sun Feb 26, 2017 7:37 pm
by Lucilene
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.

Re: Advanced Fractal

PostPosted: Tue Feb 28, 2017 3:54 am
by Apprentice
Your request is added to the development list, Under Id Number 3754
If someone is interested to do this task, please contact me.

Re: Advanced Fractal

PostPosted: Tue Feb 28, 2017 6:34 am
by Lucilene
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.

Re: Advanced Fractal

PostPosted: Tue Feb 28, 2017 7:04 am
by Lucilene
P.S: If possible make this indicator compatible with Strategy Builder.

Thanks in advance.

Re: Advanced Fractal

PostPosted: Wed Mar 01, 2017 4:58 am
by Apprentice
Try this version.
Advanced_Fractal_with_Alert.lua
(9.85 KiB) Downloaded 127 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?

Re: Advanced Fractal

PostPosted: Thu Apr 13, 2017 4:34 pm
by Avignon
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

Re: Advanced Fractal

PostPosted: Wed Apr 19, 2017 4:02 am
by Stonyheart
Hi, it's possible to make Advanced Trend Fractal Overlay in MQL4, please ?