Download MetaTrader 5

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

2016.09.19 12:46

JSatl - indicator for MetaTrader 5

| English 日本語 Deutsch Русский

votes: 13
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:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Modify All TP SL Modify All TP SL

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

iFractals 4all TF iFractals 4all TF

Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.