[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ELA Language - Delayed Entry



PureBytes Links

Trading Reference Links


Hello Everyone.

I was wondering if someone could help me out.  It seems as if my entry's
are delayed a bit and I can't seem to figure out why.

Anyone care to take a stab at it.





Inputs:EntryL(1), EntryS(1), EntryL2(1), EntryS2(1);
vars: BuySig(False), SellSig(false), BuySig2(false), SellSig2(false);

vars: Start(0), End1(0);
Start=Sess2EndTime;
End1=Sess2StartTime;

Buysig = Lower[EntryL] < AvgOne[EntryL] and Lower > AvgOne ;
SellSig = Upper[EntryS] > AvgOne[EntryS] and Upper < AvgOne;

BuySig2 = Lower[EntryL2] < DispAvg[EntryL2] and Lower > DispAvg;

SellSig2 = Upper[EntryS2] > DispAvg[EntryS2] and Upper < DispAvg;


IF CURRENTBAR>1 THEN BEGIN
IF time>Start and time<end1 then begin 
IF BuySig then buy("Signal 1L") 1 contract at market;
IF BuySig2 then buy("Signal 2L") 1 contract at market;

IF SellSig then sell("Signal 1S") 1 contract at market;
IF SellSig2 then sell("Signal 2S") 1 contract at market;

end;
end;
end;



(Oops - inserted my thank you's too soon in first message!!)

Thank you in advance

Denise

Denise Beebe Throntveit
President
FOREMOST FUTURES. LTD.
223 West Jackson  Suite 600
Chicago, IL  60606
800-227-0335
EMail: foremost@xxxxxxxxxxxx