Hallo,
I generated the indicator cci rising /falling for 3 bars for the Webpage example.
I activated very few Building blocks.
Activated Buildingblocks:
CCI-Rising/falling 3 bars
ema
<
>
ema
atr
But I found the following strategie in last generations
//--------------------------------------------------------------------
// Trading rule: Trading signals (On Bar Open)
//--------------------------------------------------------------------
LongEntrySignal = (EMA(Main chart,14, PRICE_MEDIAN)[3] < EMA(Main chart,50, PRICE_WEIGHTED)[2]);
ShortEntrySignal = (EMA(Main chart,14, PRICE_MEDIAN)[3] > EMA(Main chart,50, PRICE_WEIGHTED)[2]);
LongExitSignal = CustomBlock:CCIRising3Bars(106){((CCI(Main chart,106, PRICE_CLOSE)[3] < CCI(Main chart,106, PRICE_CLOSE)[2])
and (CCI(Main chart,106, PRICE_CLOSE)[2] < CCI(Main chart,106, PRICE_CLOSE)[1]))};
ShortExitSignal = CustomBlock:CCIFalling3Bars(106){((CCI(Main chart,106, PRICE_CLOSE)[3] > CCI(Main chart,106, PRICE_CLOSE)[2])
and (CCI(Main chart,106, PRICE_CLOSE)[2] > CCI(Main chart,106, PRICE_CLOSE)[1]))};
------------------
In the settings I don´t activate the cci - indicator (see attachments)
=> this is a bug.
Or is this a feature for the genetic generation ?
thomas
the CCI used in strategy logic comes from your custom block CCIRising3Bars/CCIFalling3Bars.
In the pseudocode, the custom blocks are presented this way CustomBlock:[name(params)]{ [inner content] }
Best regards,
Tomas