close after 3 candle

 

Hi


For example, for a buy position at the entry point, I want  idea to check that if the next 3 candlesticks are descending, the position will be closed.

Also for the sell position, if 3 candlesticks are not descending after the entry point, close the position

how can i write this code

 
bakuryu89:

Hi

For example, for a buy position at the entry point, I want to check that if the next 3 candlesticks are descending, the position will be closed.

Also for the sell position, if 3 candlesticks are not descending after the entry point, close the position

how can i write this code

You can write it using MQL4 language.

 
yes i know dear adnan i want idea for write this code
 
bakuryu89: yes i know dear adnan i want idea for write this code

Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
          No free help 2017.04.21

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum 2018.05.12

Reason: