Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4






Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-02-2008, 12:00 PM
Member
 
Join Date: Jul 2008
Posts: 43
latimeria is on a distinguished road
Christmas EA

Hi All,

Traders need rest sometimes.
This EA is written only to draw a christmas tree on the chart.

At first, ,I foolishly tried to draw a turtle for Turtles' Breakout System.
But It's December now. So I decided to draw a christmas tree.

Maybe someone can improve (draw) Santa Claus or a reindeer or a snowman etc...

Have fun.

I posted a new indicator version. So old EA version is deleted.
Attached Images
File Type: gif christmasea_chart.gif (11.6 KB, 890 views)

Last edited by latimeria; 12-07-2008 at 08:22 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 12-02-2008, 12:16 PM
Senior Member
 
Join Date: Oct 2005
Posts: 450
Perky is on a distinguished road
Aww thats kinda sweet


Merry Christmas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 12-03-2008, 04:43 AM
Member
 
Join Date: Jul 2008
Posts: 43
latimeria is on a distinguished road
I revised some codes so that you can manually set prices for the top and bottom of the tree.
It makes easy to change tree height taller or shorter and place it at the corner of the chart (not to obstruct your trade) .
I also added codes to draw it automatically at the center of the chart.

Replace extern variables to the following.

PHP Code:
extern string  PERIODExp "<<< Auto Mode >>>";
extern bool    AutoHeight true;
extern int     PERIOD 100;

extern string  CenterExp "<<< Auto Draw tree at the center >>>";
extern bool    DrawTreeCenter true;

extern string  ManualHeightExp "<<< Manual Height >>>";
extern double  TreeTop_Price 1.3;
extern double  TreeBottom_Price 1.25;

extern string  BarShiftExp "<<< Manual BarShift >>>";
extern int     BarShift 100
And replace the codes where EA defines Top and Bottom of the tree to the following.

PHP Code:
   double TreeTop TreeTop_Price;
   
double TreeBottom TreeBottom_Price;

   if(
AutoHeight)
   {
      
TreeTop LowPERIOD ];
      
TreeBottom Close[0];
      if(
TreeTop TreeBottom
      {
         
TreeTop Close[0];
         
TreeBottom HighPERIOD ];
      }
   }
   
   
int Base BarShift;
   if(
DrawTreeCenterBase WindowBarsPerChart()/2
How to set tree height manually:
change AutoHeight to "false" and input prices for the top and bottom of the tree.

How to set Barshift (where to draw a tree) manually:
change DrawTreeCenter to "false" and input BarShift (shift from current bar).

Last edited by latimeria; 12-03-2008 at 05:29 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 12-04-2008, 12:09 AM
Senior Member
 
Join Date: Oct 2005
Location: Porto/Portugal
Posts: 333
hellkas is on a distinguished road
Quote:
Originally Posted by latimeria View Post
Hi All,

Traders need rest sometimes.
This EA is written only to draw a christmas tree on the chart.

At first, ,I foolishly tried to draw a turtle for Turtles' Breakout System.
But It's December now. So I decided to draw a christmas tree.

Maybe someone can improve (draw) Santa Claus or a reindeer or a snowman etc...

Have fun.
Hi latimeria..

Very kind...

I'll be rich with this tree..

Thank u and merry Christmas to u to
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 12-04-2008, 03:00 PM
Member
 
Join Date: Jul 2008
Posts: 43
latimeria is on a distinguished road
Hi hellkas,

I'm glad you like it.
Let's be rich and happy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 12-04-2008, 03:33 PM
Senior Member
 
Join Date: Oct 2005
Posts: 442
Bongo is an unknown quantity at this point
Can you do this tree as a transparent tree?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 12-04-2008, 03:47 PM
Member
 
Join Date: Jul 2008
Posts: 43
latimeria is on a distinguished road
Hi Bongo,

If you mean a kind of "layerd" image like using Photoshop, it's possible but will be fairly difficult to show color you want by mixing up limited colors.
And if you layer the same color, it become blackhole (no color is shown)...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 12-07-2008, 08:16 PM
Member
 
Join Date: Jul 2008
Posts: 43
latimeria is on a distinguished road
International Indicator version

I wrote a custom indicator version so that you can use it with any EA.

I made several modifications.

1) Multi language
This version can show message by 20 different languages.
(I can't cover all existing languages in the world...)
Sorry, but Cyrillic alphabet, accent, umlaut, Cédille etc. are omitted.

You can specify one, or Loop all (default).
Loop Interval can be specified by seconds.

If you turn "ShowCurrentLanguage" on, you can see what is current language also.

If there is not your mother tongue or found mistakes in my messages,
you have input area for your own custom message.
(Or just modify messages.)

2) Light Twinkle interval
You can specify Light Twinkle interval by seconds.

3) Change font for messages
You can change font, font size and font color for messages.

I wrote a script version also.
Why script?
Script works without receiving a tick. So it works even if the market is closed.

*New version available

Last edited by latimeria; 12-11-2008 at 01:09 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 12-08-2008, 01:10 AM
Senior Member
 
Join Date: Jun 2006
Posts: 1,510
prasxz is on a distinguished road
hi

nice and creative idea guys

===================
Forex Indicators Collection
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 12-10-2008, 04:19 AM
erandir's Avatar
Junior Member
 
Join Date: Apr 2008
Posts: 7
erandir is on a distinguished road
Talking nice

So creative
__________________
Forex Guides
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merry Christmas and happy new year forexts Non Related Discussions 30 01-03-2008 01:23 PM
Merry Christmas victornelson Non Related Discussions 3 12-18-2007 06:52 AM
Christmas Demo Trading Contest casinoriya General Discussion 2 11-25-2007 09:29 AM


All times are GMT. The time now is 10:48 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.