Hi,
Quote:
BUG:
Default instrument must be manually changed in the Visual JForex blocks and the strategy built again for each pair,. If using global variable set to true for default instrument and choosing a different pair other than the default in the Visual JForex blocks, the strategy will produce random entries all over the place. Is this a bug? Using the default currency works fine.
This is a normal behavior, VJF is designed to trade on a given default instrument by this is not stopping to trade on more than one instrument.
When using more than a single instrument, the best practice is to avoid the use of "Default instrument" and call "Get historical candle with the needed instrument pair (frequently used with shift 1 to get full completed OHLC data)
Quote:
SUPER SLOW HISTORICAL TESTER
Do I need to use "tick" method of testing for accurate entries/exits and spreads? My strategy can enter/exit during a candle. It is painfully slow testing with ticks, is that normal? Maybe it is because when I first run a test for the last year the data has to first be downloaded? I maxed up the Java Heatmap and even after running a non-visual/non-optimized back-test for a year to collect the data, it is still extremely slow. I have a high spec PC setup. Maybe there is some unnecessary calls in my code? Please take a look

Super slow: true

this is because you're using many indicator blocks with the same inputs which is quite demanding in terms of resources. The update frequency itself is too high: every 10 sec the indicator should retrieve its output data (on 5mn period basis) and this 4 times in parallel. THis will slow down the flash interface (VJF) and requires more resources from the browser, the flash plugin etc ...
I've started some modifications on your file to optimize the way the strategy is built but I did not test it as I don't have a detailed description of the specifications. Please have a look and let me know in case you did not understand a certain logic / trigger / block
Cheers