Your condition is detecting that 3 bars ago the Upper Fractal had a value so you are placing a market order to go long 3 bars after the fractal. I think what you want is to save the value of the fractal into a variable as they are found and then in another set check to see if the price does crossabove (or crossed below) the variable to then place your entry order
How do I save the value of the fractal into a variable as they are found and then in another set check to see if the price does crossabove (or crossed below) the variable to then place your entry order?
Comment