2 Attachment(s)
AUTO MAGICAL – Vertex FX Indicator Expert Advisor
The AutoMagiCal is a simple client-side script that generates a unique number to identify the particular chart symbol.
When multiple Expert Advisors are running it is necessary to identify the trades generated by each Expert Advisor separately.
This unique number also called the Magic Number is used in comment section of trade to identify it uniquely and distinguish it from trades generated by other robots.
The function computeMagicNumber() can be used in other Expert Advisors and indicators to generate a unique number to identify the current chart symbol.
It is calculated based on the first five characters of the chart symbol. Each character is converted into its unique ASCII code, and a string sequence is generated from this ASCII code.