MQL4 - automated forex trading   /  

Code Base

Code Base  Scripts  Trade Orders History Charts To post a new code, please log in or register

Download MetaTrader 5 and visit MQL5.community Code Base
and Trade on the Go!
Prepare for the Championship
Couldn't find the right code? Order it in the Jobs section

This script is for
MetaTrader 4
Download MT 4 - 455 Kb

and Trade on the Go!

Name:
Trade Orders History Charts
Author: T-1000 (2006.01.21 05:26)
Downloaded: 5771
Download:
 OrderHistory.mq4 (9.9 Kb) View


    You can use this script, if you wish to see on chart how your history orders was going. History Orders are marked by arrows, which reflects order Open Price, Stop Loss, Take Profit, Close time and price. Each order is on markets active chart, just limit is, you can see only correspondenting history orders to your selected trade instrument.

    To run this script, please, close your Metatrader 4 and put OrderHistory.mq4 in your experts\scripts directory, then restart your Metatrader 4. After it appears under scripts list you may use it. Just a notice though, it does not delete own placed arrows so it's best to work on clear chart. By the way, use smallest intervals with large history for best arrows fitting.

    If you have any questions or ideas, please, send me email to address: arunasp at lycos.com


2 comments  To post a new comment, please log in or register
T-1000 wrote:
Uploaded improved version of script. This also will fix trendlines length. Previous version had out of bounds trendlines which went out of close time range.


Hi,

Nice script and idea, but I found a few bugs in it. It the version posted here, I see nothing about trendlines, but I rewrote the script and added trendlines and modified the placement of text. I posted OrderHistory V2.mq4 in the following thread. I also note in a followup post that MT4 has at least some basic capability to display trade history on charts. See the thread:

http://forexfactory.com/showthread.php?t=46668

Pips4life

18.09.2007 21:38 pips4life
Uploaded improved version of script. This also will fix trendlines length. Previous version had out of bounds trendlines which went out of close time range.
29.11.2006 15:28 T-1000