Traderji.com - Discussion forum for Stocks Commodities & Forex

relative strength Mansfield's indicator

Discuss relative strength Mansfield's indicator at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Lol ! I need any ideas and AFL functions to do the relative strength Mansfield's ...


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

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 7th September 2008, 07:23 PM
Member
 
Join Date: Sep 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
atlas190 is on a distinguished road
Reputation: 10
Default relative strength Mansfield's indicator

Lol !

I need any ideas and AFL functions to do the relative strength Mansfield's indicator .
For the instant , I have not understand the syntax of Amibroker formula langage but ...
I have tried to do something ....

At first I need a function to retrieve the value of DJI index or another indice (ex CAC40 french index)

.Most of the time the relative strength mansfield is weekly .The calcultation use a base price of 52 weeks .

Mansfield' indicator formula :

(Market price (t) / S&Pprice (t) ) = R (t)
"Base price"
Base price = BP = ( R (1)+ R (2) +.... + R (t)+....+R (52) ) / 52
graph=PR (t) = (( R (t) / BP) -1 ) x 10

Here is what I have type under the AFL editor ; my syntax is false for the instant

Code:
baseprice= (SUM(CLOSE(t) of the stock x at the screen/CLOSE(t) of DJI or another index,52))/52
mansfield =  ((CLOSE of the stock x / CLOSE of DJI or another index)/ baseprice -1)*10
plot (mansfield)
I nedd to add a horizontal line whose the value = 0 .

Thanks ...
Reply With Quote
Sponsored Links
  #2  
Old 8th September 2008, 01:22 AM
Member
 
Join Date: Sep 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
atlas190 is on a distinguished road
Reputation: 10
Default Re: relative strength Mansfield's indicator

Something like this ; I suppose
Code:
 
baseprice = Sum((Close/Foreign("^DJI","Close")),52)/52;
graphmansfield = ((Close/Foreign("^DJI","Close")/baseprice)-1)*10;
Ligne0 = 0;
Plot(graphmansfield ,"RELATIVE STRENGHT MANSFIELD",colorRed);
Plot(Ligne0,"LINE 0",colorBlue);
If someone who know this indicator can verify that it’s right ; I am not sure ….
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


All times are GMT +5.5. The time now is 11:31 AM.

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