|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/26/2010 9:41:24 AM
Posts: 6,
Visits: 42
|
|
Hi Everyone,
As I have posted a previous to get some help to create a strategy, and received no answer I am trying myself to do it.
However, I have a problem, I want to compare the current price with the value of an EMA, does any of you guys know
how to do this?
Thanks in advance
Hyp
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2/7/2012 10:15:57 AM
Posts: 445,
Visits: 818
|
|
log('Time: ' +DateTimeToStr(Now)+ ' Price last close: ' +FloatToStr(History.Last(1).Close)+ ' Moving Average last close: ' +FloatToStr(MA.Graph.Last(1)));
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/26/2010 9:41:24 AM
Posts: 6,
Visits: 42
|
|
Hi Black,
Thank you very much for your answer. I am going to try this. 
Hyp
|
|
|
|