How to plot last 5 candle bars on chart

 

Dear Experts,

What would be the code if I want to plot last 5 candles bars of H1 on chart ?

Any guidance will be highly appreciated.

 
  1. If you had used this you would have found this.
              How can I search for indicators and other elements in this forum? - MQL5 programming forum

  2. If you mean something like: Build a mini chart - Indices - MQL4 and MetaTrader 4 - MQL4 programming forum There are several free ones in the market. № 1

  3. If you want to code it your self, just two buffers showing High/Low. Use iBarShift to get the corresponding H1 index. Show us your attempt (using the CODE button) and state the nature of your problem.
              No free help 2017.04.21
 
dbmlbm:

Dear Experts,

What would be the code if I want to plot last 5 candles bars of H1 on chart ?

Any guidance will be highly appreciated.

Example: N last bars OBJ_CHART

N last bars OBJ_CHART

N last bars OBJ_CHART
N last bars OBJ_CHART
  • www.mql5.com
Fraktrak xonax 2 Торговая система основанная на пробитии iFractals (iFractals). Доработка 'Fraktrak xonax' Market breaks a price Советник-утилита: закрывает все позиции по текущему символу. если цена пересечёт High или Low указанного бара на указанном таймфрейме.
 
Vladimir Karputov:

Example: N last bars OBJ_CHART


That is what I was looking for and Thank you so much!