Please help to open order on current timeframe and close order on another timeframe

 
Hi, as the title. Can anyone help me? Ex: I have order on H4 and i want to close it (use OrderClose()) on H1. Im thinking but have no idea to code. Please help.
 
tvh168:
Hi, as the title. Can anyone help me? Ex: I have order on H4 and i want to close it (use OrderClose()) on H1. Im thinking but have no idea to code. Please help.
Orders are not timeframe related . . . find the Order, OrderClose() it, job done.
 
RaptorUK:
Orders are not timeframe related . . . find the Order, OrderClose() it, job done.


Can you explain more? Thank you.
 
What part of "find the Order" is unclear? What part of "close it" is unclear? You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
 
tvh168:

Can you explain more? Thank you.
Can you explain exactly what you need more help with ?
 
As i said. Ex I put the order on H4 and it will auto close on H1 when if = true
 
i know how to do it. Thank you