Loading…

My10trend

From the Old Kings archive: My10trend, an expert advisor (trading robot) for MetaTrader 4. In the code it works with an oscillator. It works with a grid of orders, places pending orders and moves the stop behind price. It has 37 settings, for example Lot (default 0.1), Percent (default 30) and Stop Loss (default 400). Watch it on a demo account for a while — robots can behave differently with each broker. 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 My10trend

My10trend is an expert advisor (trading robot) for MetaTrader 4 based on Oscillator. It opens a grid of orders at fixed price steps, places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 37 settings, such as Lot, Percent and Stop loss. MQL source code included.

It also trades only in the hours you set (time filter) and can size trades from your balance and risk percent.

Files in the download: my10trend.mq4.

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

Settings

SettingDefaultWhat it does
Lot0.1Trade size in lots
Percent30
Stop loss400Stop loss distance
Take profit1500Take profit distance
Slippage10Maximum slippage allowed when opening a trade
Otstup10
Use trailingfalseTrailing stop distance or switch
Trailing stop loss20Stop loss distance
Trailing step10Trailing stop distance or switch
Tsl bars-1
Time to death0
Max deals10
Param----------------------------------------
Wpr period20Period or timeframe used by the calculation
Rsi period7Period or timeframe used by the calculation
Ma period60Period or timeframe used by the calculation
Bb period20Period or timeframe used by the calculation
Envelopes period10Period or timeframe used by the calculation
Time shift0Bar shift (0 = current bar)
Start hour23Hour when trading starts (server time)
End hour23Hour when trading stops (server time)
Friday last work hour20
Monday first work hour6
Work only selected hoursfalse
Hour percent>0 - fixed lot, 0 - not work, <0 - perce
Final trailing stop20Trailing stop distance or switch
Pip step50Distance between orders
Bar step5Distance between orders
Increment1
Pip step increment1Distance between orders
Time frames-- 0, 1, 5, 15, 30, 60-H1, 240-H4, 1440-Period or timeframe used by the calculation
Time frame60Period or timeframe used by the calculation
Protect sltrue
Not open if big stop levelfalse
CommentMy4Comment written on the orders
Magic number8877667Magic number that tells this EA's orders apart
GvLDTime

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

Old Kings — classic MT4 & MT5 collection · PolyMaria