How to make multiple indicators in the same direction, order or mark with arrows
-
I want to make an ea that cites 10 indicators (and maybe some other number) and marks it as an arrow on the chart when 5 or more of the 10 indicators are in the same direction. Please ask how to make it.
-
Add a shared link to show what you have done so far
-
@jstap I haven't done anything yet, because I can solve the step of establishing 10 indicators and drawing arrows, but I can't think of how to make ea judge that multiple indicators are in the same direction (n of the 10 indicators). This step Stuck my train of thought
-
@forexking123
For each indicator, use a variable to denote the direction, say, 1 for bullish, -1 for bearish, 0 for no direction.Sum up the above variables as your final indicator to enter trades.
-
@sktsec Sum up the above variables as your final indicator to enter trades.
How to change the way ea judges that there are multiple indicators in the same direction, for example, 5 indicators out of 10 in the same direction -
The sum as condition for entering trades