Page 1 of 1

Ema Crossover sentimentor

Posted: 19 Apr 2013 17:19
by meo10
Hi
I have found in this forum this code
download/file.php?id=46
that is the one for the colored zone ema crossver.
I have saved it in my express folder and tried using it as "sentimentor" for a strategy, but unfortunately the metasentimentor doen't like it and doesn't plot any signal. So I would like to know where may I find the CROSSING EMA indicator in order to use it in the same manner I am using the CROSSING MA indicator for my strategies.
Thanks in advance
Meo

Re: Ema Crossover sentimentor

Posted: 22 Apr 2013 08:20
by WHS Support
Hi Meo,

You are not seeing any signals because you did not specify this in the "interpretation" section of your program.

You can either create your own interpretation.
eg:
if CrossesAbove(EMA_F, EMA_S) then sentiment = 100;
if CrossesBelow(EMA_F, EMA_S) then sentiment = 0;

Alternatively, you could use the built in interpretation:

TriggerLine(EMA_F, EMA_S);

Please let me know, should you have any further questions!

Kind regards,
Bastiaan
WHS

Re: Ema Crossover sentimentor

Posted: 22 Apr 2013 10:04
by meo10
Thank you very much for your help