SQ 4.128 bug in building blocks, cci rising falling for 3 bars

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




Attachments
cci rising for 3 bars.png
(32.35 KiB)
stop limit entryblocks2.png
(11.83 KiB)
Build strategies.cfx
(26.64 KiB)
signals predefined conditions.png
(19.56 KiB)
buildingblocks.png
(83.24 KiB)
Strategy 1092.sqx
(124.19 KiB)
strategy logik has cci but not selected in buildingblocks.png
(21.22 KiB)
stop limit entryblocks1.png
(17.88 KiB)
indicators.png
(20.06 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

t
#1

tnickel

11.05.2020 22:01

Task created

TB
#2

Tomas Brynda

20.05.2020 07:28

Status changed from New to Fixed

Hi 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


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please