EA Buffers Not Getting Correct Values from Custom Indicator Buffer - page 2

 
VikMorroHun # :

All you need is to get the difference between adjacent bars

dMABuffer[ 0 ] - dMABuffer[ 1 ];

?

 
Vladimir Karputov #:

All you need is to get the difference between adjacent bars

?

No, I need more than that. But I can't get more than that until I have proper access to the MA data.

 
VikMorroHun # :

No, I need more than that. But I can't get more than that until I have proper access to the MA data.

In this case, please read out the entire list!

 

Example of an indicator: the difference between the iMA (Moving Average, MA) indicator readings between the current bar and the previous one: Difference of two bars MA

Difference of two bars MA

Рис. 1. Difference of two bars MA (MA in the main window was added manually - for clarity)

 
Vladimir Karputov #:

Example of an indicator: the difference between the iMA (Moving Average, MA) indicator readings between the current bar and the previous one: Difference of two bars MA


Thank you, Vladimir. I've tested your indicator and this is exactly what I needed.