Help: new trade only when a new candle

 
Hallo can you help me? My EA opens a trade, the next trade (e.g. I want to increment my position) should only start at the next candle (not by the next tick). Can anyone tell me the code?
[Deleted]  
 
Hallo BarrowBoy, thank you for your help. The EA works now right. Jurdop