MY Millions EA
From the Old Kings archive: MY Millions EA, an expert advisor (trading robot) for MetaTrader 4. In the code it works with RSI. It can hold buy and sell positions together, moves the stop behind price and has a trading-hours filter. It has 40 settings, for example Account Settings (default Set your Account info), Initial Account (default 50) and GMTOffset (default 0). 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 MY Millions EA
MY Millions EA is an expert advisor (trading robot) for MetaTrader 4 based on RSI. It can hold buy and sell positions at the same time (hedging), moves the stop loss behind price (trailing stop / break-even) and trades only in the hours you set (time filter). It has 40 settings, such as Account settings, Initial account and Gmt offset. MQL source code included.
It also can size trades from your balance and risk percent and works on several symbols at once.
Files in the download: MY MILLIONS EA.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 |
|---|---|---|
| Account settings | Set your Account info | |
| Initial account | 50 | |
| Gmt offset | 0 | 0=Broker GMT. |
| Trade comment | Comment written on the orders | |
| Money managementset | Set your trading tolerance | |
| Portion | 1 | Portion of account you want to trade on this pair |
| Use equity protection | false | Close all orders when negative Float is excessive. |
| Float percent | 100 | Percent of portion for max Float level. |
| Use power out sl | true | Set to protect from internet loss |
| Money mangement | false | will autocalculate lot size, lot increment and profit target |
| Maximum risk | 5 | equals 4% or .04 of account balance for base lot |
| Lot size | 0.1 | Trade size in lots |
| Lot increment | 0 | must be set to .01 or greater |
| Slippage | 5 | Tolerance for opening and closing of orders |
| Piplite ea set | Set trade parameters | |
| Profit target | 1 | All orders closed when this profit target amount (in dollars) is reached |
| Profit skew | 50 | Increase/decrease ProfitTarget when MoneyMangement=true |
| Profit mode | 1 | 1= mixed mode, 2= global mode, 3= split mode, 1 is best |
| Profit trailing | true | Will try to allow profit grow beyond ProfitTarget |
| Max retrace | 2 | Maximum percent of MaxProfit allowed to decrease before close all orders |
| Use arsi | false | Adaptive RSI For Trade Entry |
| Rsi period | 30 | TF for ARSI |
| Ima bars | 10 | length of ARSI |
| Arsi trigger | 0.008 | level to trigger trade. Set to 0 for ATR to trigger entry |
| Use marsi cross | true | Helps to prevent multiple trades in Trending Market |
| Rsima ma period | 10 | Best Period |
| Rsima rsi period | 14 | Best Period |
| Trend protect | false | |
| Window | 40.0 | Window to define ranging market |
| Use entry delay | true | Helps reduce draw down by stopping new entries if number of seconds not passed |
| Minimum entry delay | 300 | Number of seconds to wait before re-entries |
| Auto spacing | true | Spacing will be calculated using StDev |
| St dev tf | 60 | TF for StDev |
| St dev per | 12 | lenght of StDev |
| St dev mode | 3 | mode of StDev - 0=SMA, 1=EMA, 2=SMMA, 3=LWMA |
| Spacing | 60 | Minimum distance of orders placed against the trend of the initial order, In effect only if AutoSpac |
| Trend spacing | 1 | Minimum distance of orders placed with the trend of the initial order (set to 1000 to disable ) |
| Day time set | Set days and time to trade | |
| Use trade time | false | |
| Trade hour start | 0 |
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: Hedging · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Multi-Currency · RSI · MT4 Expert Advisor · MQL4 Source Code