Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 6197
- Rating:
- Published:
- 2017.03.22 16:33
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The SSL indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
To provide correct operation of the indicator, add the compiled SSL.mq5 indicator file to terminal_data_folder\MQL5\Indicators.
Fig1. The SSL_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17843

This indicator colors candlesticks in different colors depending on the strength and direction of the trend, using Keltner channels

The EA uses two Moving Averages, one MACD and one CCI. OnTradeTransaction is used to receive position opening time.