Hi,
How do I check what timeframe it is in my EA?
I understand that checking the currency symbol goes like this:
if(StringFind(Symbol(), "JPY", 0) != -1)
{
bool CurrencyPairJPY = true;
}
What about checking the timeframe?
How do I check what timeframe it is in my EA?
I understand that checking the currency symbol goes like this:
if(StringFind(Symbol(), "JPY", 0) != -1)
{
bool CurrencyPairJPY = true;
}
What about checking the timeframe?