AFL writing guide for new user

Hi Forum Members,

I need some help in creating a AFL in Amibroker.

I want to create a AFL for Weekly Chart.

My query is that I want list of stocks in which weekly candle closes above 10 days SMA.

Please guide me for creating a AFL of the same.
 
Plotting arrow n text above volume bar

Hi
can someone plz help me write an afl,as i m new to it.

My logic is:

A= V>Ref(V,-1);

B=V/Ref(V,-1)> Ref(V,-1)/Ref(V,-2) AND V>Ref(V,-1) AND Ref(V,-1)>Ref(V,-2);

I want that (1) whenever A occurs, an up arrow is plotted over volume bar.
(2) whenever B occurs, a letter 'P' (indicating peak volume) is written over volume bar.

What would be volume formula for it?

Thanks n Regards
Ravi
 
I request all traderji experts
Pls help me simple system

Iam using ema based buy sell. My system is below

Buy=buy abv 30ema high
Sell=sell below 30ema low

I need add exploration

Highest high value for every buy signal
 
I request all traderji experts
Pls help me simple system

Iam using ema based buy sell. My system is below

Buy=buy abv 30ema high
Sell=sell below 30ema low

I need add exploration

Highest high value for every buy signal

Lowest low value of every sell signal.
 
Hai , I have a well tested strategy , but i canot make AFL as i donot know computer programming. If any senior can help to convert that strategy in to AFL , it will be very helpful for me and as well as other visitors of this forum.
The strategy for buy is :
condition 1 : MACD crossover in buy for 15 minutes timeframe.
condition 2 : EMA20 > EMA50 > EMA100 > EMA200 in 15 minutes timeframe and price close is above EMA20.
condition 3 : EMA20 > EMA50 > EMA100 > EMA200 in 1 minute timeframe and price close is above EMA20.
If all three conditions are satisfied then it is a strong buy signal .
The vice-versa is valid for strong sell signal.
thanks a lot in advance to seniors.
 
hello i have problem for programing amibroker that i study from this link
>>
http://www.asxmarketwatch.com/2013/...ed-in-52-week-highs-or-turtle-trading-system/

HighChannel=HHV(c,85);
LowChannel=LLV(c,35);


Buy = Close >= Highchannel;
Sell = Close <= Lowchannel;


buy = exrem(buy,sell);
sell = exrem(sell,buy);
The Results:

The results of the Highest High Breakout trading system discussed in the video:

On an ASX 200 list over 13 years:
Win Percent: 38%
Average Annual Return: 23% p.a.
Maximum System Drawdown: 41%

Adding An Index Filter of All Ords over 75 Day MA:
Win Percent: 45%
Average Annual Return: 23% p.a.
Maximum System Drawdown: 16%
then i add index filter for drop maxdd to 16%
>>
http://www.asxmarketwatch.com/2013/...ndex-filter-to-your-trading-system-using-afl/

ps. i programming to amibroker that
HighChannel=HHV(c,85);
LowChannel=LLV(c,35);


Buy = Close >= Highchannel and index >= indexma;
Sell = Close <= Lowchannel;


buy = exrem(buy,sell) ;
sell = exrem(sell,buy);

Index = Foreign(“set”, “C”, True);

IndexMA = MA(Index, 75);
it can backtest but not report chart for look equity curve please help me to solve problem thank you
 

Similar threads