Skip to main content

PROFIT TRADING SYSTEM for Amibroker (AFL)

Muralikrishna almost 13 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 5)
  • Tags:
    amibroker, trend

Hi friends,

This is small afl code includes MacD, Rsi, Stochastic indicators with Trend up and Trend down Colors. This Code idea from Sir PrasadMuni’s CROSS OVER BUY AND SELL VER 2, combine with my Exellent Trend Catching Indicator. my request to all, Pls put Buy Sell Arrows this system.

Thanks and regards,

MuraliKrishna

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));

SD = StochD(8, 3, 3);
MH = MACD(8, 21) - Signal(8, 21, 5);

trendup = IIf(MH > 0 OR (MH > 0 AND MH > Ref(MH, -1)) AND RSI(3) >50 AND SD < 80 AND SD > Ref(SD, -1) AND ValueWhen(C,O<C), colorBlue, colorWhite);
trendcolor = IIf(MH < 0 OR (MH < 0 AND MH < Ref(MH, -1)) AND RSI(3) <50 AND SD > 20 AND SD < Ref(SD, -1) AND ValueWhen(C,O>C), colorRed, trendup);
Plot( C, "Close", trendcolor, styleCandle | styleThick );

_SECTION_END();

3 comments

1. dpy2012
almost 13 years ago

sir
nice.
but i think this indicator u ready for extra powerful
sir ready and submit the indicators

thank u
regards,

almost 13 years ago
@dpy2012,

yes, you areright friend, this indicator I will try to ready for More powerful soon

adding targets stop loss points,

thank u

Murali krishna

Leave Comment

Please login here to leave a comment.