Forum

conditional sum based on time,HELP

hi, i am writing a custom indicator , i need it to sum the closing price based on specific time for x times for example, sum all the closing price happened at 1100 pm only for last 10 days on a hourly chart(because it may miscalculate on other time frame) assume today is jan 30, the indicator will

EA execute order from microsoft excel

i am new to the programming code,i need a EA that can read the file generated from excel and executed order based on the file. i had read "file function" https://docs.mql4.com/files/FileOpen , so i believe it is possible that EA can read csv.file, which is a file tha excel can convert,then execute

how to delete pending instead of time expiration?(request program)

how to delete pending order with condition "when next bar period begin"??? for example, delete pending order in 0001 minit when 0002 minit,or delete order in 0012 hour when 0013 hour/delete pending order in 1st bar period when 2rd bar period begin