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

[amibroker] Re: Simple formula question - to Jayson



PureBytes Links

Trading Reference Links

Jayson - thanks-

I forgot to tell you this, I am using the Williams%R indicator as my 
model and not a simple closing price moving average. Will that make a 
difference in telling the signal to look for the williams%R moving 
averages versus the closing price ??

cheers - jmb

 

amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Jmb,
> try...
> X=c<ma(c,150) AND cross(ma(c,15),ma(c,35));
> 
> Regards,
> Jayson
> -----Original Message-----
> From: jmbruegge [mailto:jmbruegge@x...]
> Sent: Tuesday, November 25, 2003 10:06 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Simple formula question
> 
> 
> I am trying to write a simple formula for the following and have 
some
> of it written but am stuck near the end -
> 
> "Buy only if the 15 day MA crosses above the 35 day MA and the
> crossover occurs below the 150 day moving average"
> 
> here is what I have - "Buy=cover=cross(graph8,graph9)________"
> 
> graph 8 and 9 are the 15 and 35 day MA.
> 
> How can I write out the end "and the crossover occurs below the 150
> day MA" ?
> 
> Any help appreciated ??
> 
> cheers - jmb
> 
> 
>       Yahoo! Groups Sponsor
>             ADVERTISEMENT
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/