![]() |
|
| 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 ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
dear
thnks.....saved my time .... of experimenting have a nice day JB |
|
#7
|
|||
|
|||
|
I would be glad to know whether you tried it and, whether it worked?
|
|
#8
|
|||
|
|||
|
dear
no ...havent tried yet..... lets take a chance with Metastock forum... have a nice day JB |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
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 |
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.