Bollinger Bands Macd trigger
-
Hi guys,
is there a way to make a condition when trigger was hit earlier but is still valid?
I know there is something like candle count, but this could give false signals if market continues to pull back more to the upper or lower bands which would invalidate the setup.My setup in this example would be the "touch"/ cross of the upper or lower bollinger band as the first soft trigger but then afterwards the actual trigger the crossover of the Macd Line. Often market first touches the bands or even better goes outside and back in and then by macd crossover with second trigger market goes in preferred direction.


-
Use flags, if cross has happened, set flag, when next happens check flag and place trade.
-
Thank you.
Do you mean something like this?
Currently using 3 conditions.
-
Price needs to be above/below 200 SMA always
-
Would be the Trigger of Bollinger bands, if Price is at or outside the bands.
-
If BB was touched it should wait for MACD Crossover to enter.
-
-
Once per bar should go under your conditions, just means it will work when condition is true, rather than waiting for a new bar, looks like it will work though, let me know if not.
-
Hi, thank you very much for your help so for.
so you mean a once per bar for buy and sell conditions each just right before the actual buy/sell market block? -
Yes so only works after condition is true, there is times when to use before a condition, but not normally.