Is there a "built-in" way to use a market event (such as a cross) described in a signal, to change the weight of parallel signals for the following X bars?

 

For example:


We have an EA with a few signals among which RSI and MACD .

When RSI crosses below 30, we want that event to change the weight MACD has on the algorithm for X bars.


Hope its clear.


P.S.


I was about to ask about an event-based, state-full approach to similar problems, if there is a good article Id appreciate.

MACD - Oscillators - MetaTrader 5 Help
MACD - Oscillators - MetaTrader 5 Help
  • www.metatrader5.com
Moving Average Convergence/Divergence (MACD) is a trend-following dynamic indicator. It indicates the correlation between two Moving Averages of a...