Candle stick close EA

 

Im looking for an EA that will execute a trade as soon as the candlesticks' price has been closed.

Has such an EA been made available to download?

 
start(){
  static datetime Time0;
  if (Time0 == Time[0]) return; Time0 = Time[0];
  //open a trade
 
WHRoeder:


Thank you

 
WHRoeder:


What process must follow to add this advisor to my MT4 application? The way Im doing it is not working.
 
Copy the two lines between "start()" and "// open" and Paste into your application. Compile.
 

Ok i did it your way and my way and both times it gives me an error message. What can be the problem?

 

Create an EA. Name it. DO NOT DELETE THE AUTOMATICALLY GENERATED CONTENT.

Find the start function that was auto generated. insert what WHR told you into it. Compile.