Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
4483
Rating:
(16)
Published:
2016.09.19 12:46
Updated:
2023.03.29 13:47
JSatl.mq5 (6.8 KB) view
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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]))

where:

  • 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 Ltd.
Original code: https://www.mql5.com/ru/code/16144

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.