![]() |
| Discuss AmiBroker formula Language at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; hi senior users of Amibroker & its Formulae Language, you might have developed some code ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
hi senior users of Amibroker & its Formulae Language,
you might have developed some code for your use. it would be nice if you share it with fellow-members and also provide links for the internet resources for the same. thanks in advance. murthymsr |
|
#2
|
|||
|
|||
|
Murthygaru,
this first learning center is from AmiBroker itself. visit the below links http://www.amibroker.com/library/ http://www.amibroker.com/guide/afl/ hope it is helpful. I will post some of the formula's I coded. Satya |
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
Hi satya, murthysir
can u help to import fullname andsectors/industry into AMI (available at NSE website in .csv format) |
|
#5
|
|||
|
|||
|
Quote:
Please go to the amibroker news letter No. 4 and read about assigning industry groups etc. The link is http://www.amibroker.com/newsletter/04-2000.html If you are not familiar with the programming read the first news letter. -Anant |
|
#6
|
|||
|
|||
|
Quote:
sorry for the delayed response. for assigning industries/sectors, now, you can follow the thread, just started: http://www.traderji.com/amibroker/86...se-stocks.html the procedure is being introduced step-by-step so that the user may not have any problem. still querries if any may be posted. all the best. MurthyMSR |
|
#7
|
|||
|
|||
|
Hi friends,
Here are some simple AFL's for the three types of stoploss - Initial, Breakeven and Trailing stoploss. 1. Initial stoploss /************************************************** ** Initial Stoploss - lowest "low" of the last n bars ************************************************** ***/ lookbackPeriod = Param("Lookback period", 2, 2, 30); Plot(LLV(L,lookbackPeriod), "Testing", ParamColor( "Long", colorGrey40)); 2. Breakeven stoploss /************************************************** ***** Breakeven Stoploss - Open + brokerage% of open ************************************************** ******/ brokeragePercentage = Param("Brokerage Percentage", 1, 0.1, 5, 0.1); Plot(O + O*(brokeragePercentage/100) , "Testing", ParamColor( "Long", colorYellow )); 3. Trailing stoploss /************************************************** ** Trailing Stoploss - a% below nth highest high ************************************************** ***/ lookbackPeriod = Param("Lookback period", 10, 2, 30); stoplossPercentage = Param("Stoploss Percentage", 5, 0.2, 10, 0.2); Plot(HHV(H,lookbackPeriod) - HHV(H,lookbackPeriod) * (stoplossPercentage / 100), "Bullish SL", ParamColor( "Long", colorGrey40)); Plot(LLV(L,lookbackPeriod) + LLV(L,lookbackPeriod) * (stoplossPercentage / 100), "Bearish SL", ParamColor( "Short", colorGrey40)); I will post the AFL's as and when I come up with any new ones. Thanks, Praveen. |
|
#8
|
|||
|
|||
|
Hi,
Please refer to this link, which provides the AFL for Darvas Box Formula: http://www.traderji.com/63513-post6.html [Contributor: SGM] Thanks, Praveen. |
|
#9
|
|||
|
|||
|
Hello Friends,
I am a newbe in TA as well as Amibroker.I know nothing about computer programming and AFL is greek to me.I will be very greatful if anybody can write an AFL scan for me.I swing trade pullbacks. Scan EOD data for Close > 50 Volume > 100000 Close < 10 SMA and Close > 30EMA ADX (14) > 30 , Willims%R (3 day) < - 80 2 to 5 days continuous lower close from 3 month High A Specimen chart attached Thanks in advance Regards Niranjanam |
|
#10
|
|||
|
|||
|
Hi Niranjanam,
An attempt from another newbie : -Code:
_SECTION_BEGIN("SwingPullbacks");
function PercentR( periods ){
return -100*( HHV(H, periods) - C) / (HHV(H, periods) - LLV(L, periods));
}
Buy = ( (C>50 AND V > 100000)
AND ( C < MA(C,10) AND C > EMA(C,30) )
AND ( ADX(14)>30 ) AND (PercentR(3) < -80) );
_SECTION_END();
.. is that -80 ??? .. 2 to 5 days ??? Regards Siva Quote:
Last edited by sivavkm; 3rd November 2006 at 03:36 AM. |
| 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.