Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=3144
Forum: 17 · Topic 3144 · 20 post(s)
Apprentice · Wed Jan 05, 2011 10:16 am

IF CCI >= 0 then MAGIC = max(previous MAGIC, LOW - ATR()) else MAGIC = min(previous MAGIC, HIGH + ATR()) end
Indicator-Based strategy https://fxcodebase.com/code/viewtopic.php?f=31&t=71684
macogi37 · Tue Jan 11, 2011 2:08 pm
Hi Apprentice, there is a strategy for this indicator? would be nice to be able to test … Thanks
Apprentice · Tue Jan 11, 2011 2:54 pm
Moved From Beta Subforum.
Apprentice · Wed Sep 21, 2011 3:57 am
Required can be found here. viewtopic.php?f=31&t=6681
RJH501 · Sun Oct 16, 2011 1:57 pm
The strategy will not trade US account.
Your assistance will be appreciated.
Richard
Apprentice · Mon Oct 17, 2011 2:31 am
I was not able to repeat this one. I continue testing.
fxcyberman · Tue Jul 16, 2013 10:28 pm
When does it show green or red color ? Which criteria reached ?
Apprentice · Wed Jul 17, 2013 3:57 am
Green If Line goes Up Red If Line goes Down Gray for Flat
Alexander.Gettinger · Thu Aug 29, 2013 11:03 am
MQL4 version of Magic Trend indicator: http://www.fxcodebase.com/code/viewtopi … 38&t=59351.
Apprentice · Fri Sep 06, 2013 6:28 am
Updated.
jamrocktrader · Thu Nov 19, 2015 7:13 am
Hey Apprentice
Could you please add a ‘live/end of turn’ option and an audio alert to the magic trend indicator. _Alert.lua would be use to trigger the alarm.
Also the indicator does not refreshes automatically. Could you look in that.
Thank you
Apprentice · Tue Nov 24, 2015 5:12 am
Magic Trend with Alert.lua added.
jamrocktrader · Tue Nov 24, 2015 7:54 am
Excellent work. Thank you.
Apprentice · Wed Dec 02, 2015 5:55 am
Compatibility issue fixed. _Alert Helper is not longer needed.
Apprentice · Sat Aug 05, 2017 4:22 am
The indicator was revised and updated.
easytrading · Wed Jul 11, 2018 4:14 pm
Hello Apprentice,
if you please, could we have price overlay for Magic Trend.lua with my appreciation.
Apprentice · Thu Jul 12, 2018 8:17 am
Magic Trend Overlay.lua added.
Fernas · Thu Jul 12, 2018 9:57 am
Hello
it seems that the indicator is insensitive to CCI periods. I have changed the value of CCI period from 5 to 50 range with no effect what so ever on the indicator (EUR-USD Daily chart). Could you please confirm this observation.
jaminjermaine · Sun Sep 30, 2018 4:08 pm
Can the trade amount in lots be modified to accept more than 100k?
Apprentice · Mon Oct 01, 2018 5:00 am
Try it now.