Download MetaTrader 5

MTF Indicators & Staircases

To add comments, please log in or register
Deposit to your account via Visa QIWI Wallet
Gilbert Reitsma
1609
Gilbert Reitsma 2012.06.01 08:47 

Hi

If I plot a 5min MTF indicator on a 1min chart, why does it look like a staircase? 

 

Is it possible to make a MTF indicator so that it plots on a 1min chart exactly what its value is on a larger timeframe?

 

Gil 

onewithzachy
2271
onewithzachy 2012.06.03 05:25  
GilR:

Hi

If I plot a 5min MTF indicator on a 1min chart, why does it look like a staircase? 

Is it possible to make a MTF indicator so that it plots on a 1min chart exactly what its value is on a larger timeframe?

Gil 

Hi GilR,

Can you upload the pics, please.

The reason is when plotted to lower TF, the M5 CI using M5 data not using M1 data, e.g with M5 candle bar at 00:00:00 : the M5 open is the M1 open at 00:00:00, the M5 close is the M1 close at 00:04:00, and the high-low M5 is the hig-low between M1 00:00:00 and 00:04:00.

if your M5 CI use close price that mean -in other words - it only uses M1 data of 00:04:00. You have to re-write the whole CI of that M5 and use M1 data and hope fully it will meet your expectation.

Been there, done that with mql4

:D 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Indicator Constants / Price Constants
  • www.mql5.com
Standard Constants, Enumerations and Structures / Indicator Constants / Price Constants - Documentation on MQL5
Gilbert Reitsma
1609
Gilbert Reitsma 2012.06.05 01:26  
onewithzachy:

Hi GilR,

Can you upload the pics, please.

The reason is when plotted to lower TF, the M5 CI using M5 data not using M1 data, e.g with M5 candle bar at 00:00:00 : the M5 open is the M1 open at 00:00:00, the M5 close is the M1 close at 00:04:00, and the high-low M5 is the hig-low between M1 00:00:00 and 00:04:00.

if your M5 CI use close price that mean -in other words - it only uses M1 data of 00:04:00. You have to re-write the whole CI of that M5 and use M1 data and hope fully it will meet your expectation.

Been there, done that with mql4

:D 

 

Thanks for your advice and help
To add comments, please log in or register