Камментарий.......

 
Камментарий.......
доброго дня.......
у меня заминка с експертом......
иногда коментарий выводиться и обрабатыватеся очень быстро почти каждые 10 секунды......иногда его можно ждать час.....всем его заминка...


/*[[
Name := Прогноз
Author := Copyright © 2002, Company
Link := http://www.company.com/
Lots := 1.00
Stop Loss := 0
Take Profit := 0
Trailing Stop := 0
]]*/
Variable: CurrentBar(1), buy1(0), buy2(0), buy3(0), sell1(0), sell2(0), sell3(0), one(0), two(0), tree(0);


sell1=(h[CurrentBar]+2*l[CurrentBar]+c[CurrentBar])/2-l[CurrentBar];
sell2=(2*h[CurrentBar]+l[CurrentBar]+c[CurrentBar])/2-l[CurrentBar];
sell3=(h[CurrentBar]+l[CurrentBar]+2*c[CurrentBar])/2-l[CurrentBar];
buy1=(h[CurrentBar]+2*l[CurrentBar]+c[CurrentBar])/2-h[CurrentBar];
buy2=(2*h[CurrentBar]+l[CurrentBar]+c[CurrentBar])/2-h[CurrentBar];
buy3=(h[CurrentBar]+l[CurrentBar]+2*c[CurrentBar])/2-h[CurrentBar];

if c[CurrentBar]<o[CurrentBar] then
one=o[CurrentBar];

if c[CurrentBar]>o[CurrentBar] then
two=c[CurrentBar];

//if c=o then
//tree=c+o;
Comment(" sell1: ",sell1," sell2: ",sell2," sell3: ",sell3," buy1: ",buy1," buy2: ",buy2," buy3: ",buy3," 1 - ",one," 2 - ",two);


спасибо
Причина обращения: