Traderji.com - Discussion forum for Stocks Commodities & Forex

How to Plot EOD MA on Intraday Data

Discuss How to Plot EOD MA on Intraday Data at the MetaStock within the Traderji.com - Discussion forum for Stocks Commodities & Forex; dear friends Dont know how to plot EOD MA on intraday data...pls help.... For ex ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > MetaStock

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 6th August 2007, 03:33 PM
Member
 
Join Date: Jan 2006
Posts: 219
Appreciation: 25
johnbest is on a distinguished road
Default How to Plot EOD MA on Intraday Data

dear friends

Dont know how to plot EOD MA on intraday data...pls help....

For ex : I want to plot Simple MA 21 days on Intraday data...

HOW TO...?

have a nice day
JB
Reply With Quote
  #2  
Old 6th August 2007, 09:08 PM
Member
 
Join Date: Jan 2006
Posts: 219
Appreciation: 25
johnbest is on a distinguished road
Default Re: How to Plot EOD MA on Intraday Data

dear

Thanks for the reply...but pls see......
the post is under Metastock and NOT under Amibroker....

I need the same for Metastock....

have a nice day
JB
Reply With Quote
  #3  
Old 7th August 2007, 09:52 PM
Member
 
Join Date: Jun 2007
Posts: 133
Appreciation: 26
THETRADER is on a distinguished road
Default Re: How to Plot EOD MA on Intraday Data

AB seems great, and, I am pleasantly surprised to see the simplicity of working with different timeframes. I guess such extravaganzas are not available in MS. I will be glad to be proved wrong.

I will give you the code here.
{21 day SMA}
a1:=Valuewhen(1, day() <> ref(day(), -1), Ref(C, -1);
a2:=Valuewhen(2, day() <> ref(day(), -1), Ref(C, -1);
...
...
a21:=Valuewhen(2, day() <> ref(day(), -1), Ref(C, -1);
SMA21:=(a1+a2+...+a21)/21;
{formula ends}
All the ...s will have to be entered. I'm not sure if MS accepts so many variables within an indicator. If you get an error, instead of assigning them to a1,a2,... etc., just add them directly in the last line & divide by 21.

BTW, if any better method is available, I appreciate the sharing of the same in this forum.
Reply With Quote
  #4  
Old 8th August 2007, 10:09 AM
Member
 
Join Date: Jan 2006
Posts: 219
Appreciation: 25
johnbest is on a distinguished road
Default Re: How to Plot EOD MA on Intraday Data

dear

thanks for the reply......
Will this work.....
I am getting 5 min data for metastock and assuming 60 candles per day, plotting
mov(60,close,S) will give us 1 day ma and mov(21,mov(60, close, s),S) will generate
21 day simple ma.....

will it work.....BTW, I should first try it on Amibroker........and then post it here...but couldnt try as mailing from a cafe where amibroker is not with me

have a nice day
JB
Reply With Quote
  #5  
Old 8th August 2007, 02:11 PM
Member
 
Join Date: Jun 2007
Posts: 133
Appreciation: 26
THETRADER is on a distinguished road
Default Re: How to Plot EOD MA on Intraday Data

johnbest, no unfortunately.
mov(60,close,S), (isnt it mov(close, 60, s) will give you the 60 period 5 min SMA.
mov(21,mov(60, close, s),S) will give you 21 period SMA of the above 60 period SMA.

The second one's 21 period is 21 5min periods from now, yes, NOW. Even a 82nd bar behind will have no bearing on the MA thus calculated.

The one I gave should work, except that it is little tedious entering, but if you are good at cut & paste, and, editing, then you can do that pretty fast.
Reply With Quote
  #6  
Old 8th August 2007, 10:48 PM
Member
 
Join Date: Jan 2006
Posts: 219
Appreciation: 25
johnbest is on a distinguished road
Default Re: How to Plot EOD MA on Intraday Data

dear

thnks.....saved my time .... of experimenting

have a nice day
JB
Reply With Quote
  #7  
Old 9th August 2007, 03:06 PM
Member
 
Join Date: Jun 2007
Posts: 133
Appreciation: 26
THETRADER is on a distinguished road
Default Re: How to Plot EOD MA on Intraday Data

I would be glad to know whether you tried it and, whether it worked?
Reply With Quote
  #8  
Old 9th August 2007, 04:43 PM
Member
 
Join Date: Jan 2006
Posts: 219
Appreciation: 25
johnbest is on a distinguished road
Default Re: How to Plot EOD MA on Intraday Data

dear

no ...havent tried yet.....
lets take a chance with Metastock forum...

have a nice day
JB
Reply With Quote
Sponsored Links


Reply

Bookmarks


Advertise Here


Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads for: How to Plot EOD MA on Intraday Data
Thread Thread Starter Forum Replies Last Post
Nidhi Data System's Intraday Data Required soumya_b Data Feeds 2 8th August 2007 09:26 PM
How can I plot buy sell indicators Intraday ak437 AmiBroker 8 1st August 2007 09:46 PM
Re:How can I plot buy sell indicators Intraday-bpraveen ak437 AmiBroker 0 1st August 2007 04:02 PM
Re:How can I plot Buy sell Signal for Intraday ak437 AmiBroker 0 31st July 2007 08:28 PM
how to plot pivot for Intraday? johnbest MetaStock 0 8th June 2007 12:17 PM


All times are GMT +5.5. The time now is 02:05 PM.

Indemnity, Disclaimer & Disclosure Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum Rules Disclaimer & Disclosure and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum.
Disclaimer: Trading or investing in stocks & commodities is a high risk activity. Any action you choose to take in the markets is totally your own responsibility. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein. The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.
 


Copyright © 2001 - 2008, Traderji.com All Rights Reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com