Replies

pietramarek
23 Mar 2023, 10:17

RE:

PanagiotisChar said:

Hi there,

You can use Bars.OpenPrices

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

Hi I used also this code and I think It's work fine : 

     Bars bars15 = MarketData.GetBars(TimeFrame.Minute15);
            int currentBarIndex15 = bars15.Count - 1;
            Bar currentBar15 = bars15[currentBarIndex15];
            double openPrice15 = currentBar15.Open;
            Print("15min " + openPrice15);


@pietramarek