I am looking for a simple function that will create an automatic Magic Number based on the symbol type.
Does anyone have something like this? I thought this would be easier than allocating a number to each symbol type.
I need this for an EA I am writing which will attach to almost all charts at one time. I need a different magic number for each symbol without having to manually change it on each chart.