Goal 1: Have a variety of bullish conditions that would be true and then they would stay true until the moving average crossed the other direction. Essentially, I would then want to enter a trade in that same direction as the original signal. Let's say I have fast length ma cross above slow length; I would not want to enter here. I would want to wait for the price or the fast length moving average to get very close to the slow length but not close below it. I would want to hope for a touch and bounce during the candle and close away from the slow length moving average. Then I would enter here and could close with any basic settings I already have in my system.
Goal 2: For simplicity purposes I will use this logic. If I am ignoring the first cross of a bullish ma cross but hoping for a second bullish ma cross before the macd crosses below zero or is leading the macd average (so diff is still positive). I would then enter long. I essentially am hoping for a failed cross but betting on the next one to be better if the macd didn't cross below. If the macd did happen to cross below it would reset the logic and then look to do the same for a short trade. Not sure how difficult this could be for actual coding purposes.
Any ideas or resources of how to achieve this would be appreciated.
Comment