Forex KG Range Swing Trading Strategy
From the Old Kings archive: Forex KG Range Swing Trading Strategy, an indicator for MetaTrader 4. In the code it works with moving averages, Bollinger Bands and Momentum. It draws arrows on the chart, can send alerts and shows an on-chart panel. It has 37 settings, for example Clock Color (default Magenta), Fix Period (default 115200) and Bands Deviations (default 1.0). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 39 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 KG Range Swing Trading Strategy
Forex KG Range Swing Trading Strategy is an indicator for MetaTrader 4 based on Moving Average, Bollinger Bands and Momentum. It draws buy and sell arrows on the chart, can alert you with a pop-up, sound, email or push message and shows several symbols in one panel. It has 37 settings, such as Clock color, Fix period and Bands deviations. MQL source code included.
Files in the download: b-clock.mq4, hlcc 15m.tpl, Kg Average HLCC + 4H.mq4, KG BB 4_Monthly.mq4, KG BB Day.mq4, KG BB FLAT DETECTOR.mq4, KG BB Month.mq4, KG BB Week.mq4 ….
Settings
| Setting | Default | What it does |
|---|---|---|
| Clock color | Magenta | Colour on the chart |
| Fix period | 115200 | Period or timeframe used by the calculation |
| Bands deviations | 1.0 | |
| Band mode | MODE_SMA | |
| Draw how long | 25 | |
| Show price | false | |
| Corner | 1 | |
| Ma year color | MediumBlue | Colour on the chart |
| Ma 4 month color | MediumBlue | Colour on the chart |
| Ma month color | MediumBlue | Colour on the chart |
| Ma week color | MediumBlue | Colour on the chart |
| Ma day color | MediumBlue | Colour on the chart |
| Ma 8 h color | MediumBlue | Colour on the chart |
| Ma 4 h color | MediumBlue | Colour on the chart |
| Note1 | Fibonacci colors | |
| Main fibo color | RoyalBlue | Colour on the chart |
| Note2 | Draw main Fibonacci lines? | |
| Inner fibs | true | |
| MA | 1 | |
| Ma mode | 0 | |
| Price type | 6 | |
| SD | 1 | |
| TF | 0 | Period or timeframe used by the calculation |
| Band ma | 96 | |
| Arrow 1 | 159 | |
| Arrow 2 | 159 | |
| Alert on | False | Turn this alert on or off |
| Ma 1 h color | Red | Colour on the chart |
| Ma 30 m color | DarkViolet | Colour on the chart |
| Ma 15 m color | White | Colour on the chart |
| Sd max min range | 3 | |
| Mode ma | 0 | |
| Price type | 4 | |
| Ma trend periodv 1 | 4.0 | Number of bars in the calculation |
| Ma trend periodv 2 | 8.0 | Number of bars in the calculation |
| Ma trend periodv 3 | 16.0 | Number of bars in the calculation |
| Ma trend periodv 4 | 24.0 | Number of bars in the calculation |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Buy/Sell Arrows · Alerts · Dashboards & Scanners · Moving Average · Bollinger Bands · Momentum · MT4 Indicator · MQL4 Source Code