Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Withdrawal Tracking - expert for MetaTrader 4

Views:
1976
Rating:
(1)
Published:
2025.03.30 16:04
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This is a piece of code to add to an existing Expert advisor to track withdrawals from your account where the EA is running. It helps the user to monitor his or her withdrawals from a particular account. Most of the EAs are hosted  on virtual private servers(VPS) to avoid resetting the parameters any time time frame or chart template is changed.


Sometimes the lot size are set to increase and never decrease even at a loss in a hope to recover all loss  before further increase in lotsize.

EAs increase lot sizes to recover losses but do not reduce them after withdrawals, as they cannot distinguish between a withdrawal and a loss.

If is a loss, it continue to use the last known lotsize in a hope to recover. If it is a withdrawal, the EA has to reduce its lotsize to adapt to the new balance and work with it.

This piece of code can be modified to do that aside monitoring the withdrawals 




RRS Tangled EA RRS Tangled EA

RRS Tangled EA randomly selects currency symbols, lot sizes, and order types for trading. It does not rely on technical indicators or fundamental analysis. Instead, it uses a Randomness in Nature approach to open trades. With proper settings such as Take Profit, Stop Loss, Trailing, and Risk Management, this EA can generate significant profits.

RRS Chaotic EA RRS Chaotic EA

This EA is a cleaned and minimized version of the RRS Randomness in Nature EA. It opens trades randomly with random currency pairs, random lot sizes, and random order types. This EA does not rely on any technical skillset such as indicators, price action, news calendar events, or candlestick patterns. It offers multiple trading strategies, risk management plans, and other customizable settings.

Average Pip Movement based on Tick And Seconds Average Pip Movement based on Tick And Seconds

This Expert Advisor (EA) analyzes market movement by calculating the average pip movement per tick and the average spread over a user-defined number of ticks (MAX_TICKS). It also evaluates the average pip movement and spread over a specified time interval (CHECK_SECONDS). The EA dynamically tracks price changes and spread values, printing the results in the terminal and displaying them on the chart using the Comment() function. This helps traders gauge market volatility and spread fluctuations in real time.

ZigZag Fibo ZigZag Fibo

Original ZigZag MT4 with added automatic fibonacci