I'm new to EFS but have been using eSignal for several years. I'm also very comfortable with JavaScript. That said, I'd like to have somebody give me a simple sanity check on what I'm trying to do before I expend hours going down the wrong path.
I want to implement a trading strategy for symbol x1, say, that depends on various series values of symbols x1 and x2. I've already coded the strategy in php (so that I could do offline backtesting outside of eSignal), and now I want to get this running in EFS.
The sanity check I'm looking for is my overall design (and understanding of how EFS works), which follows:
1. I'll 'attach' my EFS code to an advanced chart of symbol x1, using the interval I need. (It turns out I'll look at minute OHLC values for awhile, then later want to see tick data. I'll want minute data for both x1 and x2, then tick data for x1 only.)
2. In my code (following preMain() and main() conventions), I'll make calls to various functions that will give me data for symbol x1.
3. When I need to look at data for symbol x2, I'll make the appropriate series call (for example, one of the stochastic series), passing in the symbol 'x2' as argument 3 (or is it 4? I'll have to look at the documentation). I think I use the sym() function to help with that.
Q1: Does this make sense, or am I totally missing the point of how to use EFS?
Q2: Is there an easier way to get this done?
Thanks much.
I want to implement a trading strategy for symbol x1, say, that depends on various series values of symbols x1 and x2. I've already coded the strategy in php (so that I could do offline backtesting outside of eSignal), and now I want to get this running in EFS.
The sanity check I'm looking for is my overall design (and understanding of how EFS works), which follows:
1. I'll 'attach' my EFS code to an advanced chart of symbol x1, using the interval I need. (It turns out I'll look at minute OHLC values for awhile, then later want to see tick data. I'll want minute data for both x1 and x2, then tick data for x1 only.)
2. In my code (following preMain() and main() conventions), I'll make calls to various functions that will give me data for symbol x1.
3. When I need to look at data for symbol x2, I'll make the appropriate series call (for example, one of the stochastic series), passing in the symbol 'x2' as argument 3 (or is it 4? I'll have to look at the documentation). I think I use the sym() function to help with that.
Q1: Does this make sense, or am I totally missing the point of how to use EFS?
Q2: Is there an easier way to get this done?
Thanks much.
Comment