Dukascopy Support Board

Malfunction of strategy modularization?
Page 1 of 1

Author:  FranklinXiao [ Wed 23 Jan, 2019, 13:21 ]
Post subject:  Malfunction of strategy modularization?

Hello support team,

I tried multiple timeframe indicators to generate the trading singal and the logic blocks were too much to organize in one screen even using"creat group" , then I checked the VJF guide and severals topics in forum in which they mentioned a strategy can be used to only generate signal in to another strategy. I tried as the introduction, 1) build a strategy "RSI moving average lines crosses", 2)select compliler and click "build", 3) drag the "RSI moving average lines crosses" from "my strategies" to the new strategy page, but it failed and can not be “open up” like the "SMAcross sample" from "trend" fold.
Please check the attached png and suggest, thanks. The strategy I did was very simple and similar to the sample so I didn't embed it here.


modulegeneratesignal.png [281.81 KiB]
Downloaded 151 times

Author:  vadim_berezhnoj [ Tue 05 Feb, 2019, 17:04 ]
Post subject:  Re: Malfunction of strategy modularization?


https://www.dukascopy.com/vfhelper/down ... _locale=EN

5.2. Strategy

It is mandatory to connect the strategy used as a block to the three start points (On Candle, On Tick and
Trade Event) in order for it to work properly.
The output variable is a “Signal” type (section 6.2.2) which is an array of data that saves the information
related to these signals. Such variable is “embedded” and the data breakdown is obtained with the help of
“Loop Viewer” block. To do so, connect a loop viewer block and use the ‘signals’ output newly created as
first input. Create a new output in the loop Viewer block to breakdown and save your Signals (Loop cycle
detailed in section 7.6).
When running a strategy in such way the user can either select the “Independent” mode or the “Generate
signals” mode; the first mode is similar to running the strategy when opened normally (full blocks) and the
second mode generate only trading signals without effective trading command. Signals are a backend
notification of a trading command used by the strategy; the user can then use signals as a trigger for further

Author:  FranklinXiao [ Sat 09 Feb, 2019, 07:37 ]
Post subject:  Re: Malfunction of strategy modularization?

The point is that strategies I built in the "my strategies" folder can not be launched when I dragged it and dropped into the workspace. "Can not be Launched" means that signal block didn't extend any options to me, such as instrument, amount, period, output, etc.
It's like a dead block. I have tried many times to rebuild and even copied the smacrossexample.vjf then rebuilt it with different name, but the block was still dead.
I found an old picture in forums, please have a look. The strategies in that author's folder can be launched well in workspace to generate signal.

GenerateSignals (2).PNG [516.76 KiB]
Downloaded 126 times

  Page 1 of 1