Magic Trend Strategy

Strategies are published here.

Moderator: admin

Magic Trend Strategy

Postby Apprentice » Wed Sep 21, 2011 3:55 am

Magic Trend Strategy.png


This is a simple implementation Magic trend strategy.

Version 1
Long
On Price / Trend Magic Crossover
Short
On Price / Magic Ttrend Crossunder

Magic Trend Strategy.lua
(14.88 KiB) Downloaded 1560 times


Version 2

Green
Open Long Position
Red
Open Short Position
Magic Trend Strategy.lua
(16.36 KiB) Downloaded 1169 times



The strategy requires the Trend magic indicator which can be found in this topic:
viewtopic.php?f=17&t=3144&start=0&hilit=magic+trend
Last edited by Apprentice on Fri Sep 06, 2013 6:49 am, edited 3 times in total.
Reason: Added a link to the Trend magic indicator
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Magic Trend

Postby 69zl1l88 » Fri Oct 14, 2011 2:55 pm

When I try to load this strategy I get an error:
[string "Magic Trend Strategy.lua"]:106: Please, download and install MAGIC TREND.lua indicator.
I'm guessing there's something else I need but don't see where to get it. I would appreciate a little help please....and thank you!
69zl1l88
 
Posts: 1
Joined: Fri Oct 14, 2011 2:49 pm

Re: Magic Trend

Postby sunshine » Fri Oct 14, 2011 11:53 pm

Please download and install the trend magic indicator to be able to run the strategy:
viewtopic.php?f=17&t=3144&start=0&hilit=magic+trend
sunshine
 

Re: Magic Trend

Postby filoo7 » Mon Sep 02, 2013 9:16 am

Hi apprentice,

very interesting this indicator! but when the color changes the trade is not closed ...

possible to alternate open/close when the color changes?

thank's :)
filoo7
 
Posts: 54
Joined: Sun Jun 02, 2013 2:28 pm

Re: Magic Trend

Postby Apprentice » Tue Sep 03, 2013 2:01 am

It was not planned, it is possible to implement this as a option.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Magic Trend

Postby Apprentice » Tue Sep 03, 2013 5:48 am

Just to be sure.
For Your algororitam, price action is not relevant.
Only Magic Trend Indicator Color change is.
Long on Green,
Short on Red
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Magic Trend

Postby filoo7 » Thu Sep 05, 2013 7:07 am

exactly,

alternate open / close when the color change

red:
close long open short
green:
close short/open long

like this
Attachments
1.jpg
filoo7
 
Posts: 54
Joined: Sun Jun 02, 2013 2:28 pm

Re: Magic Trend

Postby Apprentice » Fri Sep 06, 2013 3:50 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Magic Trend

Postby Apprentice » Fri Sep 06, 2013 6:37 am

Please redownload and reinstall the Magic Trend indicator,
and then try the second version of strategy.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Magic Trend Strategy

Postby filoo7 » Wed Sep 11, 2013 2:26 am

good work! thank's :)
filoo7
 
Posts: 54
Joined: Sun Jun 02, 2013 2:28 pm

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 32 guests