Antwort

Changing Boolean Variable to FALSE after being TRUE

2 Antworten

Lee Court

Abonnent, bbp_participant, 3 Antworten.

Profil besuchen

vor 2 Wochen #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.

0

tomas262

Administrator, sq-ultimate, 2 Antworten.

Profil besuchen

vor 2 Wochen #286586

Hallo,

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

Anhänge:
Sie müssen sein eingeloggt um angehängte Dateien anzuzeigen.

0

Lee Court

Abonnent, bbp_participant, 3 Antworten.

Profil besuchen

vor 2 Wochen #286592

Wow! What an amazingly clear video clip of how to do this. Thank you!!

0

Ansicht von 2 Antworten - 1 bis 2 (von insgesamt 2)