Renko-Chart + Moving Average (MT5)

To add comments, please log in or register
hausmannjack
175
hausmannjack  

Hello,

i want to program an expert advisor which base on a two in one indicator. The moving average should base on a renko-chart. So that you can understand what i mean, here a picture:

How can i write the code in MQl5 so that the moving average base on the renko-chart and not on the price chart. Would be grateful for an answer

With best regard

JH

whroeder1
17939
whroeder1  
hausmannjack: How can i write the code in MQl5 so that the moving average base on the renko-chart and not on the price chart.
  1. Off line chart + MA
  2. Sub-window indicator + MA
  3. Custom window indicator creating an internal Renko line + MA off that line.
none are simple
Jack Thomas
1635
Jack Thomas  
hausmannjack:

Hello,

i want to program an expert advisor which base on a two in one indicator. The moving average should base on a renko-chart. So that you can understand what i mean, here a picture:

How can i write the code in MQl5 so that the moving average base on the renko-chart and not on the price chart. Would be grateful for an answer

With best regard

JH


JH,

MT5 doesn't support offline charts, so you have to do your calculations off the bar data from the indicator window data.

Show us what code you've tried and perhaps we can assist you.

- Jack

hausmannjack
175
hausmannjack  

It's not a code. I have taken the moving average and put it by drag and drop into the renko chart. After that i selected on "Apply to" "Previous Indicator's Data".

To add comments, please log in or register