Support Board
Date/Time: Fri, 07 Feb 2025 20:31:57 +0000
Post From: Prevent consecutive directional trades
[2020-06-09 15:48:33] |
ForgivingComputers.com - Posts: 996 |
Not sure what the formula in AC3 is, but if you can make it negative when the price is below the MA, and 0 when equal to the MA, then you will only get one signal per crossover. If the previous bar is still above the MA, you would not get a signal if AC4 > 0: =AND(AC3>0,AC4<=0,$J$8=0)
Of course, there are other ways to do this too, but you want to only get a signal at the crossover. |