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

Re: [amibroker] Re: Copy



PureBytes Links

Trading Reference Links




Dimitris,
 
IMAGE operations are under Edit->Image
(they were sometime ago under just Edit menu,
but since the number of image operations has 
grown
there is a separate sub-menu now).
 
So you should use 
 
Edit->Image->Copy as metafile
Edit->Image->Copy as bitmap
and so on.
 
The Edit->Copy you are asking is for copying HAND DRAWN 
drawings.
 
I am attaching once more TUTORIAL: Beginners Charting 
guide.
 

Tutorial: Beginners' charting guide
Introduction
AmiBroker 4.20 brings new charting engine with object-oriented manipulation 
of all drawings. Now you can simply move, resize, cut, copy, paste and delete 
all drawing objects with ease. This chapter will guide you though most important 
aspects of using charting tools. 
Let's now take a look at the user interface:

As you can see the in the center we have chart area in which price chart with 
moving average and Bollinger bands is plotted (you can control the apperance 
of built-in charts from <A 
href="">Tools->Preferences 
window).
In the bottom of the chart you can see date axis (marked with red color), and 
below scroll bar and chart sheets tab control. Scroll bar can be used to display 
past quotes, while sheet tab allows to view different chart pages/sheets (<A 
href="">click 
here to learn more about chart sheets).
To the right you can see Y-axis area (marked with blue color) that shows 
Y-scale and value labels. Value labels are color fields that display precisely 
the "last value" of plots. "Last value" is the value of the indicator (or price) 
for the last currently displayed (rightmost) bar. Y-axis area is used also to 
move/size chart vertically.
Next to the right is a drawing objects toolbar that allows you to choose from 
available drawing types (note that only most popular tools are shown here, 
complete set is available from Insert menu). A special tool called 
"Select" (red arrow) is used to select/move/resize already drawn objects and to 
select quotes from the chart.
In the upper part you can see formatting toolbar that allows you to quickly 
modify color, style (thick/dotted) and mode (snap to price) of currently 
selected drawing object. 
In the picture you can also see the trend line drawn with sizing handles 
marked. These handles are used to drag/size the object as will be explained 
below.
Basic operations
Scrolling
To scroll the chart forward/backward just drag scroll bar thumb or use 
< and > arrows on the left and right sides of the scroll bar. Note that 
using < > scroll bar arrows allows you to move chart by one bar. To scroll 
the chart you can also use the mouse equipped with a wheel. Just roll the wheel 
up and down to scroll back and forward.
Zooming
To zoom the chart (increase or decrease number of data points (bars) 
displayed) you can use either View->Zoom menu, zoom toolbar or mouse 
wheel. There are following options available: zoom-in - decreases the number of 
data points displayed, zoom-out - increases the number of data points displayed, 
zoom-all - displays all available bars, zoom-normal resets number of bars 
displayed to the value defined in Tools->Preferences->Charting. 
Zoom-in and zoom-out options are accessible directly from the View toolbar. 
(see picture below). To zoom using mouse wheel just press and hold down CTRL key 
and roll the wheel. You can also zoom to any from-to range selected on the chart 
(see 'Marking range' later in this tutorial)
Shrinking, expanding and moving Y-axis scale
To move Y-axis scale hover the mouse to Y-axis area (marked with blue 
color in the picture above) and you will see that cursor changes to up/down 
arrow. Now you click and drag up/down Y axis and release button when the axis is 
in the correct position.
To shrink/expand Y-axis scale: press down SHIFT key and click in the 
Y-axis area, now shrink/expand Y axis scale by moving your mouse up and down. 
Release the button to finish.
To reset Y-axis scale and position simply double click in the Y-axis 
area.
Changing bar interval (periodicity)
You can easily switch between daily/weekly/monthly and intraday intervals by 
choosing it from View menu and pressing the toolbar button (see below). 


  
  
     
    
    
      The toolbar uses following notation for intervals - i -intraday, 
      h - hourly, d - daily, w - weekly, m - 
      monthly. The i represents "base" intraday interval as defined in 
      File->Database Settings. Remaining intraday intervals are 
      available from View->Intraday menu.
      The interval setting affects active window only, so each window 
      can have different interval. 
      Please note that intraday intervals are disabled if your database is in 
      end-of-day mode. Intraday modes are available only for databases that have 
      "Base time interval" in File->Database Settings set to anything 
      less than end-of-day. If you for example set "Base time interval" in 
      File->Database Settings to 5-minute, all chart periodicities 
      from 5-minutes up will be enabled.
The following intervals are built-in:
  daily 
  weekly 
  monthly 
  hourly (intraday) 
  15-minute (intraday) 
  5-minute (intraday) 
  1-minute (intraday) 
  15-second (intraday RT only) 
  5-second (intraday RT only) 
  tick (intraday RT only) 
In addition to that you can define 5 custom n-minute bar intervals and 5 
custom n-tick intervals in Tools->Preferences->Intraday. Custom 
intervals are available from View->Intraday menu only.
Selecting a quote
You can very easily see the past quote and values of indicators by using 
"select" mode. To select past quote first switch to "Select" mode (red 
arrow in the toolbar) then click in the chart area (but not on the drawing 
object). A vertical line will show up marking the quote under the cursor. The 
chart title will display this bar quote. Indicator panes will show indicator 
value for given bar. Once quote is selected you can move to previous/next quote 
using keyboard left and right arrow (cursor) <- and -> keys.
To switch off quote selection either click again on the line or click 
in the date axis area (marked with red color in the picture above) or click in 
the right margin (blank quotes) area. When selection is off chart title displays 
the values for last visible bar.
Marking range
To show range marker just double click the chart at the beginning of the 
range and double click again at the end of the range. You can also use F12 key 
in conjunction with "select" mode (described above). Just select quote and press 
F12 for begin and SHIFT+F12 for the range end. You can switch off the range 
marker by pressing CTRL+F12 key or double clicking in the same place twice.
Range markers can be used to select zoom-in range (View->Zoom->Range) 
and to perform calculations on selected values via BeginValue and EndValue AFL 
functions.
Adding / closing chart panes
Each window can consist of several panes displaying various charts / 
indicators. To insert new pane with built-in chart use Insert->Standard 
charts menu. To insert custom indicator you can use Insert->Custom 
indicators menu, or Analysis->Indicator Builder->Apply or 
Ctrl+I key stroke. For more information please check <A 
href="">using 
custom indicators section.
To close any chart pane: click on the pane, then use either View->Close 
pane from main menu or click on the pane with right mouse button and choose 
Close from context menu.
Using drawing tools
AmiBroker features extensive set of drawing tools:

  
  
    
    
      The following tools are available:
      
        trend line 
        ray (new in 4.20) 
        extended line (new in 4.20) 
        vertical line 
        horizontal line 
        parallel lines (new in 4.20) 
        Regression channels: Raff, standard deviation, standard error (all 
        new in 4.20) 
        Fibonacci Retracement study (enhanced in 4.20) 
        Fibonacci Time zones study 
        Fibonacci Fan 
        Fibonacci arc 
        Gann Square (new in 4.20) 
        Gann Fan (new in 4.20) 
        Ellipse tool 
        Arc tool 
        Rectangle 
        text box tool 
      They are available from Insert menu and Draw toolbar. 
      Each drawing object can be moved, resized, copied, deleted and modified 
      after it is drawn. 
       
To draw an object on the chart switch on appropriate tool button (see 
picture below) and start drawing on the chart by pointing the mouse and pressing 
left mouse button where you want to start the drawing. Then move the mouse. 
Study tracking line will appear. Release left mouse button when you want to 
finish drawing. You can also cancel study drawing by pressing ESC (escape) key. 

If you hover your mouse over the object you will see that cursor shape 
changes in the proximity of the object. This means that 
If cursor is near either end of the object it will change its shape to 
sizing pointer: <IMG height=22 
src="gif00437.gif" width=23> 
If the cursor is near remaining parts of the object it will change its shape 
to moving pointer:<IMG 
src="gif00438.gif">
Once object is drawn it can be selected, moved, resized, deleted, copied.


  
  
    <IMG height=236 src="gif00439.gif" 
    width=323>
    
      To select the object simply move the mouse over the object so 
      "moving pointer" appears and click once - the object will be marked so the 
      sizing handles (see first picture) will appear.
      To de-select click in the blank chart space.
      
      To size the object click on the sizing handle and drag to the 
      desired location as shown in the picture.
      To move the object click on any other part of the object and 
      move to the desired location.
To delete object - select it first and press DEL 
(DELETE) key on the keyboard or use Edit->Delete menu or use 
Delete toolbar button. 
To copy the object to the clipboard - select it first and press 
Ctrl+C or use Edit->Copy menu or use Copy toolbar button.
To cut the object - select it first and press Ctrl+X or use 
Edit->Cut menu or use Cut toolbar button.
To paste the object from the clipboard press Ctrl+V or use 
Edit->Paste or use Paste toolbar button. Pasted object will drawn in 
the exactly same location as copied one and will be selected automatically so 
you can move it to a new location.
To apply color or style to the object select it and use Format menu or 
Format tool bar buttons to change color, thick, dotted and snap to price styles. 
Note that you can also select color and style of the object before 
drawing new object: simply deselect previous object (if any), change color / 
style selections and draw new object. 
To modify properties of the object - either double click it or use 
Edit->Properties menu or Alt+ENTER key
To delete all objects use Edit->Delete All menu
Further information
To learn more about drawing tools please read <A 
href="">Drawing 
tools reference chapter.
 
Hope this helps.
 
Best regards,Tomasz Janeczkoamibroker.com
----- Original Message ----- 
From: "DIMITRIS TSOKAKIS" <<A 
href="">TSOKAKIS@xxxxxxxxx<FONT 
size=2>>
To: <<A 
href=""><FONT 
size=2>amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, July 29, 2003 9:38 AM
Subject: [amibroker] Re: Copy
> Graham,> thank you 
for your suggestions.> I read in > CHANGES FOR VERSION 4.37.0 (as 
compared to 4.36.0)> *Edit->Copy As Image and Edit->Copy As 
Metafile now generate an image > consisting of all indicator panes (not 
just one) > Then, I read in the very next> CHANGES FOR VERSION 
4.38.0 (as compared to 4.37.0)> *added export chart image to PNG 
(portable network graphics) file > Edit->Image->Export to PNG file 
> Then, finally, I read in > NEW FEATURES AND FIXES AS COMPARED TO 
v4.30:> *CHART SNAPSHOTS IN PNG, BITMAP AND METAFILE (scalable, vector) 
> FORMATS for > EASY WEB AND DESKTOP PUBLISHING 
(Edit->Image)> Do I miss something ?> In my Edit column the 
Edit>Copy is deactivated> The Copy small icon on the upper bar is 
deactivated.> The Edit>Image>Copy as... copies the whole 
sheet.> I am a bit confused with the following> 1. Does the 4.37 
property still exist? [is there any problem with > *my* 4.40 version 
?]> 2. Is "Copy" icon and "Edit>Copy" deactivated and, if positive, 
when ?> 3. Is it still possible to copy a single pane and, if positive, 
how ?> [I do not ask for external alternatives ]> Dimitris 
Tsokakis> > --- In <A 
href=""><FONT 
size=2>amibroker@xxxxxxxxxxxxxxx, "Graham" <<A 
href="">gkavanagh@x<FONT 
size=2>...> wrote:> > I use snagit to capture the screen 
image> > But you could also edit the image of the screen from AB edit 
in a > drawing> > package> > > > 
Cheers,> > Graham> > <A 
href=""><FONT 
size=2>http://groups.msn.com/ASXShareTrading> 
> <FONT 
size=2>http://groups.msn.com/FMSAustralia> > 
> > > > -----Original Message-----> > From: 
DIMITRIS TSOKAKIS [mailto:TSOKAKIS@xxxx] > > Sent: Tuesday, 29 July 
2003 1:36 PM> > To: <A 
href=""><FONT 
size=2>amibroker@xxxxxxxxxxxxxxx> > Subject: 
[amibroker] Copy> > > > > > My copy small icon is 
deactivated.> > How can I copy the image of one single pane ?> 
> [The Edit>Image>copy copies the whole sheet]> > Any idea 
?> > Dimitris Tsokakis> > > > > > 
------------------------ Yahoo! Groups Sponsor ---------------------> 
~--> Buy> > Toner for Your Printer or Fax at 
LaserTonerSuperstore.com-Save 55%! > We have> > your brand: HP, 
IBM, Canon, Xerox, Apple and many more for less!> > <A 
href=""><FONT 
size=2>http://www.LaserTonerSuperstore.com> > 
<FONT 
size=2>http://us.click.yahoo.com/YmQqWC/qicGAA/ySSFAA/GHeqlB/TM<FONT 
size=2>> > 
--------------------------------------------------------------------> 
-~->> > > > Send BUG REPORTS to <A 
href="">bugs@x...> > 
Send SUGGESTIONS to <FONT 
size=2>suggest@x...> > 
-----------------------------------------> > Post AmiQuote-related 
messages ONLY to: <FONT 
size=2>amiquote@xxxxxxxxxxxxxxx > > (Web page: 
<FONT 
size=2>http://groups.yahoo.com/group/amiquote/messages/<FONT 
size=2>)> > --------------------------------------------> > 
Check group FAQ at:> > <A 
href=""><FONT 
size=2>http://groups.yahoo.com/group/amibroker/files/groupfaq.html<FONT 
size=2> > > > > Your use of Yahoo! Groups is subject to 
> <FONT 
size=2>http://docs.yahoo.com/info/terms/> 
> > ------------------------ Yahoo! Groups Sponsor 
---------------------~-->> Free shipping on all inkjet cartridge & 
refill kit orders to US & Canada. Low prices up to 80% off. We have your 
brand: HP, Epson, Lexmark & more.> <A 
href=""><FONT 
size=2>http://www.c1tracking.com/l.asp?cid=5510> 
<FONT 
size=2>http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/GHeqlB/TM<FONT 
size=2>> 
---------------------------------------------------------------------~->> 
> Send BUG REPORTS to <FONT 
size=2>bugs@xxxxxxxxxxxxx> Send SUGGESTIONS to 
<FONT 
size=2>suggest@xxxxxxxxxxxxx> 
-----------------------------------------> Post AmiQuote-related messages 
ONLY to: <FONT 
size=2>amiquote@xxxxxxxxxxxxxxx > (Web page: 
<FONT 
size=2>http://groups.yahoo.com/group/amiquote/messages/<FONT 
size=2>)> --------------------------------------------> Check 
group FAQ at: <A 
href=""><FONT 
size=2>http://groups.yahoo.com/group/amibroker/files/groupfaq.html<FONT 
size=2> > > Your use of Yahoo! Groups is subject to <A 
href=""><FONT 
size=2>http://docs.yahoo.com/info/terms/ > 
> > 






Yahoo! Groups Sponsor


  ADVERTISEMENT 









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

Attachment: Description: ""

Attachment: Description: ""

Attachment: Description: ""

Attachment: Description: "Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service."

Attachment: Description: ""

Attachment: Description: ""