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

EL Keyword for Initial Capital?



PureBytes Links

Trading Reference Links

Does anyone know of a keyword or function in EL that returns the value
entered in the Initial Capital field on the strategies properties dialog?

I think it must be available somehow, since it appears on the RINA report.

- Ken

-----Original Message-----
From: Max Pierson [mailto:maxpi_44@xxxxxxxxx]
Sent: Monday, January 12, 2004 12:47 PM
To: omega-list@xxxxxxxxxx
Cc: samwest@xxxxxxxxxxxxxx
Subject: Re: date>date[1]


I had better results using time <time[1] to
detect a day rollover, never was dealing with
Data2 though.

Max

=================================================

This is similar to a problem I posted a couple of

months ago.  if
date>date[1] is used with a multidata chart
running real-time, I was getting
very inconsistent results.  If an indicator has
Update Each Tick turned off
and the data is Daysession only data, the
following code should run only
once per day but it occasionally runs twice.  I
think it has something to do
with if the first tick of the second bar comes
from data2 instead of data1.
I gave up on it and instead use the end of the
previous day for once a day
setups.

if date>date[1] then begin
   print(date,time);
end;

//::sam


=====
"The race may not always go to the swift nor the battle to the strong, but
it is the way to bet"