I'm trying to get the current tick value of some indicators (PAR in the example below). I assume it's doable since I can see the chart indicator moving in response to the tick changes on the live chart.
I can get the closing indicator value by bar easily enough, and I can see the tick price, but I can't work out how to get the matching indicator value. Is there an equivalent function to CopyClose() for indicators or hidden PERIOD_TICK somewhere?
The most recent Close price is the Bid price of the most recent tick, so the most recent PSAR value is the the value of the PSAR for the most recent tick that arrived.
It is that simple. Simply read off the PSAR value at index 0. It will get updated on every new tick.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Guys,
Hoping someone can point out where I'm going wrong.
I'm trying to get the current tick value of some indicators (PAR in the example below). I assume it's doable since I can see the chart indicator moving in response to the tick changes on the live chart.
I can get the closing indicator value by bar easily enough, and I can see the tick price, but I can't work out how to get the matching indicator value. Is there an equivalent function to CopyClose() for indicators or hidden PERIOD_TICK somewhere?
(Please excuse the coding, I'm new to MQL and still steal stuff directly from the help files! :) )
Cheers,
Chris