How to know the value of a moving average? Expand / Collapse
Author
Message
Posted 8/20/2010 3:49:59 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #1879
Posted 8/21/2010 11:21:13 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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)));
Post #1881
Posted 8/21/2010 1:10:21 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #1883
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin

All times are GMT -5:00, Time now is 11:30am


© 2009 Actforex.com Terms of Use