[137 Final] SQX Leaves Parameters as Default when can't find Opposite Block instead of Randomizing

See video: https://youtu.be/APcirvMz-rQ

I have attached the Custom Blocks below as an example with Momentum Indicator, but this happens on many other Oscillators, like:
Bulls Power, Bears Power, CCI, DeMarker, DIDI, Disparity Index, DPO, DSS Bressert, Entropy Math, DVO, Laguerre, Momentum, MFI, ROC, RSI, STC, Stochastic, Ulcer, ZScore, etc...

Attachments
customBlocksExport.xml
(14.77 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

CG
#1

Chris G

02.08.2023 16:20

Task created

CG
#2

Chris G

02.08.2023 16:20
Voted for this task.
MF
#3

Mark Fric

03.08.2023 10:09

Status changed from New to Refused

Attachment image-0.png added

image-0.png
(23.31 KiB)
it works correctly, the problem is in your block definition. 

See the screenshot - you probably don't have opposite blocks configured correctly.


Momentum crosses above Lvl is negated to Momentum crosses below IL - but they are quite different blocks, first one has parameters period (int) and level (double), and second one has two periods.

This is why you see default value there - because the second period in the other block doesn't know what to negate from (first block doesn't have second period), so it has default value.


I changed the opposite blocks above Lvl <-> below Lvl, above IH <-> below IL and it works correctly.




Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please