source code for open one trade position a day

 

hi fellow trader,

need help for some source code here

l build an EA, I wish it will open one trade position a day

the problem is the EA cannot open another position on next day if the previous opened trade not cleared yet

i wish this will always open a new trade position once a day regardless the prwvious position

Files: