Please use the ‘Insert PRT Code’ button to make your post more readable. I have tidied up your post for you. 🙂
Your image is not very clear. Crosses over is only true if on the last candle the close was under and on this close the close was above. Your image just shows close > Bn1Pos as we can not see when the actual cross happened.
And what you said is interesting, and exact… The Déclenchement variable is set to 10 000 on the previous candle. I mean, the crossing happened on the previous candle.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue