Loading…

Shafina V2 4

Shafina V2 4 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. This copy is version 2.4. Its source code uses moving averages. It places pending orders, moves the stop behind price and has a trading-hours filter. It has 40 settings, for example Filter (default 140), Filter EU (default 130) and Filter GU (default 170). 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 · v2 · Free

About Shafina V2 4

Shafina V2 4 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 40 settings, such as Filter, Filter eu and Filter gu. MQL source code included.

It also can size trades from your balance and risk percent and works on several symbols at once.

Files in the download: Shafina v2.mq4.

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

Settings

SettingDefaultWhat it does
Filter140
Filter eu130org 140
Filter gu170
Filter uj190
Magic number150115Magic number that tells this EA's orders apart
Trade commentShafinaComment written on the orders
Max trades10Maximum number of open trades
Stop loss5this is for our BUY/SELL STOP SL 2.3 pips modify, can not put 200 pips, will lose !!!
No trade profit yet stop loss3030 pips
In trade profit stop loss602.3 pips
Distance30not used !!!
No trade profit yet distance20Distance between orders
In trade profit distance30Distance between orders
Limit23.020 will cause order130 error
No trade profit yet limit22can not play with this , 20 should be ok!!!
In trade profit limit25
Use trailing stepTRUETrailing stop distance or switch
Start trailing at2.9org 2.9 meaning keep bid/ask distance by x PIPS
Trailing step0.3org 0.3
Use set break evenTRUEMove the stop to break-even
Lock pips0.3org 0.3
Set break even at2.3org 2.3
Min lots0.01
Max lots100000000.0100000.0;
Risk10org 60
Fixed lots0.010.1;
Use mmTRUE
Max spread plus commission6.36.3 ok !
Max spread plus commission eu10.30.6 ok !
Max spread plus commission gu10.01.0 ok !
Max spread plus commission uj10.00.6 ok !
Max spread6.36.3 ok !
Max spread eu0.60.6 ok !
Max spread gu1.01.0 ok !
Max spread uj0.60.6 ok !
Ma period15Period or timeframe used by the calculation
Ma method1
Time filter---------- Time Filter ----------
Start hour0Hour when trading starts (server time)
Start minute0

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 · Risk & Lot Size · Multi-Currency · Moving Average · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria