Can i call the period in the program? New comment Luciole 2018.09.17 13:44 Hi everyone, Thanks in advance for you help. I have 2 questions 1. I was wondering if I could write something like : if Period_CURRENT = PERIOD_H1 {... } if Period_CURRENT = PERIOD_H2 {... } 2. I have an additional question: the PERIOD_M40 do not exist right? Thanks again, Luciole Types of Execution - Trading Principles - Trade - MetaTrader 5 for iPhone Mailbox - MetaTrader 5 for Android Types of Execution - Trading Principles - Trade - MetaTrader 5 for Android nicholish en 2018.09.17 15:15 #1 if(_Period == PERIOD_H1) { ... } Luciole 2018.09.17 16:50 #2 Thank you so much !! have a great day! :) :) :) Luciole 2018.09.17 16:52 #3 what about the PERIOD_M40, any suggestions? Fernando Carreiro 2018.09.17 18:35 #4 Luciole: what about the PERIOD_M40, any suggestions?There is no M40 Timeframe (Period) in MetaTrader v4! Luciole 2018.09.20 15:39 #5 Thanks for your answer New comment
Hi everyone,
Thanks in advance for you help. I have 2 questions
1. I was wondering if I could write something like :
if Period_CURRENT = PERIOD_H1
{...
}
if Period_CURRENT = PERIOD_H2
{...
}
2. I have an additional question: the PERIOD_M40 do not exist right?
Thanks again,
Luciole