AmiBroker formula Language

R

ratan jain

Guest
WOW!!!!!!!!!!!!

If u guys can trade even at 10% of how you code, you guys should be billionaires!

Think about setting up a professional coding company guys...I mean it.

I would pay to get my ideas coded :)

So would many newbies.....I am sure.

You guys are doing a great service to Traderji.

Just 10 days back you guys including Simplestuff, KKseal and BVpraveen helped me code a good trading system.

Thanks to you all.

PS: Think about setting up shop professionally.
 

rmike

Well-Known Member
Dear contributors to this thread,
Wanted to know if somebody has coded dinapoli levels afl. Would appreciate if it could be posted. Thanxx!
Regards,
 
Friends,

I am starting to learn AFL coding.. I want to generate intraday buy/sell signals realtime in a five minute timeframe..

The sample code is as follows:

_SECTION_BEGIN("TEST");

TimeFrameSet(in5Minute);

A=EMA(C,8);
B=EMA (C,50);

TimeFrameRestore();

Buy=Cross(a,b);
Sell=Cross(b,a);

_SECTION_END();

Buy /sell signals get generated on a daily data basis rather than intraday data on a 5 min timeframe..

what should I do for getting buy/signals in a five min time frame.

Thanks in Advance.

John.
 
Last edited:
Friends,

I am starting to learn AFL coding.. I want to generate intraday buy/sell signals realtime in a five minute timeframe..

The sample code is as follows:

_SECTION_BEGIN("TEST");

TimeFrameSet(in5Minute);

A=EMA(C,8);
B=EMA (C,50);

TimeFrameRestore();

Buy=Cross(a,b);
Sell=Cross(b,a);

_SECTION_END();

Buy /sell signals get generated on a daily data basis rather than intraday data on a 5 min timeframe..

what should I do for getting buy/signals in a five min time frame.

Thanks in Advance.

John.
Just choose the time frame as 5mins, and insert the AFL. You needn't use TimeFrameSet for this requirement.

Praveen.
 
Praveen,

Thanks for the reply.

when I scan for the scrips using this AFL, in the auto analyser, even though the crossing of the two lines occur for some scrips in the five minute timeframe, they do not get listed.. whereas it lists scrips for the crossing based on the daily data.

Any suggestions

John.
 
Praveen,

Thanks for the reply.

when I scan for the scrips using this AFL, in the auto analyser, even though the crossing of the two lines occur for some scrips in the five minute timeframe, they do not get listed.. whereas it lists scrips for the crossing based on the daily data.

Any suggestions

John.
Set the time interval to 5mins in AA settings.

1. Go to AA.
2. Click 'Settings'.
3. Set the 'Periodicity' to what ever timeframe required. In your case, 5mins.

Praveen.
 
Re: Slow Stochastic AFL

AFL for slow stochastics
I am new to AmiBroker. I want custom indicator for the "Slow Stochastics" used in four minute chart at following website :

http://niftyintraday.googlepages.com/nifty50
Pls help. If you can also write afl for "Auto analysis" of the same, it would be good coz for experienced friends, it may be just 2 minute job. Thanx in advance.
 

Similar threads