Adding variables
-
Hi, I want to add 30 variables into one output variable, is there a way to do this in one block?
Like a formula block that can continously do adding instead of just once?
Thanks
-
Yes but exactly what you need will depend, custom code block with v2 + v1 +v3;for example will add them all
-
How would I code this for example Variable 1 name(s)= V1, V2, V3. Answer to go into V4
Custom MQL5 code block:
V1+V2+V3=V4:
-
V4 = V1 + V2 + V3; If you put the variables into a comment block, then you can see the result on screen.
-
thank you so much
-
@sssddd Your welcome