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...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Что за значения в этих буферах? Чем отличаются они друг от друга в один и тотже момент времени?
значения больше нуля или меньше нуля, или равно нулю?
ща тоже займусь этим экспертом.. как слеплю выложу...
just don't start incorporating this indicator into the EA code !
;)
только не начинай встраивать этот индикатор в код эксперта !
;)
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...
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");