Skip to main content

TTM Trend Clone for Amibroker (AFL)

kaiji over 16 years ago Amibroker (AFL)

  • Rating:
    4 / 5 (Votes 4)
  • Tags:
    amibroker, heikin, ttm

This is a clone of the TTM trend indicator by Trade The Markets that sells for alot of money.

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

2 comments

over 13 years ago

This is never the TTM Trend Clone

This is a plain and simple colored heiken ashi

2. GDVAJA
over 11 years ago

_SECTION_BEGIN(“ATP”);
DayChange = Day() != Ref(Day(), -1);
AvgTradePrice = Null;
CurDayBars = 0;
CurDayCloseSum = 0;

for (i = 0; i < BarCount; i++)
{
if (DayChange[i])
{
CurDayCloseSum = C[i];
CurDayBars = 1;
}
else
{
CurDayCloseSum = CurDayCloseSum + C[i];
CurDayBars++;
}
AvgTradePrice[i] = CurDayCloseSum / CurDayBars;
}

ColorATP=IIf(AvgTradePrice>Ref(AvgTradePrice,-1),colorBrightGreen,colorRed);
Plot(AvgTradePrice,“ATP”,colorATP,styleThick);

PlotShapes(shapeCircle * DayChange, colorBlue, 0, C, 0);

_SECTION_END();

Leave Comment

Please login here to leave a comment.