|
|||||||
| 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 |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
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 |
|
|||
|
It is Tracert file (Author is Rosh).
This file should be in include folder. In the beginning of EA: Code:
#include <Tracert.mqh> Code:
extern bool Tracert = true; Code:
if ( Tracert ) SetTrace(); 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 |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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..
__________________
Metatrader 4 - EA Live and Demo Hosting Solutions http://www.omegasupreme.com |
|
|||
|
Quote:
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 ! |
|
|||
|
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 |
|
|||
|
Quote:
Indicator able to read a statement. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |