PureBytes Links
Trading Reference Links
|
Tom, thank you for responding. Hope your trip was good. I can understand your situation regarding your formula. Thanks for you candor. If you come across anything that you can share, please remember me. Thanks and Merry Christmas and a Happy New Year
----- Original Message -----
From: professor@xxxxxxxxxxxxxx
To: amibroker@xxxxxxxxxxxxxxx
Sent: Monday, December 25, 2006 2:31 PM
Subject: Re: [amibroker] Help with buy formula
Marshall,
Sorry about the delay in answering, but I have been traveling for almost 2 weeks. Just got back from a cruise.
Thank you for your interest in my formula, but I since I paid Graham to write it for me, I do not wish to share it.
Tom
----- Original Message -----
From: M. Smith
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, December 12, 2006 7:03 PM
Subject: Re: [amibroker] Help with buy formula
Tom, Is there any way to get a full formula? If you want to save it for yourself, I understand. I was under the impression that it was complete. Think about it. Marshall
----- Original Message -----
From: professor@xxxxxxxxxxxxxx
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, December 12, 2006 4:43 PM
Subject: Re: [amibroker] Help with buy formula
Marshall,
This is not the complete code. Therefore, you will get error messages because many of the variables are not defined.
Tom
----- Original Message -----
From: M. Smith
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, December 12, 2006 10:07 AM
Subject: Re: [amibroker] Help with buy formula
Tom this is a different error. I wish I had the background. Does anyone else get the error message? Marshall
----- Original Message -----
From: professor@xxxxxxxxxxxxxx
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, December 12, 2006 10:32 AM
Subject: Re: [amibroker] Help with buy formula
Marshall,
Here is the code after the changes. Nothing special.
//Buy Signals
Condition1 = C > Dropline AND Ref(C,-1) < Ref(Dropline,-1);
Cond1=StochK() - Ref(StochK(),-1) >1;
Cond2=MACD() > Ref(MACD(),-1);
Cond6=StochD()<25;
Cond7=BarsSince(Cond6) <=7;
//Sell Signals
Condition10 = C < Increase AND Ref(C,-1) > Ref(Increase,-1);
Cond11=StochK() - Ref(StochK(),-1) < 1;
Cond12=MACD() < Ref(MACD(),-1);
Cond16=StochD()>75;
Cond17=BarsSince(Cond16) <=7;
//Buy and Sell orders
Buy = BarsSince(Condition1) <=5 AND Cond1 AND Cond7;
Sell = BarsSince(Condition10) <=5 AND cond11 AND Cond17;
//Short and Cover conditions
Short = Sell;
Cover = Buy;
I hope that this helps.
Thanks,
Tom
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.27/602 - Release Date: 12/25/2006 10:19 AM
|