Loading…

Gold Lok V2 JPY V1

From the Old Kings archive: Gold Lok V2 JPY V1, an expert advisor (trading robot) for MetaTrader 4. As the name suggests, the idea behind it is gold (XAUUSD). The file name marks it as version 2. In the code it works with ZigZag and CCI. It can hold buy and sell positions together, moves the stop behind price and has a trading-hours filter. It has 28 settings, for example Lots (default 1.00), Stop Loss (default 1000.00) and Take Profit (default 1000.00). 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 · v2 · Free

About Gold Lok V2 JPY V1

Gold Lok V2 JPY V1 is an expert advisor (trading robot) for MetaTrader 4 based on ZigZag and CCI. 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 28 settings, such as Lots, Stop loss and Take profit. MQL source code included.

It also can size trades from your balance and risk percent.

Files in the download: GoldLok_v2_JPY_v1.mq4.

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

Settings

SettingDefaultWhat it does
Lots1.00Trade size in lots
Stop loss1000.00Stop loss distance
Take profit1000.00Take profit distance
Trailing stop0.00Trailing stop distance or switch
Hpred220SmCCIE
Npr0-
Db50CCI
Dlok1
Lok1
Hedg1
Sbros0, 1
Test0- 0, - 1
Cper96
Zper300ZigZagE
T3 period8- SmCCIE
Bc0.7- SmCCIE
Per21- SmCCIE
Ppor150- SmCCIE
Mpor-150- SmCCIE
M bar100- SmCCIE
Depth12ZigZagE
Deviation5ZigZagE
Backstep3ZigZagE
Tgod2006
Tm7
Chanel0
Mmstop50
Prev hour0

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: Gold (XAUUSD) · Hedging · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · ZigZag · CCI · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria