Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
CopyTicksInd - indicator for MetaTrader 5
- Views:
- 5650
- Rating:
- Published:
- 2016.02.09 09:23
- Updated:
- 2016.11.22 07:32
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator stores the tick from the terminal to an array. The type of the received ticks can be specified in the parameters:
Next, the tick array is displayed on the screen. During that the tick flag is displayed:
- TICK_FLAG_BID — the tick changed the Bid price;
- TICK_FLAG_ASK — the tick changed the Ask price;
- TICK_FLAG_LAST — the tick changed the price of the latest trade;
- TICK_FLAG_VOLUME — the tick changed the volume;
- TICK_FLAG_BUY — the tick appeared as a result of a buy trade;
- TICK_FLAG_SELL — the tick appeared as a result of a sell trade;
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/14667