Christmas EA - page 2

 

Thanks prasxz, erandir and EBK,

Here is new versions.

This is international Hymn version.

Now it shows "Silent Night" lyrics by 15 languages.

What's new:

You can select

1) show only Christmas Tree.

2) show Tree and "Merry Christmas" (Multi-language).

3) show Tree and "Silent Night" (Multi-language).

Miscellaneous changes:

1) You can adjust the place where text to be shown (corner & text shift).

2) For indicator version, I changed light interval setting as before (as to works by every receiving tick),

because it is unstable when the market has not enough liquidity (no tick comes for long time).

Sorry they become fairly heavy files, but most part of the codes are just lyrics.

*Latest version available.

 

And here is Spin offs.

These are loop text indicator and script.

These codes are written in a fairly universal way, so you can add new texts easily.

And They autodetect the number of strings, so text can be long or short.

how to add new texts:

1) define new string array

string NEWTEXT =

{

"Alpha",

"Beta",

......

"Omega"

};[/PHP]

2) Then modify switch function of DrawLoopText() like this

[PHP]

switch(Select_Text)

{

case 1: ARRAY_SIZE = ArraySize(Epigram); break;

case 2: ARRAY_SIZE = ArraySize(BrightSide); break;

case 3: ARRAY_SIZE = ArraySize(UEFA_CL_Anthem); break;

case 4: ARRAY_SIZE = ArraySize(PeterPiper); break;

case 5: ARRAY_SIZE = ArraySize(NEWTEXT); break; // this line is added.

default: ARRAY_SIZE = ArraySize(Epigram); break;

}

switch(Select_Text)

{

case 1: Text = Epigram [ TIMING ]; break;

case 2: Text = BrightSide [ TIMING ]; break;

case 3: Text = UEFA_CL_Anthem [ TIMING ]; break;

case 4: Text = PeterPiper [ TIMING ]; break;

case 5: Text = NEWTEXT [ TIMING ]; break; // this line is added.

default: Text = Epigram [ TIMING ]; break;

}

Then, if you change "Select_Text" to "5", NEWTEXT will be shown.

Now you can use MT4 like a jukebox, read Goethe's Faust or anything on MT4 if you want.

Have fun.

*Latest version available.

 

This will be the last update.

This version (both ChristmasTree & Looptext) can randomize font size and a place to be shown.

It has a kind of motion typography effect.

You can specify maximum and minimum font size.

And of course, this function can be turned off.

 

Christmas tree options trading graph/chart

Hi

Please could you let me know if there is a graph/chart which demonstrates the Christmas Tree option trading strategy. I am unable to find a graph/chart online.

Thank you in advance.

 

So what is the entry rule? no stop loss? how to take a profit?

Just kidding.... ROFL

It's really beautiful

 

Really impressive,

very nice work and many thanks.

 

Hi mietectec, rabih74, I'm glad you like it.

I have found trivial mistakes in my code.

Some GV names (ID number) was wrong and not in the right order that I intended.

I have fixed them and updated a file in post#16.

 

2009 version

Here is a 2009 version of Chrsitmas Tree Script.

In this version, IT SNOWS.

This is a script, because EA and Indicator can't show snow without a hitch.

1) Run script anyway

2) Set Parameters from GlobalVariables window

*GVs have "Noel_" in their names. (See attached picture)

Instructions

In case of script, you can only access parameters only once when you start running a script

and you have to set parameters again when you run script again.

To solve this inconvenience, I used GlobalVariables so that you can access parameters even while script is running.

And parameters you have set will be kept for next run.

(So this script will not delete GVs when you stop running script. If you want to delete GVs, you have to do it manually.)

I will not need to explain every parameters. You will be able to understand its meanings judging from its GV names.

General instruction for GV

GVs that have "1=true" in its name is bool-like parameters.

1 means true, else means false.

Relatively important GVs are...

"TreeWidth" .... to adjust tree shape

"Snow Scale Factor" .... to adjust snowflake shape to perfect circle

"ResetGV" ... to reset all parameters

Regarding other parameters, Change value and you will see how they work.

Have fun.

 

JukeBox Info

"Select Song" parameter Info.

1~14 & 20 Silent Night in various languages.

51 White Christmas (English)

52 Santa Claus is coming to town (English)

99 Loop "Merry Christmas" in varios languages

 

Thanks

Many thanks to you Latimeria for bringing a little joy and peace to the forex world.

Reason: