Sample
From the Old Kings archive: Sample, a script for MetaTrader 4. It has 2 settings, for example Maximum Risk (default 0.02) and Decrease Factor (default 3). Scripts run once when you drop them on a chart; try it on a demo account first. 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.
Script · MT4 · v1.0 · Free
About Sample
Sample is a script for MetaTrader 4. It has 2 settings, such as Maximum risk and Decrease factor. MQL source code included.
Files in the download: SAMPLE.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Maximum risk | 0.02 | %account balance to risk per position |
| Decrease factor | 3 | lot size divisor(reducer) during loss streak |
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 → Scripts.
- 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 script onto a chart to run it once.
Tags: MT4 Expert Advisor · MQL4 Source Code