Blocks 15 and 8 reinitiate your ob variable every time blocks 2 and 5 are true. However, I can't see that indicator on your screenshot, so I'm not sure that is what you are looking for. Do you need that indicator conditioning your variable?
@roar finally https://fxdreema.com/shared/DjiYkYSNb
its working i had to change the approach a little bit
and roar thank you very much for staying till the end.
wouldnt have been possible without your help
@zackry is right im having the same problem right now and im also connecting (for each trade to condition) when i disconnect them i don't get the error this is a bug