Shift of Custom blocks

1,  In building blocks, the minimum indicators shifts of custom blocks is 2. 



2. I set the shift of some indicator's value in custom blocks as a constant. But it can be tested in the global shift range.


Please check HighestIndex / LowestIndex in the example.  ( SwingInLong, SwingInShort)


I don't think every indicator needs to be lookback, Shift should be an optional component.



3. Can't set the period range in the custom block. And the parameters type will change when it's exported to another SQ.

Attachments
Strategy 060006.sqx
(28.37 KiB)
cb.png
(37.84 KiB)
Strategy 087347.sqx
(26.93 KiB)
cbinbuild.png
(130.43 KiB)
Build setting.cfx
(27.31 KiB)
customBlocksExport.xml
(18.95 KiB)
Strategy 091841.sqx
(27.54 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

e
#1

eastpeace

12.05.2020 14:00

Task created

MF
#2

Mark Fric

27.05.2020 11:08

Status changed from New to Fixed

2. it was probably fixed in the meantime. When I use your config and your custom blocks then HighestIndex/LowestIndex indicators in custom blocks have fixed value 0 as specified.


3. yes, you cannot. Period is a special parameter that inherits its settings from Builder config.

If you want to use custom ranges you can do it in Building block config for that block.


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