![]() |
|
| 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 ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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); 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. |
| The Following User Says Thank You to skarpio For This Useful Post: | ||
AceX (4th August 2008) | ||
|
#3
|
|||
|
|||
|
Thanks Skarpio, I thought there might be another way without making a new formula altogether...
But anyway, this will serve my purpose... thanks.. |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
Yes, forgot to add that. But works provided you have the indicator somewhere. Thanks for reminding me.
|
| 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.