I need to recognize if the symbol belongs to fx, CFD or Futures.
Should I used this?
Is profit calc mode the correct way to figure it out?
Please note that I want to do it programmatically.
Any help would be appreciated.
Let me explain more about my question.
in the document I see this:
Profit calculation mode. 0 - Forex; 1 - CFD; 2 - Futures
And it seems to me that it gives me what I can see in the specification window of MT4 under the same title.
But when I checked another broker's MT4 where the futures are provided too, I realized that for the futures the Profit Calculation mode is CFD in the specification window. (For all the symbols that I have checked, maybe not correct for everything).
I also have found :
Path in the symbol tree
But in some cases the path name does not contain any of the words FX/Forex, CFD or futures.
My question is what is the trustable way of recognizing if it is FX, CFD or Futures.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.