Tradingview API

When I call the TradetronAPI from the Tradingview
the getruntime function would return the value for the key

Would this value be set to 0 or NULL after getting the incoming API call from tradiingview?

OR do I have to reset the Getruntime?
For example from tradingview, I send Buy111=1
after tradetron receives this as getruntime var,
does the tradetron script needs to reset it 0 ?

thank you all

in entry along side your 1 value , check for position is 0, then enter. then if there is no use of that variable in further condition then I think no need to reset it.

You don’t need to reset getruntime manually. When you check for a position with value 1 alongside the entry, it should work fine as long as the variable is not used further in conditions. The system handles it without needing to reset to 0.
This contribution provides clarity based on the existing discussion and offers practical advice.

I hope you find it helpful.