How to open a trade every 20 points

Hallo, I’m new in mql4 and I need help in programming (ea) that can open a trade every 20 points which have the same type of the order that make profit , I mean if it goes down 20 points it will open a sell trade and if it goes up 20 points it will open a buy trade and thanks for any body read this post :blush::rose:

Not sure if people will code the entire thing for you here. You can give it a go yourself and ask code review maybe :+1: