Loading…

Slope Trade ADX V

This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Slope Trade ADX V. Its name points to ADX / DMI trend strength. In the code it works with ADX. It moves the stop behind price, can size trades from your risk and has a news filter. It has 40 settings, for example sec1 (default ---- EA Config ---------), Comment String (default SlopeTradeADX) and Verbose (default true). 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 Slope Trade ADX V

Slope Trade ADX V is an expert advisor (trading robot) for MetaTrader 4 based on ADX. It moves the stop loss behind price (trailing stop / break-even), can size trades from your balance and risk percent and has a news filter. It has 40 settings, such as Sec1, Comment string and Verbose. MQL source code included.

Files in the download: SlopeTradeADX_v3a.mq4, Текстовый документ.txt.

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

Settings

SettingDefaultWhat it does
Sec1---- EA Config ------------
Comment stringSlopeTradeADXComment written on the orders
Verbosetrue
Take tradestrue
Signal mailtrue
Alert ontrueTurn this alert on or off
Exit on changetrue
Use mmtrue
Margin checktrue
Max open trades10
Every tick modetrue
Sec5------ MM -------------
MethodDollarmust be "Percent" or "Dollar"
Dollar risk per trade20Risk per trade (percent of balance)
Percent risk per trade3Risk per trade (percent of balance)
Sec2--------- Signal Settings ----------
Use slope tf1true
Slope tf11440
Use slope tf2true
Slope tf2240
Use slope tf3true
Slope tf360
Use slope tf4true
Slope tf430
ADXTF30
Adx level35
Sec3 ---------- Trade Management --------
Lots1ignored if UseMM = true
Slippage10Maximum slippage allowed when opening a trade
Stop loss50Stop loss distance
Take profit0Take profit distance
Break even gain50Move the stop to break-even
Break even level10Move the stop to break-even
Trail gain100Trailing stop distance or switch
Trail level50Trailing stop distance or switch
Sec4----------- Indicator Settings ---------
Settings fileSlopeSettings.txt
Slope period80Period or timeframe used by the calculation
Slope method3
Slope price0

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

Old Kings — classic MT4 & MT5 collection · PolyMaria