Loading…

Forex Simple MACD Trend Following Strategy

From the Old Kings archive: Forex Simple MACD Trend Following Strategy, an indicator for MetaTrader 4. Judging by its name, it is built around MACD (moving average convergence / divergence) and following the trend. In the code it works with moving averages, Bollinger Bands and a trend filter. It draws arrows on the chart and can send alerts. It has 40 settings, for example Length (default 20), Deviation (default 2) and Money Risk (default 1.00). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 16 indicator files 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 Forex Simple MACD Trend Following Strategy

Forex Simple MACD Trend Following Strategy is an indicator for MetaTrader 4 based on Moving Average, Bollinger Bands and Trend. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 40 settings, such as Length, Deviation and Money risk. MQL source code included.

Files in the download: ArenDI ATR.ex4, BBANDS~1.ex4, BBANDS~1.mq4, H1Scalper DashBoard_v2.5.ex4, H1Scalper OscD1_v2.ex4, smHull Mavg.ex4, smHull Mavg.mq4, smMagnified Market Price.ex4 ….

Settings

SettingDefaultWhat it does
Length20Bollinger Bands Period
Deviation2Deviation was 2
Money risk1.00Offset Factor
Signal1Display signals mode: 1-Signals & Stops; 0-only Stops; 2-only Signals;
Line1Display line mode: 0-no,1-yes
Nbars1000
Sound onfalseTurn this alert on or off
Hull period27Period or timeframe used by the calculation
Hull period divisor1.5Number of bars in the calculation
Hull method3MODE_LWMA
Hull price0PRICE_CLOSE
Note1Change font colors automatically? True =
Open close colorsTrueColour on the chart
Show all digitsfalse
Note2Default Font Color
Font colorBlueColour on the chart
Font color upLimeColour on the chart
Font color dnRedColour on the chart
Note3Font Size
Font size30
Note4Font Type
Font typeArial Bold"Comic Sans MS";
Note5Display the price in what corner?
What corner2
X axis1
Y axis450;
Depth12,12,12,0,12,12,12,12,12
Deviation5,5,5,0,5,5,5,5,5
Backstep3,3,3,0,3,3,3,3,3Distance between orders
Max bar5000,1000,350,350,350,350,350,350,350,35
Gross period1,5,15,30,60,240,1440,10080,43200Period or timeframe used by the calculation
Zz visible1,1,1,1,1,1,1,1,1
Zz colorTan,RoyalBlue,Brown,Blue,Red,GreenYellowColour on the chart
ColorIndigo,Olive,TealColour on the chart
FibofanFALSE
Fan visible1,1,1,1,1,1,1,1,1
Fan style2,2,2,2,2,2,2,2,2
Fan width0,0,0,0,0,0,0,0,0
Fibo free fan0.382,0.618,0.786
Fibo channelTRUE

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: MACD · Trend · Buy/Sell Arrows · Alerts · Moving Average · Bollinger Bands · MT4 Indicator · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria