Loading…

BSS V2

This Old Kings expert advisor (trading robot) for MetaTrader 4 is called BSS V2. The file name marks it as version 2. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 40 settings, for example Configuration (default ==== Configuration ====), Reverse Trade (default TRUE) and Magic (default -1). 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 BSS V2

BSS V2 is an expert advisor (trading robot) for MetaTrader 4. It increases the lot size after a losing trade (martingale), places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as Configuration, Reverse trade and Magic. MQL source code included.

It also can size trades from your balance and risk percent, trades breakouts and looks for price differences (arbitrage).

Files in the download: BSS V2.mq4.

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

Settings

SettingDefaultWhat it does
Configuration==== Configuration ====
Reverse tradeTRUEIf TRUE, then trade in opposite direction
Magic-1If set to a number less than 0 it will calculate MagicNumber automatically
Order cmtBSS V2Trade comments that appears in the Trade and Account History tab
Ecn modeTRUETrue for brokers that don't accept SL and TP to be sent at the same time as the order
DebugFALSEPrint huge log files with info, only for debugging purposes
VerboseFALSEAdditional information printed in the chart
Trading settings==== Trade settings ====
Max spread40.0Max allowed spread in points (1 / 10 pip)
Max execution0Max allowed average execution time in ms (0 means no restrictions)
Max execution minutes2How often in minutes should fake orders be sent to measure execution speed
Stop loss100StopLoss from as many points. Default 60 (= 6 pips)
Take profit200TakeProfit from as many points. Default 100 (= 10 pip)
Add price gap20Additional price gap in points added to SL and TP in order to avoid Error 130
Trailing start20Start trailing profit from as so many pips. Default 23
Commission0Some broker accounts charge commission in USD per 1.0 lot. Commission in dollar
Slippage5Maximum allowed Slippage in points
Minimum use stop level0Minimum stop level. Stoplevel to use will be max value of either this value or broker stoplevel
Volatility settings==== Volatility Settings ====
Use dynamic volatility limitFALSECalculate VolatilityLimit based on INT (spread * VolatilityMultiplier)
Volatility multiplier100Dynamic value, only used if UseDynamicVolatilityLimit is set to TRUE
Volatility limit80Fix value, only used if UseDynamicVolatilityLimit is set to FALSE
Use volatility percentageTRUEIf true, then price must break out more than a specific percentage
Volatility percentage limit70Percentage of how much iHigh-iLow difference must differ from VolatilityLimit. 0 is risky, 60 means
Use indicator set=== Indicators: 1 = Moving Average, 2 =
Use indicator switch3Switch User indicators.
Indicatorperiod3Period in bars for indicators
Bb deviation2Deviation for the iBands indicator
Envelopes deviation0.07Deviation for the iEnvelopes indicator
Order expire seconds1800Orders are deleted after so many seconds
Money management==== Money Management ====
Money managementTRUEIf TRUE then calculate lotsize automaticallay based on Risk, if False then use ManualLotsize below
Min lots0.01Minimum lot-size to trade with
Max lots100.0Maximum allowed lot-size to trade with
Risk1.0Risk setting in percentage, For 10.000 in Equity 10% Risk and 60 StopLoss lotsize = 16.66
Manual lotsize0.01Manual lotsize to trade with if MoneyManagement above is set to FALSE
Screen shooter==== Screen Shooter ====
Take shotsFALSESave screen shots on STOP orders?
Delay ticks1Delay so many ticks after new bar
Shots per bar1How many screen shots per bar

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: Martingale · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · Breakout · Arbitrage · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria