Indicator dump by Dserg - page 15

 
Sapsan >>:
Что за значения в этих буферах? Чем отличаются они друг от друга в один и тотже момент времени?
<Ctrl>+<D> - then drag your mouse and admire these values.
 
values greater than or less than or equal to zero?
 
I'll get to work on this expert too... I'll post it when I'm done...
 
Sapsan >>:
значения больше нуля или меньше нуля, или равно нулю?
value will be equal to the value of its line
 
sllawa3 >>:
ща тоже займусь этим экспертом.. как слеплю выложу...

just don't start incorporating this indicator into the EA code !

;)

 
PapaYozh >>:

только не начинай встраивать этот индикатор в код эксперта !

;)

No... it's too heavy for the computer... it's like an include file, but it makes no difference if it's separate and if it's in a library...

 
If I have understood correctly. All buffers have the same value. Then how do you determine the direction of the trend?
 
You've got it wrong... the value appears as the colour appears while the previous bar had a value on a different buffer... that's why we compare the value from different buffers on different bars... Besides, the colour changes when this value changes...
 
SetIndexStyle(3,DRAW_NONE);
SetIndexBuffer(3, Trend);
SetIndexLabel(3, "Trend");

SetIndexStyle(4,DRAW_LINE);
SetIndexBuffer(4, TrendUp);
SetIndexLabel(4, "TrendUp");

SetIndexStyle(5,DRAW_LINE);
SetIndexBuffer(5, TrendDn);
SetIndexLabel(5, "TrendDn");

SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0, Trend_s);
SetIndexLabel(0, "Trend Slow");

SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(1, TrendUp_s);
SetIndexLabel(1, "TrendUp Slow");

SetIndexStyle(2,DRAW_LINE);
SetIndexBuffer(2, TrendDn_s);
SetIndexLabel(2, "TrendDn Slow");
 
double DZ = iCustom(NULL,TF, "DsergMA3",N,H); TF - TIMEFrame N - BUFFER NO. N - BAR NO. ( 0 PREVIOUS AND 1 PRESENT )