![]() |
|
| Discuss AmiBroker formula Language at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Originally Posted by murthymsr a great idea, my friend, praveen, to make AB to fetch ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#21
|
|||
|
|||
|
Quote:
Murthy, I will try to make the following improvements: 1. Reading the source file name to arrive at destination file name. 2. Even better: Taking source and destination filename using date functions, so that the user can just save the .csv file in one particular location and he needn't even give the source path and source file name. 3. Try to make everything UI based. ie presenting a graphical interface, so that the user needn't even touch the AFL code. 4. I will look into make incorporations, so that even we can do bulk import, like say importing one week, one month, one year.etc.. I haven't even seen such bhav copy...will definitely look into it and will provide the new AFL here. Finally the AFL should work this way: User need to just download bhav copy and run the AFL in one click. Lets see... Thanks, Praveen. Last edited by bvpraveen; 6th November 2006 at 02:48 PM. Reason: updated |
|
#22
|
|||
|
|||
|
Hello,
Again excellent ideas. Thanks Saji |
|
#23
|
|||
|
|||
|
Hello Friends,
In AmiBroker is it possible to change built in levels of Indicators? With RSI commonly with RSI 30 & 70 lines are used. After plotting RSI you can change these levels with help of Properties>Axis & Grid. In AmiBroker few built in levels are available, but if you need any other level apart from these e.g. for RSI I want to use 40/60 levels. Is it possible to do? Can any body guide me about this? Sudesh |
|
#24
|
|||
|
|||
|
Hello Sudesh,
Simply open the edit formula function by right clicking on the indicator and paste these in the AFL and save it. Change the numbers as you want . Plot(80,"80",colorRed,1); Plot(80,"80",colorYellow,1); Plot(70,"70",colorDarkRed,1); Plot(60,"60",colorRed,styleDots); Plot(50,"50",colorSeaGreen,1); Plot(30,"30",colorDarkGreen,styleDots); Plot(20,"20",colorBrightGreen,1); Regards Saji |
|
#25
|
|||
|
|||
|
Hello,
There is another method. Use param function. Go through AFL documentation. Regards Saji |
|
#26
|
|||
|
|||
|
Quote:
I'm afraid whether i've understood your requirement correctly or not. Assuming that you want the upper and lower lines at some different leves, please find the corresponding AFL below. You can give any value in the paramerers window. If i'm wrong in the requirement, please let me know. _SECTION_BEGIN("MyRSI"); SetChartOptions(0,0,chartGrid30|chartGrid70); periods = Param( "Periods", 15, 1, 200, 1 ); lowerLine = Param( "Lower line", 30, 10, 100, 1 ); upperLine = Param( "Upper line", 70, 50, 100, 1 ); lineColour = ParamColor("Line colour", colorBlue); Plot(lowerLine, "Lower Line", lineColour ); Plot(upperLine, "Upper Line", lineColour ); Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); _SECTION_END(); Hope this helps, Praveen. |
|
#27
|
|||
|
|||
|
Quote:
it's really great that you are taking the AFL one step beyond what i have wished. date range, direct import and GUI functionality are good additions. and may be giving the option to user to import from BSE, for those members who use BSE data. (not me, of course!). all the best. murthymsr |
|
#28
|
|||
|
|||
|
Quote:
Although the AFL is ready now, its not upto what I initially thought of. Facing some problems. Please let me know any solutions for these: 1. To make it GUI enabled, i used Param(), Paramstring(), paramtoggle(),etc.. But these parameters actually keeps "remembering" the last values. ie. say i used paramtoggle() to select yes/no for original file deletion. If i'd choosed YES and the next time even if i select NO, it takes YES as the value! Similarly for others like Paramstring(). I ran that AFL from both AA, as well as by double clicking from the workspace->chart. Same problem arises. 2. Is there any way to handle "check box" like scenario..It is needed to choose the desired sections. I tried one methods....but its very complex...using strextract() on comma separated string... 3. Not able to traverse a directory. No provision in AFL to take up this functionality - import multiple individual bhav copies. To conclude, if we compromise on the GUI, the AFL is ready. Even we can add many others without GUI. Praveen. |
|
#29
|
|||
|
|||
|
Thankyou Saji
Thankyou bvpraveen Sudesh |
|
#30
|
|||
|
|||
|
Hi Friends,
Please Help Me out how to update database in BSE & F n O in Amibroker I have tried more time i could download properly so please if u all have any ideas please help me and how to see nifty chart in NSE Database tell if some one knows Thanks DJ |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads for: AmiBroker formula Language
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help on formula | cmlee | MetaStock | 23 | 8th October 2007 07:55 PM |
| Metastock ,Metatrader & Amibroker indicator formula | saji oommen | MetaStock | 0 | 4th June 2006 06:35 PM |
| Metastock language help | Ropewalker | MetaStock | 4 | 1st November 2005 09:16 PM |
| TradeStation & MetaStock Formula Language | bikertrader | MetaStock | 4 | 10th December 2004 01:50 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.