![]() |
|
| Discuss Plot Buy/Sell signals on chart at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Hello! I am a novice to Amibroker and using it for last few days. As ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
Hello!
I am a novice to Amibroker and using it for last few days. As of now I am using metastock and I understand that only. I have learnt that Amibroker is much better software and I have got the feel in last few days. What I don’t understand is about plotting an indicator/oscillator on the chart that can generate on screen signals in the shape of an arrow when price breakout of a moving average or a trend line etc. I have seen a video http://www.amibroker.net/video/backtest.html and after back testing an AFL one has to command the program to display buy sell signals. I would like to know if it’s possible to display these arrows when a condition triggers on a continuous basis using a real time data? I would request master users of the amibroker to suggest me the easiest way to the trick. I would appreciate your efforts. Regards, MB Singh |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
This AFL of Karthikmarar is an ideal one with all the required properties. It has got what you are looking for. I've highlighted it for your easy reference. Praveen. Code:
_SECTION_BEGIN("MABIUTS");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
Buy=EMA(C,13)>EMA(EMA(C,13),9) AND Cross (C,Peak(C,5,1));
Sell=Cross (EMA(EMA(C,13),9),EMA(C,13));
MYcolor = IIf( EMA(C,13)>EMA(EMA(C,13),9) AND C>Peak(C,2,1), colorGreen, IIf(EMA(C,13)>EMA(EMA(C,13),9) AND C<Peak(C,2,1),colorBlue, colorOrange ));
PlotOHLC( Open, High, Low, Close, "", Mycolor, styleBar );
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ),0, IIf( Buy, Low, High ) );
GraphXSpace = 5;
dist = 1.5*ATR(10);
for( i = 0; i < BarCount; i++ )
{
if( Buy[i] ) PlotText( "Buy\n@" + C[ i ], i, L[ i ]-dist[i], colorGreen );
if( Sell[i] ) PlotText( "Sell\n@" + C[ i ], i, H[ i ]+dist[i], colorRed);
}
|
|
#3
|
|||
|
|||
|
Dear Praveen!
Thanks a million for instant response. I have just placed the AFL on the chart and the arrows were visible. Now I will take it further and experiment. My purpose is to choose Amibroker is that playing with indicators is probably easy and one can device custom indicators and keep experimenting till you find the right one, like one can play with moving averages and they dont work the same way on each stock as every stock has its own personality and need different treatment. Same way as an individual has different nature and should be handled accordingly. Similarly I suppose that every indicator for a stock must have its own set of parameters otherwise it would not provide the result one may see in any other stock. though the AFL you sent served the purpose very well but for the reason I just mentioned it provided the completely wrong output and if some one would have traded on them, must have lost on both the occasions. My purpose is not to demean anyone by writing this but just wanted to suggest another way that once basic setups using patterns known in TA are visible like in the attached HCL Tech realtime 15 Min chart are visible one must ignore any other signals. See the chart and you would notice that an inverted H&S breakout provided first buying opportunity and later a flag breakout provided another one. regards, M.B. Singh www.technicaltradersofindia.com |
|
#4
|
|||
|
|||
|
Quote:
I posted that AFL to show you the real time application of plotting buy/sell arrows, which was what you'd asked. Of course there are many types of trading - Pattern trading, indicator trading, etc. There are lots of dedicated threads that deals with the above types of trading. As a matter of fact, the AFL which was posted earlier is getting discussed in depth in Karthikmarar's thread - Experiments in TA. Praveen. |
|
#5
|
|||
|
|||
|
Mr praveen,
Pls tell me how to use your programme to get buy-sell signal in Amibroker charts. I am not a technical person Thank you |
|
#6
|
|||
|
|||
|
Thanks it is great ....
|
|
#7
|
|||
|
|||
|
Quote:
What is your rule for buy/sell, I will help you with |
|
#8
|
|||
|
|||
|
Quote:
Extremely sorry for the late reply. Didn't notice your post. Which program are you referring? The AFL posted belongs to this forum member, Karthikmarar. Are you asking about Amibroker? If so please refer to the posted code, or even better refer Amibroker User Guide. Praveen. |
|
#9
|
|||
|
|||
|
Quote:
But not getting desired results. Buy signal not come exactly at same point. It is always come one or day ahead. What I do? Can u plz me out. thanks in advance Last edited by chintan786; 2nd July 2008 at 11:39 PM. |
|
#10
|
|||
|
|||
|
Quote:
In your intraday chart of (13th April) of HCL Tech you have mentioned Kartick's Mabiuts is giving wrong signals.From my attached chart of EOD you will find in fact his Mabiuts has given Buy signal.May be for Intraday he might suggest a change,but it is perfectly OK in EOD. Asish Last edited by uasish; 10th August 2008 at 11:47 PM. |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads for: Plot Buy/Sell signals on chart
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Confused About Candle Stick Signals.. | VICKY_SEEKINGINR | Technical Analysis | 2 | 16th September 2007 08:53 AM |
| free buy ,sell signals ,wht leverage? | winstonn | Forex | 0 | 1st December 2006 09:10 AM |
| How to plot MA of scrip vs Sensex? | pasha | AmiBroker | 7 | 8th November 2006 10:47 PM |
| How to plot trailing & rolling pe chart | bond008 | Software | 0 | 30th August 2005 06:29 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.