PureBytes Links
Trading Reference Links
|
Joe,
The slope of the trendlines is
aS, for the support and aR for the resistance and is already
calculated.
You dont really need the diff of the trendline with 10bars ago.
Title=name()+writeif(as>0,", support rising",", support
falling"+writeif(ar>0,", resistance rising",", resistance falling");
Note that iif() and writeif() need two outputs.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "emg_gang" <joeemmett@xxxx> wrote:
> Check message #51432. You can also do a search for Trendlines &
> Breakouts, Joe
> --- In amibroker@xxxxxxxxxxxxxxx, "Herman vandenBergen"
<psytek@xxxx>
> wrote:
> > Joe, could you point me to TJ's Support Trendline post?
> >
> > thanks,
> > herman.
> > -----Original Message-----
> > From: emg_gang [mailto:joeemmett@x...]
> > Sent: November 28, 2003 8:59 AM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] Trendline direction
> >
> >
> > Thanks to Tomasz for sharing the Trend & Breakout afl. I am
fairly
> > new at this as you can tell by my question.
> >
> > The afl gives a Support Trendline (TrendlineS) and the
Resistance
> > trendline (TrendlineR).
> >
> > I wanted to add a statement that would give me the direction and
> > angle of the trendline.
> >
> > Writeif(TrendlineS (Today) > TrendlineS (10 day ago), "Support
> Line
> > is Rising","");
> >
> > If I get this far I can put a multiplier on the second
condition
> to
> > determine the angle.
> >
> > Really enjoy this board and thank for your help, Joe
> >
> >
> >
> > 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/
|