1. problem - for highest/lowest indicator i cant set the variable - i can choose only hardset period
2. even if i set the period (5) and the custom block looks OK, the building will not start and this error occurs
16:17:42 GRID: Stopping build, job failures (exceptions) exceeded 70%!
16:17:42 Strategy 1.0.3
- Exception in backtest: Instrument info for symbol '0 doens't exist - in 0.14 s.
16:17:42 Strategy 1.0.1
- Exception in backtest: Instrument info for symbol '0 doens't exist - in 0.15 s.
16:17:42 Strategy 1.0.2
- Exception in backtest: Instrument info for symbol '0 doens't exist - in 0.14 s.
but there is an issus - period parameter doesnt have the MIN MAX and STEP - so period is only constant number
but if i want to have building block for example BUY MOMENTUM i need to have for opposite for example SELL MOMENTUM - so for long i will be using buy momentem, for the sell - the opposite sell momentum, so far so good
but SELL MOMENTUM is on another row so i need to set also opposite for this row - buy momentum - and SQX will be trying to make also buy as sell momentum and sell for buy momentum
Attachment chart.jpg added
because parameter "chart" can have only one value and it cant be parametrised
Status changed from New to Waiting for information
Best regards,
Tomas
and about the closedaily, its obvious that i want to use only CLOSE where chart will be set as param - daily, weekly, monthly
Status changed from Waiting for information to In progress
Attachment screen.png added
The only way is to create individual blocks for each type. You can duplicate the blocks through right click menu and change the chart type in the Close block itself - see the attached screenshot.
I will further test the convert to pips function, thank you
the best solution is that the "chart" could be parametrised, so i can choose that OHLC will be computed from daily, or weekly or monthly bars
and let the genetics to his job and try to find the strategies only with 30 blocks
why do we have in custom blocks parameter "chart" which doesnt have any parameters, only constant value, and default value set to 0?
why i cant choose some random values like in templates for example like 5:10:1, it could be the same daily,weekly,monthly
convert to pips - if i remove the convert to pips and set instead for example HIGHEST(5) - LOWEST(5) < 0.00200 it works - but by this way its 20 pips only for 5 decimal prices, not for JPY
Status changed from In progress to Fixed
- adding blocks where Daily,Weekly,Monthly is parametrized - it is possible, but it is a feature request. I also don't see a big need for that. I understand that you want to use it to generate it but I doubt it is useful for many people.
- setting min,max, step has no effect for any of the parameters, we'll be disabling it. It can be cofigures in Builder -> Building blocks config