![]() |
|
| Discuss two range axis one chart at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; hi , i'm trying to plot a chart that consists of closing price ema and ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
hi ,
i'm trying to plot a chart that consists of closing price ema and the diff between them it works fine but obviously it's useless because i can't realy see the diff it's very low and allmost looks like a straight line , is there a way to have two range axis in one chart ? thanks . attached is the afl : _SECTION_BEGIN("MAIN"); Plot(Close,"Close",colorBlack,styleLine ); P = ParamField("Price field",-1); Periods = Param("Periods", 15, 2, 200, 1 ); Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); diff = Close - EMA (Close,Periods) ; Plot(diff,"",colorYellow,styleLine ); _SECTION_END(); |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
Plot the 'diff', ie C - EMA, on its own scale. So that it takes its own axis. Just add styleOwnScale while plotting the 'diff'. Below is the updated code: Quote:
Praveen. |
|
#3
|
|||
|
|||
|
thnaks it works ,
it plots the diff now god but the left axis does not display the range of it , is there a way to do it ? i tried styleleftaxis but no change and is there a book explaining alf with code examples ? |
|
#4
|
|||
|
|||
|
Quote:
Quote:
Praveen. |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads for: two range axis one chart
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mid range rule | sanefellow_213 | Equities | 3 | 6th September 2007 07:47 PM |
| chart of the day | masterstrokes | Trading on Technicals | 50 | 15th December 2006 09:40 AM |
| Mkt range-bound in mid-day trade | Robbie | Current Affairs | 0 | 27th October 2006 04:30 PM |
| Range Bound stocks | ronald_peterson | Equities | 3 | 26th April 2006 11:59 AM |
| What is Average True Range? | SGM | Technical Analysis | 5 | 19th February 2006 07:16 PM |
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.