Changing Boolean Variable to FALSE after being TRUE
2 réponses
Lee Court
Il y a 2 semaines #286571
Hi, I have a Signal that saves to the Boolean Variable DonchianHit. This variable (presumably) becomes TRUE when the signal criteria is met. I have another BooleanVariable EMAHit. When both are TRUE My LongEntrySignal becomes TRUE and my trade starts.
All fine and works….However, once started I need to reset the Boolean Variable DonchianHit to FALSE so it is ready to use again. How do I do this? (FYI I have no real coding knowledge.) Thank you.
![](https://h8v7k6i3.rocketcdn.me/wp-content/uploads/2021/07/tomas262_avatar-96x96.jpg)
tomas262
Il y a 2 semaines #286586
Bonjour,
you can do it with the entry order. The signal occurs, a trade is open and the value is set to False upon entry. See the clip attached what I mean
Lee Court
Il y a 2 semaines #286592
Wow! What an amazingly clear video clip of how to do this. Thank you!!
Affichage de 2 réponses de 1 à 2 (sur un total de 2)