![]() |
|
| Discuss Peak Oscillator Coding Problem at the MetaStock within the Traderji.com - Discussion forum for Stocks Commodities & Forex; I can provide you with a MetaStock MDK DLL that accomplishes the Peak Oscillator function.... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#11
|
|||
|
|||
|
I can provide you with a MetaStock MDK DLL that accomplishes the Peak Oscillator function.
|
|
#12
|
|||
|
|||
|
Try splitting it into 2. That is, create an indicator upto RSI(40), and call it, say,
RSIPk440. Create another indicator, say, RSIPk464, as follows : tx:=Fml("RSIPk440"); if(tx > rsi(41), tx, rsi(41)); if(tx > rsi(42), tx, rsi(42)); .............. .............. .............. if(tx > rsi(64), tx, rsi(64)); tx Now, plot this indicator RSIPk464. It should work, well, hopefully. |
|
#13
|
|||
|
|||
|
Please provide me the metastock mdk dll & it's help files.
Thanks, ashvin |
|
#14
|
|||
|
|||
|
Quote:
The usage is simple : ExtFml("APaiRes.CKPO", C, 8, 64); Plots the Peak Oscillator using the RSI of closing values between 8 and 64 day ranges. APaiRes.DLL is the name of the DLL I created. |
|
#15
|
|||
|
|||
|
The attachment contains the MDK DLL.
Instructions : 1) Close MetaStock if running. 2) Unzip APaiRes.zip in your MetaStock\External Function DLLs directory. APaiRes.zip contains the APaiRes.dll MDK DLL. 3) Start MetaStock. 4) Create a new Indicator, lets call it CKPO. 5) In the Formula window, enter the following code Code:
ExtFml("APaiRes.CKPO",C, 8, 64);
Details : Parameter 1 : DataArray on which the RSI is to be calculated. e.g C, H, (O+H+L+C)/4 etc. Parameter 2: The shorter RSI period. Should be between 6 and 99. Parameter 3: The longer RSI period. Should be between 7 and 100 and greater than the shorter RSI period. Do let me know if you have any questions. Last edited by Adheer; 4th October 2008 at 10:18 AM. |
| The Following User Says Thank You to Adheer For This Useful Post: | ||
p_ashvin (22nd August 2008) | ||
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
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.