Power Swing
Power Swing — a MetaTrader 4 indicator kept in the Old Kings collection. Its source code uses RSI, moving averages, Bollinger Bands and Heiken Ashi. It draws arrows on the chart and can send alerts. It has 33 settings, for example Count Bars (default 400), SSP (default 5) and Kmin (default 1.6). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 6 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 Power Swing
Power Swing is an indicator for MetaTrader 4 based on RSI, Moving Average, Bollinger Bands and Heiken Ashi. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 33 settings, such as Count bars, SSP and Kmin. MQL source code included.
Files in the download: ForexOffTrend_Alert.mq4, HMA Modified.mq4, i_Trend.mq4, Traders_Dynamic_Index.mq4, trendline.mq4, PowerSwing1.1.mq4, powerswing.tpl.
Settings
| Setting | Default | What it does |
|---|---|---|
| Count bars | 400 | |
| SSP | 5 | |
| Kmin | 1.6 | |
| Kmax | 50.6 | |
| G alert | False | Switch to allow alerts |
| Take profit | 48 | Take profit distance |
| Stop loss | 38 | Stop loss distance |
| Hma period | 5 | Period or timeframe used by the calculation |
| Alerts | False | Turn this alert on or off |
| Email on | false | Turn this alert on or off |
| Bands mode 0 2 | 0 | =0-2 MODE_MAIN, MODE_LOW, MODE_HIGH |
| Power price 0 6 | 0 | =0-6 PRICE_CLOSE,PRICE_OPEN,PRICE_HIGH,PRICE_LOW,PRICE_MEDIAN,PRICE_TYPICAL,PRICE_WEIGHTED |
| Price type 0 3 | 0 | =0-3 PRICE_CLOSE,PRICE_OPEN,PRICE_HIGH,PRICE_LOW |
| Bands period | 20 | Period or timeframe used by the calculation |
| Bands deviation | 2 | |
| Power period | 13 | Period or timeframe used by the calculation |
| Rsi period | 13 | 8-25 |
| Rsi price | 0 | 0-6 |
| Volatility band | 34 | 20-40 |
| Rsi price line | 2 | |
| Rsi price type | 0 | 0-3 |
| Trade signal line | 7 | |
| Trade signal type | 0 | 0-3 |
| Rperiod | 15 | Period or timeframe used by the calculation |
| Lsma period | 15 | Period or timeframe used by the calculation |
| Is ea calling | false | |
| Use alert | false | Turn this alert on or off |
| Legend color | Yellow | Colour on the chart |
| Use vol expanding | true | |
| Usei trend | false | |
| Unless vol width gt | 20.0 | |
| Legend corner | 3 | |
| Comment9 | Corner: 0=UL , 1=UR , 2=LL , 3=LR | Comment written on the orders |
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 · RSI · Moving Average · Bollinger Bands · Heiken Ashi · MT4 Indicator · MQL4 Source Code