I don't know what the ticket means in tester strategy. means an "new" order closed, or other some thing?
in tester strategy, I always think Bid is M1's open price minus spread and Ask is M1's open price plus spread, it is ok?
Now I am learning DDE of MT4, shall I get some detail files about it, especially on excel ?
thanks for your time/
Thanks for all of your advice, I have read them.
in the fact, I just want to know what is the bid and ask, I mean the bid/ask price has existed in tester strategy or has been calculated by something, such as spread? or how "spead" works in tester strategy?
Thank you for your recommend post, I have read and have questions as below:
1. in that article, major discuss about MT5, I use MT4; it said "Strategy Tester of the MetaTrader 5 terminal uses only one mode of price modeling in testing - the generation of ticks on the basis of existing historical data on minute time frames of the used symbols. The remaining modes of simulations in MetaTrader 4 were removed because despite their high speed, they failed to provide a high accuracy of testing. "， I think it means MT5 use one mode of MT4's modes, maybe control points, and the modes of every ticket and open price only were deleted, yes?
2. In the fact, whatever mode, I just want to know how does bid / ask price is produced for one ticket, maybe the point price +/- 0.5*spread?
Thanks a lot!
1. The Control Point Mode was removed.
2. MetaTrader prices are Bid. The Ask is generated during Testing by adding the Spreads to the Bid. Therefore if Bid=1.54321 and Spread=10. Then the Ask will be 1.54331 (1.54321+10(Points)).
Prices aren't generated for individual Tickets. Prices (Bid && Ask) are generated for Symbols.
The Ticket is a Number assigned to the Order. Just like you have a name vx0532 and I have a name Ubzen. Orders have Numbers so that we can tell the difference between orders.
Within the strategy tester, the first order during your test is Number_1 (1). Next is 2 .. followed by 3 and so-on.
In a live market, the broker assigns the Numbers and your Ticket_Number may appear out of sequence.
thanks. but I still have a question:
what does it do to generate tickets in strategy tester, and why EA run slow in the data which has high tick count per bar in the Strategy Tester?
1) So that you know which ticket to Select or Close.
Added: It keeps a Counter, and increments that Counter by 1.
2) High tick_count means more data to process.
Which of these can you count faster? From 1 to 10. Or From 1 to 100.