hello all, hope someone can help me out. i'm a newb with easylanguage and need to code the following. given a set of criteria's, how can i code in easylanguage to start buying shares at a certain time? e.g., to start buying hour after the open? i want to input time so that i can test different minutes...i.e.,15 minutes, 30 minutes, 2 hours, etc. after open. does anyone know? thanks in advance.
There are many ways of coding certain criterias in EL. input:mytime(1000), my1stime(1030), my2ndtime(1100); condition1= ..........;{your condition} condition2= ..........;{your condition} if condition1 and condition2 and time=mytime then buy 100 shares at the market. or better way is if condition1 and condition2 and (time > my1stime and time < my2ndtime) then buy 100 shares at the market. your input based on 5min, 10min, 30min,... increament.