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

RE: [amibroker] Re: Plot Line



PureBytes Links

Trading Reference Links

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: KBH

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

__._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

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