Loading…

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

SettingDefaultWhat it does
Account settingsSet your Account info
Initial account50
Gmt offset00=Broker GMT.
Trade commentComment written on the orders
Money managementsetSet your trading tolerance
Portion1Portion of account you want to trade on this pair
Use equity protectionfalseClose all orders when negative Float is excessive.
Float percent100Percent of portion for max Float level.
Use power out sltrueSet to protect from internet loss
Money mangementfalsewill autocalculate lot size, lot increment and profit target
Maximum risk5equals 4% or .04 of account balance for base lot
Lot size0.1Trade size in lots
Lot increment0must be set to .01 or greater
Slippage5Tolerance for opening and closing of orders
Piplite ea setSet trade parameters
Profit target1All orders closed when this profit target amount (in dollars) is reached
Profit skew50Increase/decrease ProfitTarget when MoneyMangement=true
Profit mode11= mixed mode, 2= global mode, 3= split mode, 1 is best
Profit trailingtrueWill try to allow profit grow beyond ProfitTarget
Max retrace2Maximum percent of MaxProfit allowed to decrease before close all orders
Use arsifalseAdaptive RSI For Trade Entry
Rsi period30TF for ARSI
Ima bars10length of ARSI
Arsi trigger0.008level to trigger trade. Set to 0 for ATR to trigger entry
Use marsi crosstrueHelps to prevent multiple trades in Trending Market
Rsima ma period10Best Period
Rsima rsi period14Best Period
Trend protectfalse
Window40.0Window to define ranging market
Use entry delaytrueHelps reduce draw down by stopping new entries if number of seconds not passed
Minimum entry delay300Number of seconds to wait before re-entries
Auto spacingtrueSpacing will be calculated using StDev
St dev tf60TF for StDev
St dev per12lenght of StDev
St dev mode3mode of StDev - 0=SMA, 1=EMA, 2=SMMA, 3=LWMA
Spacing60Minimum distance of orders placed against the trend of the initial order, In effect only if AutoSpac
Trend spacing1Minimum distance of orders placed with the trend of the initial order (set to 1000 to disable )
Day time setSet days and time to trade
Use trade timefalse
Trade hour start0

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Hedging · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Multi-Currency · RSI · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria