Hi,
I have a strategy that builds a dataseries before ploting on the price.
Whilst building the dataseries the strategy generates buy and sell signals, but the are not recorded until after I plot the dataseries on the chart.
This means I have to run the code for the dataseries twice, once to build the series, and then once again to generate buy and sell signals.
Does wealth lab only generate signals until after all dataseries have been plotted?
Size:
Color:
QUOTE:
This means I have to run the code for the dataseries twice, once to build the series, and then once again to generate buy and sell signals.
This isn't necessarily true. You can fill a DataSeries in the "trading loop" without having to run two loops, but it really depends on the indicator you're creating.
QUOTE:
Does wealth lab only generate signals until after all dataseries have been plotted?
1. Data loads
2. Strategy executes
3. Alerts (if any) are generated
4. Chart is displayed with plotting
3 and 4 may be interchanged, but what difference could it possibly make?
Size:
Color: