Forex
Google

Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-27-2007, 04:12 PM
project1972's Avatar
project1972 project1972 is offline
Senior Member
 
Join Date: May 2006
Location: Fl, Usa
Posts: 277
project1972 is on a distinguished road
Indicator able to read a statement.

Time ago I saw an indicator or tool able to read a statement or the trading history and draw Arrows in the chart showing enters and exits of each order.

Do you know where to get it ?

Thanks.
__________________
I have not failed. I've just found 10,000 ways that won't work.
Thomas Alva Edison
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-28-2007, 02:18 PM
project1972's Avatar
project1972 project1972 is offline
Senior Member
 
Join Date: May 2006
Location: Fl, Usa
Posts: 277
project1972 is on a distinguished road
Not info ?

I know there is a indi to plot the trading history in the chart as enter and exit arrows, I just want to ask if someone have it, if not I will need to code my own one.
__________________
I have not failed. I've just found 10,000 ways that won't work.
Thomas Alva Edison
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-28-2007, 02:57 PM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,388
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
It is Tracert file (Author is Rosh).
This file should be in include folder.

In the beginning of EA:
Code:
#include <Tracert.mqh>
In the settings:
Code:
extern bool Tracert = true;
In the code of EA after start:

Code:
if ( Tracert ) SetTrace();
You can see it in almost any Eas created by Igorad (SBS, TPE and so on) as public as elite.

During the backtesting this this EA (with tracert) in visual mode (if Tracert=true in the settings of the EA0 you will see exactly what you want.
For example:

tracert.gif
Attached Files
File Type: mqh Tracert.mqh (5.8 KB, 43 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-28-2007, 03:02 PM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,388
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Or the other way to use it is the following:
backtest your EA with tradert=true in the setting (without visual mode) and then click on 'Open Chart' button located on Metatrader's strategy tester and you will see the same image as above (open orders are dots and stops are and dots as well).

I mean that this tracert file can be easy included in any EA.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-28-2007, 03:09 PM
Michel Michel is offline
Senior Member
 
Join Date: Feb 2006
Posts: 509
Michel is on a distinguished road
Quote:
Originally Posted by project1972 View Post
Not info ?

I know there is a indi to plot the trading history in the chart as enter and exit arrows, I just want to ask if someone have it, if not I will need to code my own one.
Here is mine, it's a script.
Attached Files
File Type: mq4 TradeTrace.mq4 (11.2 KB, 102 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-28-2007, 04:31 PM
project1972's Avatar
project1972 project1972 is offline
Senior Member
 
Join Date: May 2006
Location: Fl, Usa
Posts: 277
project1972 is on a distinguished road
Quote:
Originally Posted by Michel View Post
Here is mine, it's a script.
Thanks very much ND but I was looking for something to plot all trades from the history of live or demo trades after they are done, Michel script just does that, and is an incredible good tool

Thanks very much, this is what I was looking for, Amazing the amount of info it show.

Michel, you are a very good coder.

__________________
I have not failed. I've just found 10,000 ways that won't work.
Thomas Alva Edison
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-28-2007, 05:51 PM
drgoodvibe drgoodvibe is offline
Senior Member
 
Join Date: Dec 2005
Location: Null
Posts: 534
drgoodvibe is on a distinguished road
Michel, i've just tried your TradeTrace script and I get a little error "Cannot resolve LotMargin"

Here's the script that I have that plots arrows as well as the price of the history etc..
Attached Files
File Type: mq4 PlotArrows.mq4 (2.3 KB, 75 views)
__________________
Metatrader 4 - EA Live and Demo Hosting Solutions http://www.omegasupreme.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-28-2007, 08:14 PM
Michel Michel is offline
Senior Member
 
Join Date: Feb 2006
Posts: 509
Michel is on a distinguished road
Quote:
Originally Posted by drgoodvibe View Post
Michel, i've just tried your TradeTrace script and I get a little error "Cannot resolve LotMargin"

Here's the script that I have that plots arrows as well as the price of the history etc..
It's always a trick to calculate the LotMargin, because it depends only of the rate of second currency of the pair against the account's currency.
For sample, you have an account in USD and you have to calculate the margin for 1 lot EURCHF; you need to have some where the rate USDCHF (or CHFUSD) (probably on a H1 chart). If you do not have that rate, it's not possible to calculate the LotMargin.
I already asked Metaquote to add the LotMargin in the MarketInfo() function, but they don't care.
Now, two rems:
- I already see that retrying to run twice the script solve the problem to find the rate if you have it (and if it didn't fint it the first try)
- This script is a little old, and it's possible that now there are easier way to calculate the LotMargin (for sample, using MarketInfo() mode Bid which didn't exist at that time)...
Another thing: there is a little bug too : when the mouse's pointer comes close to a segment between the open and the close arrows, it shows how many pips were done in how many time. This time is wrong if it's more than one day. The main purpose of this script was to follow what short time EAs are doing on the same account from several PCs, most of the time in intraday so I never correct the bug.
For all that, you have the source code so everybody can modify it... Enjoy !
Anyways, thanks for your script too !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-01-2008, 05:33 PM
forexarchitect forexarchitect is offline
Junior Member
 
Join Date: Jan 2008
Posts: 5
forexarchitect is on a distinguished road
EA that plot orders base on historical data

Hello
Is there a posibilities of EA to plot orders base on historical orders data.
ie. I want to review my trade of last week, drop the EA, and it will plots all sell/buy on the chart..

posible?
__________________
creativity + common sense + a bit of humor = lots of pipp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-01-2008, 06:56 PM
omelette omelette is offline
Senior Member
 
Join Date: Jan 2006
Posts: 1,017
omelette is on a distinguished road
Quote:
Originally Posted by forexarchitect View Post
Hello
Is there a posibilities of EA to plot orders base on historical orders data.
ie. I want to review my trade of last week, drop the EA, and it will plots all sell/buy on the chart..

posible?
Check out this post for a very nice script that does what you want - courtesy of Michel

Indicator able to read a statement.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login is Read Only? DooMGuarD Metatrader 4 0 06-11-2007 07:02 PM
I need help on creating an Icustom statement for my EA using this indicator as input! iscuba11 Expert Advisors - Metatrader 4 4 09-11-2006 07:18 PM
Can Metatrader read whether Target or SL for Order Hit? whizzkid Setup Questions 0 05-09-2006 02:49 PM


All times are GMT. The time now is 10:58 AM.