VR Orders History Lite

VR Orders History Lite
Download ALL MT4 scripts (422)
YouTube Video Thumbnail



Similar MetaTrader Tools

VR Orders History Lite

Info

The VR Orders History Lite is a Script for MetaTrader 4 that vr orders history lite is a script for loading trade history in csv format. The script loads all orders, including positions related to deposit and withdrawal of funds from the trading account.

Usage

This tool is typically used for enhancing chart analysis and decision making.

Platform

This Script works exclusively on MetaTrader 4 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL4/Scripts folder via File ? Open Data Folder in MetaTrader 4.


How to Install and Use VR Orders History Lite

1. Installation: Move your script file into the MQL/Scripts directory and restart the platform.

2. Execution: Drag the script onto a chart; it will perform a one-time action, such as closing all open orders or clearing chart objects.

3. Editing: Use MetaEditor (F4) to modify code, click "Compile," and verify no errors appear in the terminal before running.

4. Removing: Scripts stop automatically, but you can remove them manually by right-clicking the chart and choosing "Remove Script."

Frequently Asked Questions

Q: How are scripts different from EAs? A: Scripts execute a single action and then stop; EAs monitor the market and trade continuously.

Q: Can I assign a hotkey to a script? A: Yes, right-click the script in the Navigator, select "Set Hotkey," and define your preferred keyboard shortcut.

Q: Why did my script stop? A: Scripts are designed to stop immediately after finishing their programmed command; this is normal behavior.

What this tool does

VR Orders History Lite is a script for loading trade history in csv format.

Typical Use Case

This Script excels in automated trading and technical analysis on MetaTrader 4.

Compatible Platform & Setup

This Script works on MetaTrader 4. Place the file in the MQL4/Scripts folder and restart the terminal.

Description & Settings

Related: script to close all orders - another powerful script for MetaTrader 4 traders.

VR Orders History Lite is a script for loading trade history in csv format. The script loads all orders, including positions related to deposit and withdrawal of funds from the trading account.

Also recommended: trailing stop for all orders - similar script with strong performance on MetaTrader 4.


VR Orders History allows you to load trade history for any financial instruments, including currency pairs, CFDs, futures, Bitcoin, Ethereum, and others.

Additional analysis of trade history will help you:

- Avoid serious mistakes in the future;

- Identify the most profitable trading instruments;

- Create a heat map of successful trading periods;

- Analyze trade history using external analyzers;

- Calculate profit, loss, and volume for selected instruments, consultants, and trading strategies.

The result of the script is a file with the name [account number - trader name - [date].csv]. The csv file is located at: File → Open data folder → mql4\files\app data trading-go\VR Orders History Lite.

VR Orders History settings:

- Separator - this parameter is responsible for inserting dots or commas in values when exporting, which helps to correctly display data in MS Excel:

- Comma - comma (example: 0,00000);

- Dot - dot (example: 0.00000).

- Order types - download a report with order types:

- All order types - all types of orders;

- Buy - only buy orders;

- Sell - only sell orders;

- Limit buy - limit buy orders;

- Limit sell - limit sell orders;

- Stop buy - stop buy orders;

- Stop sell - stop sell orders;

- Deposit/withdrawal - deposit/withdrawal operations;

- Only market orders - only market orders (buy and sell);

- Only stop orders - only pending orders (buy stop and sell stop);

- Only limit orders - only limit orders (limit buy and limit sell).

- Symbols - trading instrument;

- Magic number - this is a unique serial number that consultants use to mark their orders;

- Start time - the time necessary to start collecting order information;

- End time - the time of completion of order information collection.

Example report:

You may also like: scripts for placing stop and limit orders - excellent alternative for script users on MetaTrader 4.

Source Code

яю//+==================================================================|//
#property script_show_inputs
#property strict
enum sp
{
one, // comma    0 , 0000
two  // point    0 . 0000
};
enum type
{

.......

Leave your opinion, ask a question, share some knowledge

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.