Loading…

Simple Regression 4

From the Old Kings archive: Simple Regression 4, an indicator for MetaTrader 4. It has 4 settings, for example Lookback Period (default 30), Applied Timeframe (default PERIOD_H4) and Regression Style (default STYLE_SOLID). 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 (.mq4) 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 · MT4 · v1.0 · Free

About Simple Regression 4

Simple Regression 4 is an indicator for MetaTrader 4. It has 4 settings, such as Lookback period, Applied timeframe and Regression style. MQL source code included.

Files in the download: SimpleRegression.mq4.

Settings

SettingDefaultWhat it does
Lookback period30Period or timeframe used by the calculation
Applied timeframePERIOD_H4Period or timeframe used by the calculation
Regression styleSTYLE_SOLID
Regression colorclrDarkBlueColour on the chart

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 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: MT4 Indicator · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria