Dukascopy
 
 
Wiki JStore Search Login

Malfunction of strategy modularization?
 Post subject: Malfunction of strategy modularization? Post rating: 0   New post Posted: Wed 23 Jan, 2019, 13:21 
User avatar

User rating: 0
Joined: Tue 15 May, 2018, 01:17
Posts: 8
Location: ChinaChina
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.

Image


Attachments:
modulegeneratesignal.png [281.81 KiB]
Downloaded 89 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Malfunction of strategy modularization? Post rating: 0   New post Posted: Tue 05 Feb, 2019, 17:04 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 933
Location: Ukraine, Kiev
Hello

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
conditions.


 
 Post subject: Re: Malfunction of strategy modularization? Post rating: 0   New post Posted: Sat 09 Feb, 2019, 07:37 
User avatar

User rating: 0
Joined: Tue 15 May, 2018, 01:17
Posts: 8
Location: ChinaChina
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.
Image


Attachments:
GenerateSignals (2).PNG [516.76 KiB]
Downloaded 68 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 

Jump to:  

cron
  © 1998-2011 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com