Traderji.com - Discussion forum for Stocks Commodities & Forex

help needed for this (amibroker) formula

Discuss help needed for this (amibroker) formula at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Dear All, please help me to add arows (buy, sell) to this formula. for example, ...


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

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 30th August 2008, 11:00 PM
Member
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
abdulazizmr is on a distinguished road
Reputation: 11
Default help needed for this (amibroker) formula

Dear All,
please help me to add arows (buy, sell) to this formula. for example,
when the ROCadj crosses the ROC its a buy sign and visa versa. thank you

_SECTION_BEGIN("ROCadj");
periods = Param("Periods", 21, 2, 200, 1 );
ROCadj = periods * EMA( ROC( C, 1 ), periods );
Plot( ROCadj, "ROCadj "+periods, colorRed, styleThick );
// the line below adds standard ROC overlay
Plot( ROC( C, periods ), "ROC "+periods, colorBrightGreen );
Reply With Quote
Sponsored Links
  #2  
Old 3rd September 2008, 01:24 PM
Member
 
Join Date: Mar 2007
Posts: 82
Thanks: 34
Thanked 61 Times in 22 Posts
rmike will become famous soon enough
Reputation: 89
Default Re: help needed for this (amibroker) formula

Quote:
Originally Posted by abdulazizmr View Post
Dear All,
please help me to add arows (buy, sell) to this formula. for example,
when the ROCadj crosses the ROC its a buy sign and visa versa. thank you

_SECTION_BEGIN("ROCadj");
periods = Param("Periods", 21, 2, 200, 1 );
ROCadj = periods * EMA( ROC( C, 1 ), periods );
Plot( ROCadj, "ROCadj "+periods, colorRed, styleThick );
// the line below adds standard ROC overlay
Plot( ROC( C, periods ), "ROC "+periods, colorBrightGreen );
Dear abdul,

_SECTION_BEGIN("ROCadj");
periods = Param("Periods", 21, 2, 200, 1 );
ROCadj = periods * EMA( ROC( C, 1 ), periods );
Plot( ROCadj, "ROCadj "+periods, colorRed, styleThick );
// the line below adds standard ROC overlay
Plot( ROC( C, periods ), "ROC "+periods, colorBrightGreen );
Buy=cross(ROCadj, ROC(C, periods));
Sell=cross(ROC(C, periods), ROCadj);
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );
_SECTION_END();

P.S - Do take the effort of reading the ami help files sometimes.

Regards,

Last edited by rmike; 3rd September 2008 at 02:09 PM.
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:41 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