is it possible to make the averages to choose from - MA, EMA, WMA. and also there would be a shift of the average. and in addition closing on profit on another indicator?
При создании автоматических торговых систем возникает необходимость написания алгоритмов анализа рыночной ситуации и генерации торговых сигналов, алгоритмов сопровождения открытых позиций, систем управления капиталом и контроля риска торговли. После того как код модулей написан самой сложной задачей является компоновка всех частей и отладка...
Hello.
is it possible to make the averages to choose from - MA, EMA, WMA. and also there would be a shift of the average. and in addition closing on profit on another indicator?
And how to implement with the help of the specified class 'SignalITF.mgh' trading periods, for example, from 8-00 to 16-00 or others.
input int Inp_Signal_TwoEMAwithITF_GoodHourOfDay =-1;
input int Inp_Signal_TwoEMAwithITF_BadHoursOfDay =16777152 =111111111111111100000000111111111111111111b;
or
input int Inp_Signal_TwoEMAwithITF_GoodHourOfDay =-1;
input int Inp_Signal_TwoEMAwithITF_BadHoursOfDay =16777152 =111111110000000011111111;
or
input int Inp_Signal_TwoEMAwithITF_GoodHourOfDay =-1;
input int Inp_Signal_TwoEMAwithITF_BadHoursOfDay =1111111111111100000000111111111111111111b;
where to put =16777152 =111111111111000000000000111111111111111111b;!!!!!!!!!
Moderator's note
This is an English language forum.
Please only post in English.
Use the site's translation tool if necessary.
Your post has been deleted
I placed the Signal2EMA-ITF.mqh file with CSignal2EMA_ITF class must be placed to terminal_data_folder\MQL5\Include\Expert\Signal folder.
But this signal does not appear in the list of signals in the wizard. What is the problem?
Placed the Signal2EMA-ITF.mqh file with CSignal2EMA_ITF class must be placed to terminal_data_folder\MQL5\Include\Expert\Signal folder.
But this signal does not appear in the list of signals in the wizard. What is the problem?
I renamed the file'signal2ema-itf.mqh' and placed it in the 'Expert' folder: 'Expert\Signal\Signal2EMA-ITF.mqh'.
I reloaded MetaEditor. After that (if you try to generate an Expert Advisor using the MQL5 Wizard), this signal is displayed in the list of signals:
That is, the signal is DISPLAYED in the terminal. There are no problems.
The only warning when compiling the Expert Advisor '\Experts\expert_2ema_itf.mq5' from the article
is fixed if you rename all 'm_expiration' (ctrl+H) in the 'Signal2EMA-ITF.mqh' signals module to 'm_m_expiration'.