You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
yes I put like this :
the value before the last is the Line index.
here we try to get 2 value on buffer for one time so
we must change 15 by 5 on MM5bis
at the moment the code is like this :
and it shows a value
but if you just calculate the values on the 2 indicators on histogratrend and the value in green : there is different .
I try to use something like this :
it works but I don't know how to change the color of the value because here it's not an object : in the left on the top . I would like something like that Comment () but I don't know how to change the color
I try to use something like this :
it works but I don't know how to change the color of the value because here it's not an object : in the left on the top . I would like something like that Comment () but I don't know how to change the color
Hello ;
I mean how to change the color of value (red if <0 and green if >0) without changing manually the chart foreground by using comment () ??
so, I change the code and I use finally Label . the simple code
my question is how to refresh or to update the value or the data ???
Hello ;
I mean how to change the color of value (red if <0 and green if >0) without changing manually the chart foreground by using comment () ??
so, I change the code and I use finally Label . the simple code
my question is how to refresh or to update the value or the data ???
I'm not 100% sure I understand your question . . . but you can change the text and text colour of the Text Label Object using the following . . .
It will change the value to the current value of the variable value and change the color to the value of NewColour
Yes, in the function CreerLabel I use this function
but I think that the value or the data don't change according the current chart that is to say, may be the value are the same at anytime . just to make an exemple :
in this code I try to create an extern variable
the problem is when I insert the indicator ; the periode is 13 (default ) and the result i like this :
the indicator in down is histogramtrend( and here we see black line < red then <0 and red and that's right when we see D1 Eur/usd 0.00070 . now let change the parameter of histogramtrend and our indicator
as you can see there is a differnce between histogramtrend in 13 and in 65 . in 65 the black line is superior of red one so > 0 and the value must green . so when we change the parameter of our indicator (Multitimetrend) the value are the same and stay red like in period 13 .
now, I try to change the code and make 65 as a default parameter ! I delete all object and I compile again the code and the real result in 65 is like this
remark that D1 become green .
so I don't know wha's wrong and how to update the value :
may be we must make loop like this