RAY Scalper V1 M
From the Old Kings archive: RAY Scalper V1 M, an expert advisor (trading robot) for MetaTrader 4. Its name points to short scalping trades. The file name marks it as version 1. In the code it works with the Stochastic oscillator and moving averages. It raises the lot size after losses (martingale — high risk), moves the stop behind price and can size trades from your risk. It has 40 settings, for example Max Allocation Per Trade (default 8.0), Fixed Lot Size (default 0.0) and Final Target x H1 ATR (default 1.0). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. 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 · Free
About RAY Scalper V1 M
RAY Scalper V1 M is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic and Moving Average. It increases the lot size after a losing trade (martingale), moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent. It has 40 settings, such as Max allocation per trade, Fixed lot size and Final target x h1 atr. MQL source code included.
It also is built for short scalping trades.
Files in the download: RAY_Scalper_V1_m.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 |
|---|---|---|
| Max allocation per trade | 8.0 | |
| Fixed lot size | 0.0 | |
| Final target x h1 atr | 1.0 | |
| Stop loss x h1 atr | 4.0 | Stop loss distance |
| Trail stop loss x h1 atr | 1.0 | Stop loss distance |
| Trail trigger x h1 atr | 1.0 | Trailing stop distance or switch |
| Friday trade | TRUE | |
| Magic number | 11995533 | Magic number that tells this EA's orders apart |
| Ind h1 | ---- 1---- | |
| Bbands h1 | -- - 1 | |
| B bands period h1 | 20 | Number of bars in the calculation |
| B bands dev h1 | 2 | |
| Envel1 h1 | -- Envelopes1 - 1 | |
| Envel1 period h1 | 40 | Number of bars in the calculation |
| Envel1 dev h1 | 0.4 | |
| Envel2 h1 | -- Envelopes2 - 1 | |
| Envel2 period h1 | 20 | Number of bars in the calculation |
| Envel2 dev h1 | 0.35 | |
| Slow stoh h1 | -- -1----- | |
| Slow k period h1 | 45 | Number of bars in the calculation |
| Slow d period h1 | 27 | Number of bars in the calculation |
| Slow slowing h1 | 27 | |
| Mid stoh h1 | -- C -1----- | |
| Mid k period h1 | 15 | Number of bars in the calculation |
| Mid d period h1 | 9 | Number of bars in the calculation |
| Mid slowing h1 | 9 | |
| Fast stoh h1 | -- -1----- | |
| Fast k period h1 | 5 | Number of bars in the calculation |
| Fast d period h1 | 3 | Number of bars in the calculation |
| Fast slowing h1 | 3 | |
| Atr h1 | ------ ATR-1 -------- | |
| Atr period h1 | 14 | Number of bars in the calculation |
| Ind m15 | ---- M15---- | |
| Bbands m15 | -- - M15 | |
| B bands period m15 | 20 | Number of bars in the calculation |
| B bands dev m15 | 2 | |
| Envel m15 | -- Envelopes - M15 | |
| Envel period m15 | 20 | Number of bars in the calculation |
| Envel dev m15 | 0.35 | |
| Stoh m15 | -- -M15----- |
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: Scalping · Martingale · Trailing Stop & Break-even · Risk & Lot Size · Stochastic · Moving Average · MT4 Expert Advisor · MQL4 Source Code