Viper Grid EA Version2.6.2mod
Viper Grid EA Version2.6.2mod is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. As the name suggests, the idea behind it is a grid of orders at fixed price steps. This copy is version 2.6. Its source code uses RSI. It raises the lot size after losses (martingale — high risk), works with a grid of orders and places pending orders. It has 40 settings, for example Magic Number (default 847433225), Note0 (default ****** Grid Definition P) and Note0a (default --Increment=0 means auto). Watch it on a demo account for a while — robots can behave differently with each broker. Inside: 1 EA 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.
Expert advisor · MT4 · v1.0 · Free
About Viper Grid EA Version2.6.2mod
Viper Grid EA Version2.6.2mod is an expert advisor (trading robot) for MetaTrader 4 based on RSI. It increases the lot size after a losing trade (martingale), opens a grid of orders at fixed price steps and places pending buy/sell stop or limit orders. It has 40 settings, such as Magic number, Note0 and Note0a. MQL source code included.
It also can size trades from your balance and risk percent and has a news filter.
Files in the download: ViperGridEA_Version2.6.2mod.mq4.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Magic number | 847433225 | VGRIDEA25 |
| Note0 | ****** Grid Definition Parameters ****** | |
| Note0a | --Increment=0 means auto computed, else | |
| Levels | 3 | |
| Increment | 35 | release version use 25 |
| Increment adjust for tp sl | 0 | |
| Increment adjust first level | 0 | |
| Auto increment percent atr | 50 | |
| Note1 | ****** Money Management and Risk Control | |
| Note1a | --ProfitFactor-> {0..3}-- | |
| Profit factor | 2 | |
| Note1b | --PercentToRisk=0.0 means fixed min lot, | |
| Percent to risk | 0.0 | Risk per trade (percent of balance) |
| Min lot size | 0.0 | |
| Entire set take profit | 0.0 | Take profit distance |
| Entire set stop loss | 0.0 | Stop loss distance |
| Note1d | --Low-Water mark death trade mitigation | |
| Max percent margin profit adjust | 0 | low water mark |
| Max lots adjust | 0.0 | Another way to reach the high water mark |
| Max orders adjust | 0 | Maximum number of open trades |
| Note1e | --High-Water mark death trade mitigation | |
| Max percent margin liquidate | 0 | high water mark |
| Max lots liquidate | 0.0 | Another way to reach the high water mark |
| Max orders liquidate | 0 | Another way to reach the high water mark |
| Stealth mode | false | |
| Note2 | ****** Entry Control Filters ****** | |
| Note2a | --Hour(0-23)==-1 means no time filter, c | |
| Min hour to start | -1 | |
| Max hour to start | -1 | |
| Invert time window | false | if true, can't start new trade sequence in time window |
| Max set entry count | 0 | |
| Trade sunday | true | |
| Trade monday | true | |
| Trade tuesday | true | |
| Trade wednesday | true | |
| Trade thursday | true | |
| Trade friday | true | |
| Note2b | --Specific desired starting Pivot price | |
| Initial pivot price | 0.0 | |
| Use strong psych support pivot | false |
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 → Experts.
- 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 expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: Grid · Martingale · Pending Orders · Risk & Lot Size · News Trading · RSI · MT4 Expert Advisor · MQL4 Source Code