[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Conversion of Metastock Indicator



PureBytes Links

Trading Reference Links

Hi Steve,

Looks good; can't believe how fast you can convert from MS to AMI. 
It might be helpful if you could turn off HTML in you e-mail setting as it 
seems to be adding extra garbage characters in my e-mail program. 
Here is the afl after these characters are removed:

roc1 = C - ref(c,-1);
var2 = LinRegSlope(C,13)+100 *( EMa( EMa( ROC1,34),21) / EMa( 
EMa( Abs(ROC1),34),21)) + 100 * ( EMa( EMa(C - (.5 * ( 
HHV(H,13) + LLV(L,13))),21),3) / (.5*EMa( EMa( HHV(H,13) - 
LLV(L,13),21),3)));
graph1 = var2;

Perhaps I'm the only one having this trouble.

Best regards,
Jerry

On 10 Jun 2001, at 18:55, Steve Wiser wrote:

To: amibroker@xxxxxxxxxxxxxxx
From: Steve Wiser <slwiserr@xxxx>
Date sent: Sun, 10 Jun 2001 18:55:37 -0400
Send reply to: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Conversion of Metastock Indicator

Randy:

This is my attempt to do this. I blew one this morning by missing 
something so be careful.

Steve

roc1 = C - ref(c,-1);

var2 = LinRegSlope(C,13)+100 *
( 
 EMa( EMa( ROC1,34),21) / 
 EMa( EMa( Abs(ROC1),34),21)) + 
 100 * 
 ( 
 EMa( EMa(C - (.5 * ( HHV(H,13) + LLV(L,13))),21),3) / 
 (.5*EMa( EMa( HHV(H,13) - LLV(L,13),21),3)
 )
);

graph1 = var2;
graph0 = 0.0;

At 07:00 PM 6/10/01 -0400, you wrote:

LinRegSlope(C,13)+100 * ( Mov( Mov( ROC(C,1,$),34,E),21,E) / 
Mov( Mov( Abs( ROC(C,1,$)),34,E),21,E))+100 * ( Mov( Mov(C - (.5 
* ( HHV(H,13) + LLV(L,13))),21,E),3,E) / (.5*Mov( Mov( HHV(H,13) -
LLV(L,13),21,E),3,E)))