SQ 4.127 beta, subchart 1 is missing

Hi,
I am generating multitimeframe strategy with two additonal Chart.

Main chart = Current Symbol / Current TF;
Subchart1 = Same as main chart / D1;
Subchart2 = Same as main chart / Weekly; I use a config that every chart should have at least one Building Block for every subchart. But I found strategies which missing Subcharts. In this example Subchart1 is missing. I attacheched Strategie and Generation Setting. (Possible that only the Keyword subchart1 is missing in the pseudocode ?) ........... For example:
//--------------------------------------------------------------------
// Trading rule: Trading signals (On Bar Open)
//--------------------------------------------------------------------                   
LongEntrySignal = ((((ATR(Main chart,ATRFallingPeriod)[1] is falling)
   and IsDowntrend(Price below SMA200))
   and CustomBlock:CCIRising3bars())
   and (ATR(Subchart2, Weekly,ATRFallingPeriod2)[1] is falling));


Attachments
Build settings.cfx
(26.08 KiB)
subchart1 is missing.png
(12.71 KiB)
Strategy 43134.sqx
(43.37 KiB)
strategy with 3 subcharts in the definition.png
(7.74 KiB)
at least one buildingblock per chart.png
(17.27 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

t
#1

tnickel

23.04.2020 11:59

Task created

MF
#2

Mark Fric

23.04.2020 14:31

Status changed from New to Fixed

it works, it just isn't shown on pseudo code. Custom block in your strategy example is on Subchart 1.


I added chart indication to all pseudo blocks

h
#3

hankeys

23.04.2020 20:37
and "is downtrend" is not a custom block, but what chart is used is missing too

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