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
-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
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
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
Thanks Don for sharing. Very nice indicator!
Roger
",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
&
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
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
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