How to code MACD crossover?

Sksoon
32
Sksoon  
How to code for the first MACD (Green) crossover only (if MACD second time crossover then it is consider as not valid signal)?
Files:
Vladimir Karputov
Moderator
234292
Vladimir Karputov  
Sksoon :
How to code for the first MACD (Green) crossover only (if MACD second time crossover then it is consider as not valid signal)?

It is necessary to find the moment of the first upward crossing (the birth of 'Zone UP'). Then find intersections ('Signal').


Sksoon
32
Sksoon  
Vladimir Karputov:

It is necessary to find the moment of the first upward crossing (the birth of 'Zone UP'). Then find intersections ('Signal').


I'm very appreciate your answer. But how to exectly use mql4 to code this signal? What is the code look like?

Vladimir Karputov
Moderator
234292
Vladimir Karputov  
Sksoon :

I'm very appreciate your answer. But how to exectly use mql4 to code this signal? What is the code look like?

Why are you asking about the old terminal? You are on the MQL5 forum and you posted your question in the main thread. If you are using the old terminal - you should post your questions in a special thread - MQL4 and MetaTrader 4 . I will postpone your topic.

William Roeder
24276
William Roeder  
  1. Post in the correct place
  2. Don't double post! You already had this thread open.
              General rules and best pratices of the Forum. - General - MQL5 programming forum 2017.07.19

Keith Watford
Moderator
28194
Keith Watford  
Sksoon:

I have deleted your duplicate topic.