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

Re: Fw: Metastock's formula into AFL



PureBytes Links

Trading Reference Links

Ken,
I am a new user of AB and I don't know how to use AFL language so if 
someone can translate my metastock formula I'm very happy. 
Thanks
Peter

--- In amibroker@xxxx, "Ken Close" <closeks@xxxx> wrote:
> Peter:
> 
> What are your intentions in reading the users guide and learning 
at least
> the basics of AB?
> 
> What have you learned so far from Anthony's translations of 
several of your
> requests?
> 
> Recently, I was a newbie to AB and have learned a lot from this 
helpful
> board. It is one of the most helpful boards on all of yahoo 
groups. I do
> not want to sound unfriendly and I also personally am willing to 
help you to
> the extent I can, but I have never seen one message after another 
with
> "Please translate this....."
> 
> Hence my questions.
> 
> Thanks,
> 
> Ken
> -----Original Message-----
> From: Inwind [mailto:pibotto@x...]
> Sent: Monday, July 01, 2002 9:57 AM
> To: amibroker@xxxx
> Subject: [amibroker] Fw: Metastock's formula into AFL
> 
> 
> Can someone please convert this Metastock's formula into AFL - 
Thanks
> 
> Enter Long:
> Mov(C,6,S) > Ref(Mov(C,6,S),-1) AND
> Mov(P,3,S) > Mov(P,25,S) AND
> Alert(Cross(Mov(C,9,S),Mov(C,18,S)),10)
> Close Long:
> Cross(Mov(C,18,S),Mov(C,9,S))
> 
> Enter Short:
> Mov(C,6,S) < Ref(Mov(C,6,S),-1) AND
> Mov(P,3,S) < Mov(P,25,S) AND
> Alert(Cross(Mov(C,18,S),Mov(C,9,S)),10)
> 
> Close Short:
> Cross(Mov(C,9,S),Mov(C,18,S))
> 
> Maximum Loss Stop:
> Long and short positions
> Maximum loss of 0.016 points.
> 
> 
> Initial equity: Points only
> Positions: Long and short
> Trade Price: Open
> Trade delay: 1
> 
> Thanks
> Peter
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.