cAlgo - access OHLC data in Bid and Ask
Created at 22 Jun 2020, 06:50
cAlgo - access OHLC data in Bid and Ask
22 Jun 2020, 06:50
Hi
I want to write an indicator that uses the OHLC data of both Bid and Ask prices. As far as I am aware, Bars.ClosePrices, for example, is in reference to the Bid price. Is there an Ask equivalent?
Thank you
PanagiotisCharalampous
22 Jun 2020, 08:47
Hi hao.han,
Candles are constructed using Bid prices. If you are looking for the Ask prices you can use GetTicks() method.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous