Attachments forums

List of attachments posted on this forum.


All files on forums: 136135

Re: Step Indicators for MT4

wojtek, Thu Mar 23, 2017 8:34 am

For instance, in #define _mtfCall the exact names of all varables are written, but
there are some zeros, for instance for LineWidth and/or for Shift (those variables
describe the visualization of buffers).  The variable Interpolation is skipped.
The buffers are described by different formulas for lines and for arrows,
I mean these substitutions

Code: Select all

                     buffer[i]   = _mtfCall(0,y);
                     trend[i]    = _mtfCall(5,y);
                     bufferda[i] = EMPTY_VALUE;
                     bufferdb[i] = EMPTY_VALUE;
                     arrowu[i]   = EMPTY_VALUE;
                     arrowd[i]   = EMPTY_VALUE;
                     if (x!=y)
                     {
                        arrowu[i] = _mtfCall(3,y);
                        arrowd[i] = _mtfCall(4,y);
                     }
And why bufferda and bufferdb are empty, if they draw the indicator line?  
All the above examples come from the code of the indicator attached.
All files in topic