PureBytes Links
Trading Reference Links
|
hi Jason,
I am trying yours and TJs code, but some how I cannot
scan for horizontal line break. WHen I mouse over the line, it
doesn't show the last bar on the x-value so I have to change it
mannually. Though theline would keep extending, the x-value doesn't
and may be that is why I cannot scan for study lie break. Are you
able to do this? I am using 4.44 and all my studies are on the
main price chart
thanks
nand
--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Nand,
> In my example I used a simple horizontal line which extends right.
Each day
> the lastvalue will look at the current bar position. To achieve the
same
> results with a line not extended then use the example TJ offered
which used
> a combination of NOT and IsNull to seek out the last point of the
line....
>
>
> x=ValueWhen(NOT IsNull( Study("re")),Study("re"));
> y=ValueWhen(NOT IsNull( Study("su")),Study("su"));
>
>
> Regards,
> Jayson
> -----Original Message-----
> From: nkis22 [mailto:nkishor@x...]
> Sent: Wednesday, October 15, 2003 12:42 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] re: horizontal study lines? (in AFL) x-dates??
>
>
> Jason, does this work as the line keeps extending into the future
> from the day you draw it. When I check right extend, the x-dates
> don't change, and if you mouse over the line you will see the x-date
> limits..I thought for right extend mode the x-date should be open.
> Otherwise we will have to be redrawing the lines everyday
>
> nand
>
> >
> > Filter=C>0;
> > x=LastValue(Study("s1"));
> > y=LastValue(Study("s2"));
> > AddColumn(x,"");
> > AddColumn(y,"");
> > AddColumn(x-y,"");
> >
> >
> > Regards,
> > Jayson
> > -----Original Message-----
> > From: Bruce Nutter [mailto:bdnutter@x...]
> > Sent: Tuesday, October 14, 2003 12:26 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] How do I subtract the difference between two
> horizontal
> > study lines? (in AFL)
> >
> >
> > Gurus,
> >
> > Does anybody know how to subtract between two horizontal study
> lines in AFL
> > code? I have to study lines that I move around to calculate entry
> and exit
> > points. What I'd like to do is to show that vertical distance
> between these
> > two horizontal lines in the interpretation window. Would one of
you
> gurus
> > please let me know how to do this?
> >
> > Bruce
> >
> >
> > 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
>
>
>
> 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/
|