Loading…

Profit Generator 2.6

From the Old Kings archive: Profit Generator 2.6, an expert advisor (trading robot) for MetaTrader 4. It moves the stop behind price, has a trading-hours filter and can size trades from your risk. It has 18 settings, for example ID, lots (default 1.0) and MM (default false). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. 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 Profit Generator 2.6

Profit Generator 2.6 is an expert advisor (trading robot) for MetaTrader 4. It moves the stop loss behind price (trailing stop / break-even), trades only in the hours you set (time filter) and can size trades from your balance and risk percent. It has 18 settings, such as ID, Lots and MM. MQL source code included.

Files in the download: Profit Generator 2.6.mq4.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
IDChange this number if running more than one EA on the same pair
Lots1.0This number will not matter if using Money Management
MMfalseUse Money Management or not
Risk10percent of available margin to risk.
Stoploss30,takeprofit=40Stop loss distance
Use closefalseThis will use the SuperClose().
T sactivation40,TrailPips=5TSactivation will set the point where the TS will start.
Long bar10sets the minimum length of the bar
Max trades1maximum number of trades open at a time
Use hour tradetrueTime filter
From hour trade7start trading on this hour
To hour trade20end trading on this hour
Use last period peramsfalseuses the high and low from last period for calculation
Period0leave this number as zero to use the period from the chart.
One tradeper periodfalseThis will only allow one new trade per period.
Alertsfalse,AlertOnlyMode=falseAlerts will alert when trade signal is present. AOM will not place trades, but will alert to the pla
Weekend modefalseTrue=Will close all trades on and after the hour to close.
Hour to close21

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: Trailing Stop & Break-even · Time Filter · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria