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 3.85 MB (775 documents, 11907 words), completed in 0.0 seconds and yielded 2 results.
[...] !p.Active && p.EntryBar 0 )
{
int firstBarToday = bar - Bars.IntradayBarNumber(bar);
int lastBarYesterday = firstBarToday - 1;
bool priceFilter = (Close firstBarToday >= 20) && (Close firstBarToday firstBarToday lastBarYesterday );
if( priceFilter && gap && Bars.IntradayBarNumber(bar) > 0 )
{
if( BuyAtStop(bar + 1, Low firstBarToday + buyStp.Value ) != null )
LastPosition.AutoProfitLevel [...]
[...] Bars.IntradayBarNumber(bar); //So it follows that the previous bar is the last bar of the prior day.
int lastBarYesterday = firstBarToday - 1; //So, yesterday's close is:
Close lastBarYesterday [...]