Loading…

Opto123 V1.52

This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Opto123 V1.52. The file name marks it as version 1.52. In the code it works with ATR. 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 Entry and exit conditions (default ------------------------), Zig Zag Type (default 2) and Closed Candle (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.52 · Free

About Opto123 V1.52

Opto123 V1.52 is an expert advisor (trading robot) for MetaTrader 4 based on ATR. 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 Entry and exit conditions, Zig zag type and Closed candle. MQL source code included.

It also can size trades from your balance and risk percent and has a news filter.

Files in the download: Opto123 v1.52.mq4.

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

Settings

SettingDefaultWhat it does
Entry and exit conditions----------------------------------------
Zig zag type2
Closed candlefalse
Candle body entryfalse
Buffer0
Buffer type0
Min12 distance0Distance between orders
Min12 distance type0Distance between orders
Max12 distance0Distance between orders
Max12 distance type0Distance between orders
Min23 distance0Distance between orders
Min23 distance type0Distance between orders
Max23 distance0Distance between orders
Max23 distance type0Distance between orders
Trendline exitfalse
Exit on opposite signalfalse
Reverse signalsfalse
Order settings----------------------------------------
Trades per direction1
Trades per session0
Trades per pattern1
Magic number804070Magic number that tells this EA's orders apart
Trade commentOpto123Comment written on the orders
Point sl1
Swing slfalse
Minimum sl pips1
Maximum sl pips0
Stop loss0Stop loss distance
Stop loss type0Stop loss distance
Visible sl0
Take profit10Take profit distance
Take profit1 type0Take profit distance
Take profit20Take profit distance
Take profit2 type0Take profit distance
Take profit30Take profit distance
Take profit3 type0Take profit distance
Take profit40Take profit distance
Take profit4 type0Take profit distance
Visible tp0
Break even0Move the stop to break-even

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 · News Trading · ATR · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria