Please help me to solve my problem - page 2

 
1350 wrote >>

Dear Ronaldosim,

Thanks for your prompt answers. when current time reaches to 00,08 & 16 in each day this expert should look backward to last 24 hours which devided to three 8 hours zone, then find the max volumeMA in each range & store the price of the candle which have max Volume MA in each range, then compare this three prices with current candles price & put an order with target to nearest price, if current candles open price was under nearest price it puts a buy order & vice versa.

Regards.

i have added arrayresize in yr first program. it is firing orders but I do not know if it is correct; let me know

Files:
 
ronaldosim wrote >>

i have added arrayresize in yr first program. it is firing orders but I do not know if it is correct; let me know

yr EA needs refinement, notice u input yesterday's time and today's time

 
ronaldosim:

yr EA needs refinement, notice u input yesterday's time and today's time

thanks a lot,i believe to what you said, but how can i refine it, i tested your optimized version, it doesnt put any order in time 0 & also dosent put any buy order, why?

 
1350:

thanks a lot,i believe to what you said, but how can i refine it, i tested your optimized version, it doesnt put any order in time 0 & also dosent put any buy order, why?

are You there?

 
i'm awaiting yet
 
1350 wrote >>

thanks a lot,i believe to what you said, but how can i refine it, i tested your optimized version, it doesnt put any order in time 0 & also dosent put any buy order, why?

you are right, there are no buy orders; puzzling, let me chk it further

 
ronaldosim:

you are right, there are no buy orders; puzzling, let me chk it further

thanks a lot

 
1350 wrote >>

thanks a lot

extern string t1 ="2009,03,9 00:00";

the format for datetime string is"2009.03.9 00:00" using fullstops, not commas