Magic Trend

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

Magic Trend

Postby Apprentice » Wed Jan 05, 2011 10:16 am

Magic Trend.png


IF CCI >= 0 then
MAGIC = max(previous MAGIC, LOW - ATR())
else
MAGIC = min(previous MAGIC, HIGH + ATR())
end
Magic Trend.lua
(3.38 KiB) Downloaded 2365 times

Magic Trend with Alert.lua
(13.63 KiB) Downloaded 1239 times

Magic Trend Overlay.lua
(4.17 KiB) Downloaded 849 times


Indicator-Based strategy
https://fxcodebase.com/code/viewtopic.php?f=31&t=71684
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Magic Trend

Postby 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
macogi37
 
Posts: 17
Joined: Mon Jan 10, 2011 2:57 pm

Re: Magic Trend

Postby Apprentice » Tue Jan 11, 2011 2:54 pm

Moved From Beta Subforum.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Magic Trend

Postby RJH501 » Sun Oct 16, 2011 1:57 pm

The strategy will not trade US account.

Your assistance will be appreciated.

Richard
Attachments
MT.JPG
RJH501
 
Posts: 84
Joined: Mon May 30, 2011 8:38 pm

Re: Magic Trend

Postby Apprentice » Mon Oct 17, 2011 2:31 am

I was not able to repeat this one.
I continue testing.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Magic Trend

Postby fxcyberman » Tue Jul 16, 2013 10:28 pm

When does it show green or red color ?
Which criteria reached ?
fxcyberman
 
Posts: 45
Joined: Mon Jan 28, 2013 10:15 am

Re: Magic Trend

Postby Apprentice » Wed Jul 17, 2013 3:57 am

Green
If Line goes Up
Red
If Line goes Down
Gray for Flat
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Magic Trend

Postby Alexander.Gettinger » Thu Aug 29, 2013 11:03 am

MQL4 version of Magic Trend indicator: http://www.fxcodebase.com/code/viewtopi ... 38&t=59351.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk


Next

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 19 guests