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

Re: [amibroker] Plot text labels above and below price bars - need help to get started


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: Re: [amibroker] Plot text labels above and below price bars - need help to get started
  • From: "wavemechanic" <fimdot@xxxxxxxxx>
  • Date: Mon, 2 Jul 2007 15:38:47 -0400

PureBytes Links

Trading Reference Links

Work out the main part of the code and then use plotshapes() or plottext() to produce the labels. 
 
Bill
----- Original Message -----
From: pcmoxon
Sent: Friday, June 29, 2007 9:07 AM
Subject: [amibroker] Plot text labels above and below price bars - need help to get started

Hi,

I am new to Amibroker and trying to figure out how to generate text labels on a chart that are plotted directly above or below each price bar that is identified.

Here is what I want to do:

In an Up Trend (defined by the stochastic signal line crossing above 20 and some other indicators):

Identify the lowest low bar between the last 50 and 100 periods.

From the lowest low bar identified, begin to label each high peak with a number starting at 1 through 5. When a high peak is labelled with a 5 and there is a higher peak bar still to come, the count gets reset so the next highest peak bar would start at 1.

In a Down Trend (defined by the stochastic signal line crossing below 80 and some other indicators), the reverse happens:

Identify the highest high bar between the last 50 and 100 periods.

From the highest high bar identified, begin to label each lower trough with a letter starting at A through E. When a trough is labelled with an E and there is a lower trough bar still to come, the count gets reset so the next lowest low bar would start at A.

Here is a link to an example chart of what I am trying to achieve.

http://www.teklink.co.uk/CHARTS/Chart_1.JPG 

I am not the best programmer in the world, so any help with this would be much appreciated. I don't expect someone to code the solution for me, just a point in the right direction.

Many Thanks,

Pete.


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.14/883 - Release Date: 7/1/2007 12:19 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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

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

__,_._,___