Having a problem with efsExternal. I've an efs that works fine when I call the plain efsExternal. However, now I'd like to call it on the same symbol with different timeframe. No matter what I attempt, it won't work. Have searched the forums, but can't find and example that calls efsExternal on diff timeframe.
Is it indeed possible to call an efsExternal on a different time frame, and if so, how would I modify the code below?
FYI, I'm on a 3 min chart and want to call the efsExternal running on a 5 min chart.
I must be missing something in the syntax?
Thanks
bigtee
Is it indeed possible to call an efsExternal on a different time frame, and if so, how would I modify the code below?
FYI, I'm on a 3 min chart and want to call the efsExternal running on a 5 min chart.
I must be missing something in the syntax?
Thanks
bigtee
Code:
Init == false) { // This code block executes only once at the beginning of initialization. Symbol = getSymbol(); Interval = 5; var vSymbol = Symbol+","+Interval; // efs works with below line on same symbol same timeframe //var vExtEfs = efsExternal("/Downloads/RatioStop.efs"); // efs does not work with any of the below attempts to call the ext efs on different timeframe var vExtEfs = efsExternal("/Downloads/RatioStop.efs",sym(vSymbol) ); //var vExtEfs = efsExternal("/Downloads/RatioStop.efs",sym("OIH, 5" )); //var vExtEfs = efsExternal("/Downloads/RatioStop.efs", inv(5)); xUpper = getSeries(vExtEfs,0); xLower = getSeries(vExtEfs,0); bInit = true; // Prevents this code block from executing again. }
Comment