Custom arrow indicator to EA

 
Hellow everyone. I have added the handle of my custom indicator to my EA. As a result, the EA draws arrows in strategy tester.
Problem is, I cant figure out a way of using the arrows drawn as buy and sell signals. Please, I need some help. 
 
Nelson Wanyama:
Hellow everyone. I have added the handle of my custom indicator to my EA. As a result, the EA draws arrows in strategy tester.
Problem is, I cant figure out a way of using the arrows drawn as buy and sell signals. Please, I need some help. 

Why are you having a problem?

If the EA draws arrows, then you know that is when it should open the trades.

 
Keith Watford:

Why are you having a problem?

If the EA draws arrows, then you know that is when it should open the trades.

That I know, but How do I code that in the ontick?

 
Nelson Wanyama:
Hellow everyone. I have added the handle of my custom indicator to my EA. As a result, the EA draws arrows in strategy tester.
Problem is, I cant figure out a way of using the arrows drawn as buy and sell signals. Please, I need some help. 

shouldnt that be a question of colouring them right/differently?

 
Nelson Wanyama:

That I know, but How do I code that in the ontick?

You code it within the block that draws the arrows.