Skip to main content

Time-Based Trend for Amibroker (AFL)

svroy over 14 years ago Amibroker (AFL)

  • Rating:
    2 / 5 (Votes 16)
  • Tags:
    amibroker, time

System looks to build off a stock’s daily trend with a time-based approach.
Code is better used on a single stock with volatility. Optimize for the stock. Can be effective if you find the right stock.
Automation is built-in. Good for those who work during the day and can’t be available to submit the trades.

You cannot view the code for the following reasons:
  • You must be a member and have contributed at least 1 indicator

13 comments

5. sukas
over 14 years ago

I am login but then after also your Hide and seek play is giving much pain
Rgds,
Sukas

over 14 years ago

Sir,
I am logged in .Still unable to download.
The formula is not displayed.
Admin Please help.
Thanks in advance.
venkat gr

over 14 years ago

SetChartBkColor(colorGrey50);

_N(Title = StrFormat(“{{NAME}} – {{INTERVAL}} {{DATE}} Open g, Hi %g, Lo %g, Close %g (.1f%%){{VALUES}}”,
O, H, L, C, SelectedValue( ROC ) ));

SelPds = ParamList(“Periods:”, “34,55,89,144”,0);

if( SelPds == “34” ) Pds= 34;
if( SelPds == “55” ) Pds= 55;

Middle = EMA;

Himid = EMA;
Lomid = EMA;

UpperBand = Middle + 3.5 * ATR;
UpperBand1 = Middle + 1.75 * ATR;
LowerBand = Middle – 3.5 * ATR;
LowerBand1 = Middle – 1.75 * ATR;

Plot(C,"",colorBlack,styleCandle);

Plot(Middle, “Middle”,colorCustom12,styleThick);
Plot(Himid, "",colorCustom12,styleDashed);
Plot(Lomid, "",colorCustom12,styleDashed);
Plot(UpperBand, “Upper”,colorGold,styleThick);
Plot(UpperBand1, "",colorGold,styleDashed);
Plot(LowerBand, “Lower”,colorGold,styleThick);
Plot(LowerBand1, "",colorGold,styleDashed);
PlotOHLC(Lomid,Himid,Lomid,Himid,"",ColorRGB(230,200,200),styleCloud | styleNoLabel);

Leave Comment

Please login here to leave a comment.