How to code a streak of the same indicator?
-
What blocks would you use in MQL5 to get this function [RSI(Close,3) + RSI(Streak,2) + ROC(100)] 3
-
With blocks - Condition and Formula blocks. Or Conditions and Variables. This can be also written as source code if you create custom block. Something like this...
calculations, calculations, calculations... if (certain condition) {~next~} else {~inext~}Here ~next~ and ~inext~ keywords are filled with data in the project, depending on what blocks are to be executed next (inext is for the yellow output).