===========================================
The following code was applied to both MC and TS8 using OD2.
I found 2 weird issues.
<< Issue 1 >> MC and TS8 shows different results.var: session(0;
if currentbar =1 then cleardebug;
if d=1080718 or d=1080721 then
print(d:8:0,t:5:0," ",ROUND(date,0),ROUND(date,0) cross above 1080718.00);
The log from TS8's 10 min chart shows:
[10 min] from TS8 for an OD2 symbol
1080718 1510 1080718.00 FALSE
1080718 1520 1080718.00 FALSE
1080721 910 1080721.00 TRUE
1080721 920 1080721.00 FALSE
The log from MC's 10 min chart shows:
[10 min] from MC
1080718 1510 1080718.00FALSE
1080718 1520 1080718.00FALSE
1080721 910 1080721.00FALSE
1080721 920 1080721.00FALSE
<< Issue 2 >> TS8 shows different results for a normal TS8 symbol and an OD2 symbol.
Another weird thing is that if the above code is applied to TS8's 1 min chart for an OD2 symbol, the result is different from that of 10 min as shown below.
[1 min] from TS8 for an OD2 symbol
1080718 1505 1080718.00 FALSE
1080718 1516 1080718.00 FALSE
1080721 901 1080721.00 FALSE
1080721 902 1080721.00 FALSE
[10 min] from TS8 for an OD2 symbol
1080718 1510 1080718.00 FALSE
1080718 1520 1080718.00 FALSE
1080721 910 1080721.00 TRUE
1080721 920 1080721.00 FALSE
This result should be the same as that of TS8's 10 min result shown at the beginning because the only difference is 1 min or 10 min and the code does not use anything special.
However, when I applied this to a normal TS8 symblo (@ES), the result for 1 min and 10 min are as follows and they show the same results.
[1 min] from TS8 for a normal TS8 symbol
1080718 2358 1080718.00 FALSE
1080718 2359 1080718.00 FALSE
1080721 701 1080721.00 FALSE
1080721 702 1080721.00 FALSE
[10 min] from TS8 for a normal TS8 symbol
1080718 2340 1080718.00 FALSE
1080718 2350 1080718.00 FALSE
1080721 710 1080721.00 FALSE
1080721 720 1080721.00 FALSE
So, this weird behaviour with TS8 seems to happen only for OD2 symbols.