Resposta

Changing Boolean Variable to FALSE after being TRUE

2 respostas

Lee Court

Assinante, bbp_participante, 3 respostas.

Perfil da visita

2 semanas atrás #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

Administrador, sq-ultimate, 2 respostas.

Perfil da visita

2 semanas atrás #286586

Hi,

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

Anexos:
Você deve ser logado para ver os arquivos anexos.

0

Lee Court

Assinante, bbp_participante, 3 respostas.

Perfil da visita

2 semanas atrás #286592

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

0

Visualizando 2 respostas - 1 até 2 (de um total de 2)