Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-19 Thread Keith Kee
PROTECTED]> *To:* amibroker@yahoogroups.com *Sent:* Wednesday, April 18, 2007 7:23 PM *Subject:* Re: [amibroker] Blau: TSI & Ergodic Oscillator Dear all, Many thanks for sharing your codes and experience. I am a newbie testing the trading system using ib controller with this code for buy

Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-19 Thread Edward Pottasch
-12-2006 code is also shown here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00213.html Ed - Original Message - From: Keith Kee To: amibroker@yahoogroups.com Sent: Wednesday, April 18, 2007 7:23 PM Subject: Re: [amibroker] Blau: TSI & Ergodic Oscillator Dear

Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-19 Thread Keith Kee
Dear all, Many thanks for sharing your codes and experience. I am a newbie testing the trading system using ib controller with this code for buy as in the manual: //trading system ibc = GetTradingInterface("IB"); if(ibc.IsConnected()) { if(LastValue(Buy)) { if(ibc.GetPositionSize(Na

Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-18 Thread Rick Osborn
This is "FOR WHAT IT'S WORTH. I compared this code with the website, and thought I spotted a couple of discrepancies. So I tried to make code changes to see if I could match things up. This is what I came up with. First, I wanted to plot the various panes, so I created an file containing the m

Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-18 Thread Roger
Thanks Don for sharing. Very nice indicator! Roger

RE: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-18 Thread Larry
",1.2); > > Hope this helps, > Don Lindberg > > > > From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Larry > Sent: Tuesday, April 17, 2007 10:32 PM > To: amibroker@yahoogroups.com > Subject: Re: [amibroker] Blau: TSI & Ergodic Oscillator &

RE: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-18 Thread Don Lindberg
AddColumn(SigLin," SigLin ",1.2); Hope this helps, Don Lindberg _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Larry Sent: Tuesday, April 17, 2007 10:32 PM To: amibroker@yahoogroups.com Subject: Re: [amibroker] Blau: TSI & Ergodic Oscillato

Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-17 Thread Larry
Hi Rick, Thank you so much for you response. I saw the following comment in the forum too: "Green Histogram & Blue line above 0 is buy Red Histogram & Blue line under 0 is sell" However,the poster appeared to be seeking a confirmation whether his/her assumption was correct. Unfortunately the

Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-17 Thread Rick Osborn
If, as the forum says... Green Histogram & Blue line above 0 is buy Red Histogram & Blue line under 0 is sell Then the code would be Buy = Ergodic > SigLin AND Hist >= 0; Sell = SigLin > Ergodic AND Hist < 0; Filter = Buy OR Sell; AddColumn(Filter,"Signal",1.0); (you may want to separate the A