Amibroker - AFL Examples

#52
Friends as rightly told by dear Saji I am using T.B plugin in my system and a register user at www.tradingbasis.com they are little expensive but quality play in it and author keeps updating the plugin on regular basis,there are many AFLs in that plugin and one can visit the homepage of it and find what they offer.
 
#53
Slightly offtopic but see how that chart posted by me using TB afl for Ichi...worked in Gesco Corp(mahindra Geso),see the chart where it shows a Green Cloud building up in it and compare its CMP !! It worked like a charm isn't it?
 
#54
Hello Yara,

Like you mentioned TB is very good for short period and position trading. Most of AFL indicators are very good. There is one AFL which use Zig feature.
Pattern recognition software. The signals change as new data comes in. The Fibonacci recognition is a good one . But as i said earlier TB will be expensive for many.

Regards

Sai
 

rpc

Active Member
#55
hi Karthik
Many many thanks for the cloud function.Well rain is always welcome except when it rains like in Mumbai on 27th July a year back .
Sorry could not reply yesterday.
rpc
 

casoni

Well-Known Member
#56
hello everybody ,
this AFL is coded with 5 -20 ema cross with buy-sell signals & with audio alert ...hope u will like this ...thanks ...as always i say ...SENIOR MEMBERS PLS GUIDE me if I AM WRONG....:)
 
Last edited:
R

ratan jain

Guest
#57
Hello!

Can we code an afl that will give us a signal alert on 30 minute breakout?

Any help appreciated
 
#58
Hello!

Can we code an afl that will give us a signal alert on 30 minute breakout?

Any help appreciated
Pl. try following. I've coded and used it successfully many time.

//30 Minute Breakout AFL.

LastDayHigh=TimeFrameGetPrice( "H", inDaily, -1 );
LastDayLow =TimeFrameGetPrice( "L", inDaily, -1 );
Plot_Range1 = (TimeNum() >= 094900 AND TimeNum()<= 102000) AND (DateNum()==LastValue(DateNum()));
FirstBarHigh = ValueWhen(Plot_Range1, H) ;
FirstBarLow = ValueWhen(Plot_Range1, L) ;
Plot_Range2 = (TimeNum() >= 102600 AND TimeNum()<= 105600) AND (DateNum()==LastValue(DateNum()));
TestClose=ValueWhen(Plot_Range2,C);
//TestLow=ValueWhen(Plot_Range2,L);
Buy= TestClose> FirstBarHigh;
Sell= TestClose < FirstBarLow;
Filter=Buy OR Sell ;
SetOption("NoDefaultColumns", True );
AddTextColumn(Name(),"Security",1.2, colorDefault, colorDefault,90);
AddTextColumn(Now(0),"DateTime",1.2, colorDefault, colorDefault,90);
AddColumn(LastDayLow,"-Day Low",1.2, colorDefault, colorDefault,80);
AddColumn(LastDayHigh,"-Day High",1.2, colorDefault, colorDefault,80);
AddColumn(FirstBarHigh,"1stBarH",1.2, colorDefault, colorDefault,80);
AddColumn(FirstBarLow,"1stBarL",1.2, colorDefault, colorDefault,80);
AddColumn(TestClose,"TestClose",1.2, colorDefault, colorDefault,80);
//AddColumn(TestLow,"TestLow",1.2, colorDefault, colorDefault,80);
AddColumn(IIf(Buy,66,IIf(Sell,83,32)),"New Trade Bar", formatChar, colorWhite, bkcolor =IIf(Buy, colorGreen,IIf(Sell,colorRed,colorDefault)));
AddColumn(TimeFrameGetPrice( "C", inDaily),"Close",1.2,colorDefault,colorDefault,60);
AddColumn(TimeFrameGetPrice( "H", inDaily),"High",1.2,colorDefault,colorDefault,60);
AddColumn(TimeFrameGetPrice( "L", inDaily),"Low",1.2,colorDefault,colorDefault,60);
SetSortColumns(8);
AlertIf( Buy, "SOUND C:\\Windows\\Media\\chimes.wav", "Audio alert", 1, 1+8 );
AlertIf( Sell, "SOUND C:\\Windows\\Media\\ding.wav", "Audio alert", 2, 1+8 );
 

chintan786

Well-Known Member
#59
Hello,
When i first started using Amibroker three years ago i had a difficult time learning the AFL language and finding suitable codes for successful trading. Over the years I had collected various AFL Codes from different sources.

I am planning to post a few selected ones for new and experienced members using Amibroker. May be experienced members out there can improve on it and post it back for use by all other Amibroker users. Why i am doing this is because i recieve many e-mails from members asking for AFL codes. Of course i have given them all the help i can. So i thought why not post it in the forum itself rather than individual replies.

Any suggestions

Regards

Saji
Hi saji, i got Amibroker and it is working very fine but it is not registered version so saving data is not possible.Do u have anytrick.

thanks in advance
chintan
 
#60
Hello Chintan,

My suggestion will be to buy the registered version since it is not very expensive compared to many other TA programmes available in the market. It has very good features and simple to use and will be extremely useful for analytical and trading purposes.

Regards

Saji
 

Similar threads