Hello,
I created an EFS to determine trends relying on a few indicators in addition to TICK and TRIN values. The EFS works without any errors in realtime, but when I try to back test it, it simply returns null for both TICK and TRIN.
The following is the function I call to retrieve TICK close for the last bar
var nTick = close( -1, sym("$TICK,15"));
var nTrin = close( -1, sym("$TRIN,15"));
Would anyone shed somelight on whether backtesting supports the fuction call above? and if so, any idea where the problem may be.
Your help is very much appreciated.
Sherif
I created an EFS to determine trends relying on a few indicators in addition to TICK and TRIN values. The EFS works without any errors in realtime, but when I try to back test it, it simply returns null for both TICK and TRIN.
The following is the function I call to retrieve TICK close for the last bar
var nTick = close( -1, sym("$TICK,15"));
var nTrin = close( -1, sym("$TRIN,15"));
Would anyone shed somelight on whether backtesting supports the fuction call above? and if so, any idea where the problem may be.
Your help is very much appreciated.
Sherif
Comment