Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
At a guess that int value is actually an enum value 0-the number of inputs you have in the indicator, if you create an enum in your EA you can use this to select a value.
S
int func() if (StringFind(Symbol())="USD") return(1) else return(2)
A
@Ali332133 thank you.
@jstap How can I work with this block? Can you show me how to get the volume with a photo?
@Ali332133 This is the third thread you created for the exact same question. Please don't duplicate threads.
There is a function called PipValue hidden in the background, you can test what it gives.
image.png image.png
You will need custom code for that, I'm afraid.