How can i get the directional bias from this indicator in code

 

Hi Please assist


Trying to code an indicator, i would like to use the below indicator as directional bias , how can i get the bias from this indicator on the given TF

 

File Attached

<ex4 file deleted>

 
Renaldo Benjamin:
File Attached

if you share its open source code we may an idea how!

Reason: