Watch how to download trading robots for free
Find us on Twitter!
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

Trades to CSV - expert for MetaTrader 4

Published by:
Inovance
Views:
21049
Rating:
(29)
Published:
2015.05.11 14:06
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

Inovance

Export the trade details (order, trade return, ticket number, open price, close price, open timestamp, close timestamp, currency pair, position size) from a backtest or live trading to a CSV file.

To use, input your trading logic inside the Signal() function (return 1 for long signals, 2 for short signals), name the CSV file and either run a backtest or attach to a live chart. With live trading, the most recent trade will be automatically written to the last line in the file.

If from a backtest, the file will be in <terminal_data_folder>\tester\files. If from live trading, the file will be in <terminal_data_folder>\MQL4\Files.

Exported Results

Aeron JJN Scalper EA Aeron JJN Scalper EA

Expert Advisor based on JJN Scalper indicator.

Parallel Strategies Example Parallel Strategies Example

This is a simple multistrategies EA based on many strategies that work in parallel mode.

MA Lock MA Lock

Bound MA (Moving Average) to specific timeframe.

RealValue RealValue

This indicator is my attempt to estimate the real market value.