Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

votes: 16
2016.09.19 12:46
2016.11.22 07:32
JSatl.mq5 (6.8 KB)view

This indicator is a hybrid of the SATL (Slow Adaptive Trend Line) digital filter and the JMA analog adaptive averaging.

This average is calculated the following way:

JSATL[bar] = JMA(SATL(PRICE[bar]))


  • SATL() — value of the SATL digital filter;
  • JMA() — JMA adaptive smoothing algorithm;
  • PRICE[] — price series value.
  • bar — current bar index.

Additional JMA smoothing is used to prevent the indicator actuating at each random market movement.

The indicator uses CJJMA class of the SmoothAlgorithms.mqh library. Working with that class was described in details in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Fig.1. The JSatl indicator

Fig.1. The JSatl indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

STLMCandle STLMCandle

The STLM digital filter implemented as a sequence of candlesticks.

SlipPage SlipPage

Calculation of slippages of the performed deals in account currency.

AFL_WinnerV2 AFL_WinnerV2

The AFL_WinnerV2 indicator identifies a trend change by established turnover areas at -50/+50 levels.

XChannel_HTF XChannel_HTF

The XChannel indicator with the timeframe selection option available in input parameters.