how can ı make func to WHEN specific SYMBOL tick change ı wanna execute a function ? thank you :)

 
how can ı make func to WHEN specific SYMBOL tick change ı wanna execute a function ? thank you :)
 

Read and study the following Article ...

Articles

The Implementation of a Multi-currency Mode in MetaTrader 5

Konstantin Gruzdev, 2011.02.18 17:58

For a long time multi-currency analysis and multi-currency trading has been of interest to people. The opportunity to implement a full fledged multi-currency regime became possible only with the public release of MetaTrader 5 and the MQL5 programming language. In this article we propose a way to analyze and process all incoming ticks for several symbols. As an illustration, let's consider a multi-currency RSI indicator of the USDx dollar index.
Reason: