bit IsCurrencyPair(string Symbol())

To add comments, please log in or register
siljo
165
siljo  

Hi

I need function wich return True if it is Currency Pair?!

examples:

IsCurrencyPair = TRUE  if Symbol() is EURUSD

IsCurrencyPair = FALSE  if Symbol() is GOLD

IsCurrencyPair = FALSE  if Symbol() is JPN225

IsCurrencyPair = FALSE  if Symbol() is XAUUSD

IsCurrencyPair = TRUE  if Symbol() is USDCAD

IsCurrencyPair = TRUE  if Symbol() is AUDJPY

IsCurrencyPair = TRUE  if Symbol() is CADCHF

IsCurrencyPair = FALSE  if Symbol() is Amazon

.....


Thnaks for answer(s)




William Roeder
20105
William Roeder  
siljo: I need function

So write it. You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
          No free help
          urgent help.

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum

To add comments, please log in or register