Search Engine
Here you can search through the pages of this Namespace, their attachments and the files uploaded to the system.
Note: the results will only display the items you have permissions to read.
This search, performed through 4.04 MB (775 documents, 11955 words), completed in 0.0 seconds and yielded 3 results.
[...] .Count; bar++)
{
#region Variables
int dailyBar = ( int )GetDailyBar[bar];
int firstBarToday = bar - Bars .IntradayBarNumber(bar);
double openToday = Open [firstBarToday];
bool lastBarToday = Bars .IsLastBarOfDay( bar );
if ( ( bar == 1 || lastBarToday ) )
canTrade = true ;
if ( lastBarToday )
enterTrades = false ;
#endregion
#region Determine Camarilla Point levels
if ( firstBarToday > -1 )
{
if ( Bars .IntradayBarNumber(bar) [...]
[...] p.EntryBar < (bar - Bars .IntradayBarNumber(bar)))
{
if ( cnt > 0 )
{
int firstBarToday = bar - Bars .IntradayBarNumber(bar);
int lastBarYesterday = firstBarToday - 1;
bool priceFilter = ( Close [firstBarToday] >= 20) && ( Close [firstBarToday] <= 70);
bool gap = ( Open [firstBarToday] [...]
[...]
Here's a shortcut to find the first bar of the current day from within a Bars.Count loop - int firstBarToday = bar - Bars .IntradayBarNumber(bar); // So the Opening price of the session is then:
double openToday = Open [firstBarToday]; You can also identify yesterday's close price just the same: int firstBarToday = bar - Bars .IntradayBarNumber(bar); //So it [...]