How to code this, please help!

 

How to find past signal buffer indicator ? IN my EA i need to find past signal buffer wich is made in revers,example :

-a past signal buy was with price 116.60 in USDJPY but the price goes down to 116.25 after  a few hours  , so i need to find this distance , to put a buy pending order to 116.25 with TP to 116.60.How can i do that? The road  to down of the price it can be finished buy a sell signal or by the end of bars and the new bar forming can

start with another buy signal!

Thank you in advance!

 

Please see freelance:

https://www.mql5.com/en/job

Freelance service at MQL5.com
Freelance service at MQL5.com
  • www.mql5.com
Orders for the development of automated trading programs
Reason: