PureBytes Links
Trading Reference Links
|
Still don't know why you have to do that in code. Can't you set the
ID for the line that drawn from toolbar? seems ur reinventing the
wheels here...
--- In amibroker@xxxxxxxxxxxxxxx, "KBH" <hawkinsk001@xxx> wrote:
>
> Thanks wavemechanic, that gives me exactly what I asked for.
Unfortunately I
> asked for the wrong thing.
>
> What I want to create is a trend line using AFL code that has all
of the
> same properties as a horizontal trend line drawn
>
> with the drawing toolbar.
>
>
>
> Once initially placed on chart I would like to be able to drag it
up and
> down, set its study ID, etc?.
>
> Does anybody know how to do that?
>
>
>
>
>
>
>
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
On Behalf
> Of wavemechanic
> Sent: Saturday, March 15, 2008 7:25 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Re: Plot Line
>
>
>
> plot(param("line level", 25, 5, 50, 1), "", colorwhite);
>
> ----- Original Message -----
>
> From: HYPERLINK "mailto:hawkinsk001@xxx"KBH
>
> To:
HYPERLINK "mailto:amibroker@xxxxxxxxxxxxxxx"amibroker@xxxxxxxxxxxxxxx
>
> Sent: Saturday, March 15, 2008 2:14 AM
>
> Subject: RE: [amibroker] Re: Plot Line
>
>
>
> I want to create the horizontal trend line thru AFL code not by
using the
> toolbar.
>
>
>
> thanks
>
> turn off "snap to price" and then add a "horizontal line" from
> toolbar, you should be able to drag the line around in your chart.
>
> I am trying to plot a horizontal trend line in the center of a
> price chart thru AFL code and after it is plotted on price chart I
can
> select it and move it around the chart. I realize I can uses the
> horizontal trend line drawing tool to create the above but I want to
> be able to create it using code.
>
> Also I would like to be able to control the length and position.
> Here is what I got so far but it won't
> do what I want it to do. All it does is put a horizontal line
> across my chart which I can't move. I understand why it can't move,
>
>
>
> because of the "665" but I don't know what to do about it. Don't
> laugh it took me and 1 ½ hours to create it.
>
> Plot(665, "Line", colorRed, styleLine,0, 0, 0);
>
> Thanks,
> Bruce
> >
> >
> > No virus found in this outgoing message.
> > Checked by AVG.
> > Version: 7.5.519 / Virus Database: 269.21.7/1329 - Release Date:
> 3/14/2008
> > 12:33 PM
> >
>
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.21.7/1329 - Release Date:
3/14/2008
> 12:33 PM
>
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.21.7/1329 - Release Date:
3/14/2008
> 12:33 PM
>
> _____
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.7/1319 - Release Date:
3/8/2008
> 10:14 AM
>
>
>
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.21.7/1329 - Release Date:
3/14/2008
> 12:33 PM
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.21.7/1329 - Release Date:
3/14/2008
> 12:33 PM
>
========================================================================
Groups related to amibroker
========================================================================
equismetastock (734 common members)
http://groups.yahoo.com/group/equismetastock?v=1&t=ipt&ch=email&pub=groups&slk=aftr0&sec=recg
Investments/General: Established January 15, 1999 this site is open to ...
TWSAPI (656 common members)
http://groups.yahoo.com/group/TWSAPI?v=1&t=ipt&ch=email&pub=groups&slk=aftr1&sec=recg
Investments/Software: Not affiliated with Interactive Brokers Interactiv...
bse-nse2005 (485 common members)
http://groups.yahoo.com/group/bse-nse2005?v=1&t=ipt&ch=email&pub=groups&slk=aftr2&sec=recg
Investments/Online Investing and Trading: We now have our very own website - www.desitraderm...
e-mini_traders_anon (364 common members)
http://groups.yahoo.com/group/e-mini_traders_anon?v=1&t=ipt&ch=email&pub=groups&slk=aftr3&sec=recg
Investments/Daytrading: The spirit of this group is traders helping trader...
quotes-plus (334 common members)
http://groups.yahoo.com/group/quotes-plus?v=1&t=ipt&ch=email&pub=groups&slk=aftr4&sec=recg
Investments/Software: This group is for Quotes Plus customers. Others ar...
------------------------------------
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|