It is an unfinished block that allows members to use CP as originally intended. Here is the finished code block (do a search for "//Set BuySignal and SellSignal to true if none") to find where to insert it - around line 1951:
Code: Select all
//Set BuySignal and SellSignal to true if none of the filters are selected so that
//LookForTradingOpportunities() can still trade, then exit the function.
if (!UseHgiTrendFilter)
if (!UseSuperSlope)
if (!UseBobMovingAverage)
if (!UsePeaky)
{
BuySignal = true;
SellSignal = true;
BuyCloseSignal = false;
SellCloseSignal = false;
return;
}//if (!UsePeaky)