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

Re: LastBarOnChart



PureBytes Links

Trading Reference Links


--- JAC wrote: 
> For your listening pleasure;
> 
> 
> if LastBarOnChart then exitlong on close else
> if signal = -1 then begin exitlong on close;
> end;
> 


That sound bite is innocuous enough...  compiles fine on my machine.

You say the PowerEditor is highlighting LastBarOnChart as "not recognized"?  Is the LastBarOnChart function in your function library?  Can you open it up?  Are you sure you're not missing a semi-colon somewhere?  If all of that checks out, would you please post the code immediately above this piece?


The Omega Man


"He raised his hand and over the desolate earth he traced in space the sign of the dollar."