Retrieve specification info and put it into a variable.
-
I want to be able to retrieve a value from the symbol specifications of the currently opened chart symbol (specifically the maximal volume value) and then just put it into a variable listed under "Variables" so I can then use it elsewhere for other purposes.
-
What do you exactly mean by 'maximal volume'?
-
In the MT5 terminal there is a value that is set by brokers called the maximal volume. There is a minimal volume value also. Apparently there is a function called "SymbolInfoDouble" that allows the retrieval of symbol information from the specifications tab. You can use it like this apparently (according to AI): double max_volume = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MAX);
But in fxdreema there isn't any way to retrieve information like "maximal volume" from the specifications tab. This screenshot (if it uploads) shows maximal volume listed under specifications.
/home/j/Pictures/Screenshots/Screenshot From 2026-08-21 06-25-55.png
-
This has solved the problem.

-
Thank you for sharing the solution.
