PureBytes Links
Trading Reference Links
|
Hi,
this morning I asked about the way to buy/sell the open of the first bar of
the trading session...
if
If Date > date[1] Then begin
....
I can buy/sell only the open of the second bar of the trading session
Stephane suggested to me
If (time=Sess1Endtime) then
there is a problem...
I think Sess1Endtime take the end time from Globalserver; the problem is:
the market I follow recently change his end time (from 1730 to 1740); so in
Global server now it's 1740; historical data to test ends at 1730; so
If (time=Sess1Endtime) then
doesn't work..
How can I keep anyway the last trading session bar?
thanks for any suggestion
Mario
|