Profit Generator 3.3.2
Profit Generator 3.3.2 — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its source code uses the Stochastic oscillator and moving averages. It moves the stop behind price, has a trading-hours filter and can size trades from your risk. It has 36 settings, for example EAname (default Pro-Gen_3), ID BASE (default 100000) and Long Bar (default 15). 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.0 · Free
About Profit Generator 3.3.2
Profit Generator 3.3.2 is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic and Moving Average. 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 36 settings, such as E aname, Id base and Long bar. MQL source code included.
It also works on several symbols at once.
Files in the download: Profit Generator 3.3.2.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 |
|---|---|---|
| E aname | Pro-Gen_3 | |
| Id base | 100000 | Change this number if running more than one EA on the same pair |
| Long bar | 15 | sets the minimum length of the bar |
| Bar open percent | 0.50 | Set this to determine the percent of the bar which the trade takes place. |
| Max trades | 1 | maximum number of trades open at a time |
| Lots | 1.0 | This number will not matter if using Money Management |
| Stoploss | 30,takeprofit=40 | Stop loss distance |
| MM | false | Use Money Management or not |
| Risk | 10 | percent of available margin to risk. |
| Pairs traded | 0 | if set to 0 then std MM. If set to the number of Pairs traded then the risk is divided amongst the n |
| Use close | false | This will use the SuperClose(). |
| T sactivation | 40,TrailPips=5 | TSactivation will set the point where the TS will start. |
| Use hour trade | false | Time filter |
| From hour trade | 7 | start trading on this hour |
| To hour trade | 20 | end trading on this hour |
| Use simple tf | false | |
| Period | 0 | leave this number as zero to use the period from the chart. |
| One tradeper period | false | This will only allow one new trade per period. |
| Alerts | false,AlertOnlyMode=false | Alerts will alert when trade signal is present. AOM will not place trades, but will alert to the pla |
| Weekend mode | true | True=Will close all trades on and after the hour to close. |
| Hour to close | 21 | |
| Em aconfirm | false | Uses EMA direction to confirm trades. eg. If Low EMA (lower of two MAperiods)>HighEMA then the marke |
| Low ema | 10 | lower of EMA TF |
| High ema | 16 | higher of EMA TF |
| Em atf | 0 | if 0 then it uses the chart TF, otherwise it will use the period based on period settings. |
| Use sto open | false | |
| Sto tf | 1 | |
| Reverse | false | reverses orders regardless of ALL signal direction |
| Use obsolete method | True | |
| O mwhen loss only | false | |
| Obsolete minutes | 10 | |
| Use50ma filter | true | |
| M apips | 10 | |
| Use te | false | |
| Badtrades | 2 | |
| Re enter | 2 |
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: Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Multi-Currency · Stochastic · Moving Average · MT4 Expert Advisor · MQL4 Source Code