help to make mq4 code

 

dear all,


i have problem for make EA... please tell me...

- how to make EA code for 1x open in 1 day (in 1 day just 1x open position)

- how to make EA code for 1x open in 1 crosing signal (ex. if close > envelope is (buy) ater that signal is silent into sell signal (close <envelope))


for all master please tell me how to make this code

thanks