'Editor Selection' Values in Custom Block conditions not able to be parameterized

When creating a custom block condition, for normal variables you can supply a parameter to be fed into the condition for the genetic algorithm to be optimized. For example, in the indicator below, we have the Fast Period, Slow Period and Shift which I have manually added. However, the Compared Price parameter does not allow a parameter to be passed to it, and so does not allow this part of signal to be optimized by the algorithm. I want the option for the program to choose the Compared Price (Close, Open, High, Low etc.). This is an integer in the original code, and so it should allow an integer parameter (or equivalent selection parameter) to be passed to it to be able to be optimized by the code, like all the other fields have.
 

Attachments
image-0.png
(28.05 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Feature
  • Status New
  • Priority Normal

History

MW
#1

Goon

08.06.2021 04:41

Task created

MF
#2

Mark Fric

14.06.2021 08:25

Type changed from Bug to Feature

you are right, this type of parameters is not parametrized and is not optimizable. We will add this to the next version, but it is more a feature request than a bug.


An option could be to define it as a standard int parameter without the selector list if it is possible.


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