Traderji.com - Discussion forum for Stocks Commodities & Forex

Overlaying in Amibroker

Discuss Overlaying in Amibroker at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Hi All, I am new to the use of Amibroker, and would like to know ...


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

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 4th August 2008, 12:34 AM
Member
 
Join Date: Mar 2008
Posts: 9
Thanks: 6
Thanked 0 Times in 0 Posts
AceX is on a distinguished road
Reputation: 10
Default Overlaying in Amibroker

Hi All,
I am new to the use of Amibroker, and would like to know how can I overlay a SMA of TRIX oscillator.

So at the end, what I want is a altogether different pane, with TRIX(15) of the stock, overlayed with the 9 day SMA of TRIX(15)...

Please help...

AceX
Reply With Quote
  #2  
Old 4th August 2008, 12:55 AM
Member
 
Join Date: Apr 2007
Location: noida
Posts: 199
Thanks: 1
Thanked 18 Times in 13 Posts
skarpio will become famous soon enough
Reputation: 61
Default Re: Overlaying in Amibroker

Hopefully what I am going to write is version agnostic. BTW, I am using Ami 5.0.0.
1. Need to create a new file for this custom indicator or whatever you call it. Ami calls it a formula. This you can do by clicking on charts tab on the left-top pane (which has other tabs like Symbols, Layouts, Charts etc). Select the folder under which you want this to be in. Right click, go to New and then to Formula.

2. The editor should open up. And punch in the following:
Code:
Plot(Trix(9), "Trix(9)", colorRed);
Plot(Trix(15), "Trix(15)", colorBlue);
Save the file. And then click on the apply indicator, to get it in a pane by itself.

3. In order to Overlay the same, right click on the file you just created and select overlay. In fact you should be able to drag and drop the same as well.
Reply With Quote
The Following User Says Thank You to skarpio For This Useful Post:
AceX (4th August 2008)
  #3  
Old 4th August 2008, 03:11 PM
Member
 
Join Date: Mar 2008
Posts: 9
Thanks: 6
Thanked 0 Times in 0 Posts
AceX is on a distinguished road
Reputation: 10
Smile Re: Overlaying in Amibroker

Thanks Skarpio, I thought there might be another way without making a new formula altogether...


But anyway, this will serve my purpose... thanks..
Reply With Quote
  #4  
Old 4th August 2008, 09:45 PM
Member
 
Join Date: Mar 2008
Posts: 9
Thanks: 6
Thanked 0 Times in 0 Posts
AceX is on a distinguished road
Reputation: 10
Default Re: Overlaying in Amibroker

Hi Skarpio,
Hi All

[Yet again, with something else ]

I just now discovered its extremely easy to actually do the same thing without writing any AFL code..

Just drag the indicator onto the required pane and the indicator itself will throw a window which will ask for the price field as the underlying indicator. Change the periodicity as per your wish.

That will trace both

AceX
Reply With Quote
  #5  
Old 4th August 2008, 09:50 PM
Member
 
Join Date: Apr 2007
Location: noida
Posts: 199
Thanks: 1
Thanked 18 Times in 13 Posts
skarpio will become famous soon enough
Reputation: 61
Default Re: Overlaying in Amibroker

Yes, forgot to add that. But works provided you have the indicator somewhere. Thanks for reminding me.
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 01:16 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