Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Tuyul GAP - MetaTrader 5 Expert | Forex Indicators Download - MT4/MT5 Resources

author EAcpu | 6 reads | 0 comments |

EA name: TuyulGAP.mq5
Version: 1.00
Author: Zwicky Harz
Platform: MetaTrader 5
Strategy Type: Weekend Gap Trading Using Dynamic High/Low Prices

describe:
TuyulGAP is an Expert Advisor (EA) developed specifically for MetaTrader 5 and designed to automatically execute gap trading strategies targeting potential price gaps at the beginning of the trading week. The EA's position buy stop and sell stop pending orders are based on the high and low prices of a user-defined number of past candles (bars) before Friday night's close.

Automated Pending Orders: Place buy stop and sell stop orders above and below dynamic price ranges based on recent price movements.

Scheduled execution: only valid at the specified time on Friday (default: 23:15 server time).

Order Management: Automatically delete pending orders on Mondays and ensure only one order is set per week.

Date and time filters: Ensure trading activity is limited to specific date and time settings.

Profit Lock: Automatically close positions when the specified USD profit target is reached.

Simple configuration: input parameters include lot size, stop loss, magic number, maximum open trade and safe profit target.

Main input parameters:

LotSize: The size of each transaction.

Stop Loss: Stop loss in points.

LookbackBars: Analysis to determine the number of candles at high/low levels.

SecureProfitTarget: USD profit threshold for closing positions.

The EA is limited to one open trade at a time (MaxOpenTrade = 1).

Technical indicators are not used.

There is no built-in take profit or trailing stop besides safe profit closing logic.

Use cases:
This EA may be suitable for traders who want to automatically set weekend gaps and place pending orders before Friday's close.


Attachment download

📎 tuyulgap.mq5 (13.33 KB)

Source: MQL5 #60347

Verification code Refresh