In MQL4, What event do I use to detect tick changes in a symbol that is different from the symbol on the current chart?

 

EUR/USD 차트에서  EUR/USD 뿐만아니라  AUD/USD, EUR/JPY 등등 다른 심볼에도 주문을 냅니다

그런데 OnTick 이벤트의 경우는 해당차트 즉  EUR/USD 의 틱 변화시 발생하므로

OnTick 에서 MarketInfo("AUDUSD",MODE_BID) 를 이용하여 다른 심볼의 Bid 값을 읽어오지만

심볼의 틱 변화가 각각 다른 시간에 발생하므로  이 경우는 그 종목의 현재값이 아닙니다.

즉  AUD/USD, EUR/JPY 등의 심볼에서 틱이 변화되었을때  EUR/USD 차트에서 인지할 수 있는 방법이 있나요?


또는

종목과 상관없이 매매종목의 손익이 변화될때 발생하는 이벤트가 있을까요?


On the EUR/USD chart, orders are placed not only on EUR/USD but also on other symbols such as AUD/USD, EUR/JPY, etc. However, in the case of the OnTick event, it occurs when the tick of the corresponding chart, that is, EUR/USD, changes. In OnTick, the Bid value of another symbol is read using MarketInfo("AUDUSD",MODE_BID), but Since the tick changes in the symbol occur at different times, this is not the current value of the stock. In other words, is there a way to recognize on the EUR/USD chart when ticks change in symbols such as AUD/USD, EUR/JPY, etc.? or Is there an event that occurs when the profit or loss of a trading item changes, regardless of the item?

 

아래 문서는 원하는 작업을 수행할 수 있는 옵션을 제공하는 데 도움이 될 것입니다.

기고글

MetaTrader 5의 다중 통화 모드 구현

Konstantin Gruzdev, 2021.08.04 16:56

오랫동안 다중 통화 분석 및 다중 통화 거래는 많은 사람들의 관심을 불러일으켜왔습니다. 완전한 다중 통화 체제를 구현할 수 있는 기회는 MetaTrader 5 및 MQL5 프로그래밍 언어의 공개 릴리스에서만 가능했습니다. 이 글에서는 여러 기호에 대해 들어오는 모든 틱을 분석하고 처리하는 방법을 제안합니다. 예를 들어 USDx 달러 인덱스의 다중 통화 RSI 지표를 살펴보겠습니다.