I am trying to convert one of the indicator from NT7 to NT8.
The main indicator initiates multiple other indicates and they are based on different calculation modes. These indicators have multiple public properties for accessing in the main indicator.
This indicator is working as expected in NT7 but not in NT8.
Please check the below cases where it is failing. Also please check the attached sample code with SAM indicator.
1) Load 10 minute chart with tick replay data on.
2) Assign main indicator to 10 minute chant with calculate on each tick.
3) SAM will not get calculated ,it is printing 0 ( if we assign main indicator with calculate on bar close, getting the expected output )
I am trying to calculate SMA indicator values at calculate on bar close and use that values in another indicator which run on each tick.
In NT7 I am using below sample to get expected results.
Main indicator will be running on each tick. In main indicator I have below code to force sub indicator to run on bar close.
private SMA sma;
sma = SMA(14);
sam.CalculateOnBarClose = true;
How do I get same behavior of execution on NT8?
i am using the 8.0.0.14 64-bit (Multi-Broker) - Release Candidate 2 version.
Thanks,
Comment