Basically, script checks the and gets confirmation from moving averages or of the higher time frame.
You will not be in a position all the time because if there is no comfirmation then you need to wait for it. For example after closing BUY position, if no confirmation from MAs or higher time frame SAR then there will not be short position, or vice versa.
if you use it please comment.
If you find this script useful, please consider a donation