Trap For The Price
This Old Kings indicator for MetaTrader 4 is called Trap For The Price. In the code it works with moving averages. It draws arrows on the chart and can send alerts. It has 20 settings, for example note1 (default First Moving Average), MA1 (default 4) and note2 (default 0=sma, 1=ema, 2=smma, 3=). Try it on a demo chart first and note how its lines or arrows react to new bars. Inside: 3 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 Trap For The Price
Trap For The Price is an indicator for MetaTrader 4 based on Moving Average. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 20 settings, such as Note1, MA1 and Note2. MQL source code included.
Files in the download: 2MA Crossover.mq4, DeltaTrend1.ex4, SHI-SIGNAL.ex4, trap for the price scalping.tpl.
Settings
| Setting | Default | What it does |
|---|---|---|
| Note1 | First Moving Average | |
| MA1 | 4 | |
| Note2 | 0=sma, 1=ema, 2=smma, 3=lwma | |
| Ma1 mode | 1 | 0=sma, 1=ema, 2=smma, 3=lwma |
| Note3 | ---------------------------------------- | |
| Note4 | Second Moving Average | |
| MA2 | 8 | |
| Note5 | 0=sma, 1=ema, 2=smma, 3=lwma | |
| Ma2 mode | 1 | 0=sma, 1=ema, 2=smma, 3=lwma |
| Note6 | ---------------------------------------- | |
| Note7 | Arrow Type | |
| Note8 | 0=Thick, 1=Thin, 2=Hollow, 3=Round | |
| Note9 | 4=Fractal, 5=Diagonal Thin | |
| Note10 | 6=Diagonal Thick, 7=Diagonal Hollow | |
| Note11 | 8=Thumb, 9=Finger | |
| Arrow type | 2 | |
| Note12 | ---------------------------------------- | |
| Alert on | true | Turn this alert on or off |
| Note14 | ---------------------------------------- | |
| Send an email | false | Turn this alert on or off |
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 · Moving Average · MT4 Indicator · MQL4 Source Code