Loading…

Automatic Trendline

Automatic Trendline is an indicator for MetaTrader 5 from the Old Kings collection. Its name points to automatic trendlines. It has 8 settings, for example Line Type (default EXM_DELTA), Left Exm Side (default 10) and Right Exm Side (default 3). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 1 indicator file with source code (.mq5) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.

Indicator · MT5 · v1.0 · Free

About Automatic Trendline

Automatic Trendline is an indicator for MetaTrader 5. It has 8 settings, such as Line type, Left exm side and Right exm side. MQL source code included.

Files in the download: Automatic trendline.mq5.

Settings

SettingDefaultWhat it does
Line typeEXM_DELTALine type
Left exm side10Left extremum side (Type 1, 2)
Right exm side3Right extremum side (Type 1)
From current3Offset from the current bar (Type 2)
Prev exm barfalseAccount for the bar before the extremum (Type 2)
Lines width2lines width
Sup colorclrRedSupport line color
Res colorclrBlueResistance line color

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Indicators.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: Trend · MT5 Indicator · MQL5 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria