Loading…

Solagracia

From the Old Kings archive: Solagracia, an expert advisor (trading robot) for MetaTrader 4. In the code it works with moving averages. It places pending orders, moves the stop behind price and has a trading-hours filter. It has 32 settings, for example Hour Open (default 16), Minutes Open (default 0) and Hour Close (default 8). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. 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 Solagracia

Solagracia is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It places pending buy/sell stop or limit orders, moves the stop loss behind price (trailing stop / break-even) and trades only in the hours you set (time filter). It has 32 settings, such as Hour open, Minutes open and Hour close. MQL source code included.

Files in the download: solagracia.mq4.

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

Settings

SettingDefaultWhat it does
Hour open16Range : 0 - 23 SBFX !!!
Minutes open0Range : 0 - 59
Hour close8Range : 0 - 23
Minutes close0Range : 0 - 59
Use close hourtrue
Percent10Range : 0 - 100
Stop percent30Range : 0 - 300
Mm risk0.1Risk per trade (percent of balance)
Space
Expert name---- SolaGracia EA ----
Stop after no tradesFalse
Is ibfx mini accountFalse
Magic081006Magic number that tells this EA's orders apart
Slippage6Maximum slippage allowed when opening a trade
Main parametersVolume & Trade Method
Lots1Trade size in lots
Trailing stop0Trailing stop distance or switch
Take profit0Take profit distance
MMtrue
Loss max3200Maximum Loss by 1 Lot
Use dif buy sellFalsePercent for BUY and SELL are different
Buy percent25Range : 0 - 100
Sell percent50Range : 0 - 100
Trade period6Max days in trade
Break even0BreakEven Level in pips
Break even gap0Pips when BreakEven will be reached
TradeTrade Days of Week
Monday1
Tuesday1
Wednesday1
Thursday1
Friday1

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: Pending Orders · Trailing Stop & Break-even · Time Filter · Moving Average · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria