No offense, but you need to learn Java. If you know Java, you need to spend a good amount of time reading the code and figuring out how it works.
On Wed, Aug 10, 2011 at 2:54 AM, Madan <[email protected]> wrote: > Hi, > Thank you for the suggestion. I added in this way in Simple > Strategy > > private Indicator priceEMAInd; > @Override > public void setIndicators() { > priceEMAInd = addIndicator(new PriceEMA(60)); > } > > > Is this the correct way? Please suggest. i don't see any trade > happening yet. Am I mistaken somewhere? You said me to change the > Entry threshold. i changed but nothing happened. Please suggest me > what are the common ones, because I am testing in TWS simulator. I am > using ES, GLOBEX as an instrument. > > Thanks in advance. > > On Aug 9, 12:33 am, Eugene Kononov <[email protected]> wrote: > > > So, where should I find EMA class for moving average? > > > > PriceEMA.java in /source/com/jbooktrader/indicator/price > > > > > How should I add it to the strategy? > > > > The same way it's done in the sample strategies. Example: > > priceEMAInd = addIndicator(new PriceEMA(60)); > > > > As I suggested to you before, take one as a template and change it the > way > > you like. In JBT, all you need to do is to implement your own strategy > > class. You don't need to do anything outside of that, unless you are > doing > > something very fancy. > > -- > You received this message because you are subscribed to the Google Groups > "JBookTrader" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/jbooktrader?hl=en. > > -- You received this message because you are subscribed to the Google Groups "JBookTrader" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
