RE: [amibroker] PlotText Formatting Decimals?

2006-05-01 Thread Gordon Sutherland
Hi Peter, Using the example of the PlotText function in the AB Help files, I have wrapped the integer function around the Buy Price. See the example below: Regards, Gordon Sutherland Plot(C,Price, colorBlack, styleLine ); Plot(MA(C,20),MA20, colorRed ); Buy=Cross( C, MA

RE: [amibroker] Re: Multi Row Colored Ribbons

2006-07-28 Thread Gordon Sutherland
Johan, Slick, very slick indeed - especially when you add a couple of parameters to control verticality. Thanks, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of johsun Sent: Saturday, 29 July 2006 5:30 a.m. To: amibroker

RE: [amibroker] AddToComposite

2006-08-24 Thread Gordon Sutherland
Osgem, You have a typo in your last line of code (missing a quote mark in front of the I). It then runs just fine. Graph0 = Foreign( ~MyIndex, C )/Foreign( ~MyIndex, I ); Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED

[amibroker] Re: AddToComposite

2006-08-26 Thread Gordon Sutherland
luck, Regards, Gordon Sutherland // ATC AFL code to create a Price Array of Index and incorporating volume // Created by Gordon Sutherland 27th August 2006 for Osgem - Amibroker(at)YahooGroups.com AddToComposite( L , ~MyIndex , L ); AddToComposite( O , ~MyIndex , O ); AddToComposite( H

RE: [amibroker] Re: AddToComposite

2006-08-28 Thread Gordon Sutherland
the attachment AFL file rather than risk word wrap syntax errors using copy and paste from the body of the email. Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of osgem_2006 Sent: Tuesday, 29 August 2006 2:12 a.m

RE: [amibroker] Re: AddToComposite

2006-08-29 Thread Gordon Sutherland
Hi Osgem, Thanks for the feedback. Glad to be of some help. Good hunting --- Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of osgem_2006 Sent: Wednesday, 30 August 2006 7:02 a.m. To: amibroker

RE: [amibroker] ATC and Missing quotes

2006-09-14 Thread Gordon Sutherland
this is of help. Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of matrix10014 Sent: Friday, 15 September 2006 2:40 a.m. To: amibroker@yahoogroups.com Subject: [amibroker] ATC and Missing quotes Just figured it out

RE: [amibroker] coloring candlesticks according to code?

2006-10-21 Thread Gordon Sutherland
); Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sdp_51 Sent: Sunday, 22 October 2006 3:45 p.m. To: amibroker@yahoogroups.com Subject: [amibroker] coloring candlesticks according to code? i want to color

RE: [amibroker] Re: %b

2006-11-04 Thread Gordon Sutherland
-code amend the second argument for each parameter line, as I provided, or soft-code by using the parameters box in the AA Window (for Exploration or Back Test reports). Good luck, Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED

RE: [amibroker] Exporting AA window to .cvs some data shifts

2006-12-16 Thread Gordon Sutherland
. Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MarkK Sent: Sunday, 17 December 2006 3:41 a.m. To: amibroker@yahoogroups.com Subject: [amibroker] Exporting AA window to .cvs some data shifts Wonder

RE: [amibroker] Automatic window with a preference?

2007-01-30 Thread Gordon Sutherland
Try StyleNoRescale in your Plot statement. Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sdp_51 Sent: Wednesday, 31 January 2007 7:50 p.m. To: amibroker@yahoogroups.com Subject: [amibroker] Automatic window

RE: [amibroker] Re: I think the real defect of Amibroker is charting

2007-02-19 Thread Gordon Sutherland
Dan, Chaikin Money Flow is in the Online AB Library - since 2001. Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielwardadams Sent: Tuesday, 20 February 2007 3:38 a.m. To: amibroker@yahoogroups.com Subject

RE: [amibroker] How the backtester choose the stock to trade when multiple outputs

2007-07-23 Thread Gordon Sutherland
Nicholas, Use the function: PositionScore to do this. Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nicholas_mandelbaum Sent: Tuesday, 24 July 2007 4:25 a.m. To: amibroker@yahoogroups.com Subject: [amibroker] How

RE: [amibroker] Foreign Symbol and Foreign FullName

2007-07-28 Thread Gordon Sutherland
Hello Bill, The following example works for me: SetForeign(XAO); Sym = Name(); FName = FullName(); RestorePriceArrays(); Plot(C,,-1,64); Title = Sym ++ FName; Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [amibroker] not able to plot the trin against nasdaq

2007-09-15 Thread Gordon Sutherland
); Plot(MA(ForeignSYMBOL,10),Nasdaq Trin, colorPink,styleLine|styleOwnScale); Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of murthysuresh Sent: Sunday, 16 September 2007 5:28 a.m. To: amibroker@yahoogroups.com Subject

RE: [amibroker] Re: Min Holding Period Conundrum

2007-09-24 Thread Gordon Sutherland
Probably an obvious question but have you checked-out the AFL function: SetOption(HoldMinBars, 30 ); This does not require low level CBI. Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tipequity Sent: Tuesday, 25

RE: [amibroker] Re: Kagi indicator

2007-10-30 Thread Gordon Sutherland
The code below posted by Graham Kavanagh seems to give the same result as MetaStock values. Cheers, Gordon Sutherland _SECTION_BEGIN(Kaji Chart); /*AFL Library Details: Formula Name: Kagi Chart Author/Uploader: Graham Kavanagh - [EMAIL PROTECTED] Date/Time added: 2002-11-29 05:12:31

RE: [amibroker] Mac User - Problems Installing AB 5.02.2

2007-11-27 Thread Gordon Sutherland
Hi Bob, Just a long-shot, but make sure AB is not open when you install the new Beta. Regards, Gordon -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Orlyk Sent: Wednesday, 28 November 2007 3:32 a.m. To: amibroker@yahoogroups.com Subject:

RE: [amibroker] Re: highlighting Value Labels for highs and lows

2007-11-28 Thread Gordon Sutherland
a clue as to how to conditionally color the y-axis background for the value: Prds= Param(Periods,20,2,250,1); HV = H == HHV(H,Prds); LV = L == LLV(L,Prds); Plot( C , , IIf(HV,colorGreen,IIf(LV,colorRed,colorBlack )) , 64 ); Regards, Gordon Sutherland

RE: [amibroker] Re: Sector change

2007-12-05 Thread Gordon Sutherland
Hi Joseph, Brian was correct, I use SnagIt from http://www.techsmith.com/ . I have been using it for about 5 years and find it superb. There is a small license fee to use. Cheers, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [amibroker] Price Percent increase

2008-01-21 Thread Gordon Sutherland
Hi Sheldon, Yes there is. Simply draw your line on the chart and hover your mouse over the line drawn. A pop-up Tooltip window will show you the dates and values of the start and end bars together with their respective values and the percentage increase. Cheers, Gordon -Original

RE: [amibroker] Re: Q regarding removing succeeding signals from HighestSince or LowestSince

2008-01-25 Thread Gordon Sutherland
--- In amibroker@yahoogroups.com, Gordon Sutherland [EMAIL PROTECTED] wrote: Hi Larry, I believe iterating through the price array using loops is the best solution. For those (like me) uncomfortable with looping there is some code that I believe will do what you want in the form of a custom

RE: [amibroker] Stochastics AFL

2008-02-11 Thread Gordon Sutherland
JoeP, Just typos: 1. Place a comma before coloryellow and before colorgreen. This separates arguments two from three in the plot statements. 2. Remove the y in colorygreen. Cheers, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto

RE: [amibroker] Relative Volatility Index

2008-02-10 Thread Gordon Sutherland
Ara, I have the following AFL code for the RVI: // Donald Dorsey's RVI Indicator (Relative Volatility Index?) // Posted to AB Yahoo Groups by Rakesh Sahgal on 23rd April 2007 SD10=StDev(C,10); RVI=RSIa(SD10,10); Plot(RVI,RVI,colorBlack,styleLine); Cheers, Gordon Sutherland

RE: [amibroker] Re: Countdown Line Formula

2008-02-29 Thread Gordon Sutherland
Hello, If you are referring to Daryl Guppy's Count Back Line (CBL) then the following code transcribed by Stephane Carrasset should do the trick (the AFL code plots OK on my machine). Hope this helps, Gordon Sutherland /* Stephane Carrasset's Countback Line (CBL) popularized by Daryl

RE: [amibroker] Re: plotshapes function

2008-03-11 Thread Gordon Sutherland
with the PlotShapes symbols are not the same size/proportions as your laptop. Failing the above, then as Bill suggested, I guess you will need to contact support. Good luck, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [amibroker] Monthly returns report

2008-03-21 Thread Gordon Sutherland
, Gordon Sutherland // Filed by Tomasz Janezco 12th October 2007 as example of using low-level // graphics functions // This example shows the Profit from ~~~Equity Symbol after a system test. // Use Parameters to change the type of graph dispayed. Gordon Sutherland // (GBS) SetBarsRequired

RE: [amibroker] Re: Creating a HHV Indicator

2008-04-04 Thread Gordon Sutherland
(BarIndex()); yH=LastValue(HHV(H,LineFwd)); Plot(C,,-1,64); Line = LineArray( BarCount-(LineFwd+1), yh, BarCount-1, yh, 1,True ); Plot(Line, High Value , colorRed,1 ); _SECTION_END(); Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED

RE: [amibroker] I need some coding help please

2008-04-13 Thread Gordon Sutherland
elegant ways to achieve the same purpose. Regards, Gordon Sutherland _SECTION_BEGIN(Closing Price Ribbon); upbar = C Ref(C,-1); downbar = C Ref(C,-1); UDcol = IIf(upbar, colorGreen,IIf(downbar, colorRed, colorYellow)); //Plot( 5, ,UDcol,styleArea|styleOwnScale|styleNoLabel,0,100

RE: [amibroker] Re: calculating the mean of only some of the observations in an array ?

2008-04-28 Thread Gordon Sutherland
Another approach that does not use loops would be to use the AddToComposite Function (ATC) as this will sum the specific event bar values and then you can divide by a separate ATC that gives you the total number of such events. I just love ATC! Cheers, Gordon Sutherland -Original Message

RE: [amibroker] volume filter plz guide

2008-04-29 Thread Gordon Sutherland
Hi Mahesh, Why not use C * V (Close * Volume) Regards, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mahest72 Sent: Wednesday, 30 April 2008 12:38 a.m. To: amibroker@yahoogroups.com Subject: [amibroker] volume filter plz

RE: [amibroker] can u explain how to use C * V (close * volume) mr gordon

2008-04-29 Thread Gordon Sutherland
by highest or lowest values by clicking in the $ Traded column header I hope this gets you going and I can understand your desire for instant results but you will have to spend much time reading the extensive Help files. Good luck with your trading. Gordon Sutherland -Original

RE: [amibroker] How to alter divider line pixels

2008-07-01 Thread Gordon Sutherland
Hello Perumal, Go to Preferences Charting 'New Look' Charts and check the box. Cheers, Gordon -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of umrperumal Sent: Wednesday, 2 July 2008 5:28 p.m. To: amibroker@yahoogroups.com Subject: [amibroker]

RE: [amibroker] Re: PREV

2008-07-02 Thread Gordon Sutherland
Hi Stan, I attach AFL code below that should do the trick. Cheers, Gordon Sutherland _SECTION_BEGIN(Countback Line); /* Stephane Carrasset's Countback Line (CBL) popularized by Daryl Guppy Refer to AmiBroker Yahoo Forum posting 30th December 2004*/ nR=2; Cbl[nR]=Null; bCBL

RE: [amibroker] scrolling through watchlist

2008-08-15 Thread Gordon Sutherland
key on your keyboard. Cheers, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rr_bt Sent: Saturday, 16 August 2008 3:01 a.m. To: amibroker@yahoogroups.com Subject: [amibroker] scrolling through watchlist hello, i have a 5-window

RE: [amibroker] Copy Drawn Studies from One DB to Another?

2008-09-06 Thread Gordon Sutherland
Pete, One way is to save all your local layouts to global layouts and that way all databases can see the layouts and underlying AFL code. I tend to use Global layouts for all my studies for this reason. Cheers, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto

RE: [amibroker] Close At least 4 of the previous 5 Closes

2008-09-11 Thread Gordon Sutherland
Try the following: HigherClose = C Ref(C,-1); HigherThanLast4 = Sum(HigherClose,5) 4; Plot(HigherThanLast4,,colorBlue,2); Cheers, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ozzyapeman Sent: Friday, 12 September

RE: [amibroker] OHLC values in crosshair

2008-09-22 Thread Gordon Sutherland
Use the ToolTip function in your AFL at the same time as you select crosshairs and hey presto OHLC and whatever you define. Cheers, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carl Vanhaes Sent: Monday, 22 September 2008 10

RE: [amibroker] ATR of Foreign Synbol

2008-10-17 Thread Gordon Sutherland
Graham, Check-out the SetForeign() function in the Help files. This should enable you to get the ATR for your foreign symbol. Cheers, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Graham Johnson Sent: Friday, 17 October 2008

RE: [amibroker] Re: How to convert a string to non-string characters?!

2008-11-27 Thread Gordon Sutherland
Yes I've been getting the same email many times also. I'm about to do a special Norton Scan! Cheers, Gordon Sutherland -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Herman Sent: Friday, 28 November 2008 5:54 a.m. To: Barry Scarborough

Re: [amibroker] (unknown)

2010-02-24 Thread Gordon Sutherland
to W7 was with disappearing files (compatibility files) and so I switched-off W7's UAC feature and life has been sweet since! Cheers, Gordon Sutherland From: Sidney Kaiser Sent: Thursday, February 25, 2010 9:42 AM To: amibroker@yahoogroups.com Subject: [amibroker] (unknown) I missed

[amibroker] Re: Problem getting CMAE Optimizer to run

2010-06-07 Thread Gordon Sutherland
(EMA(C,S),C ); MaxPos = 12; SetOption(MaxOpenPositions, MaxPos); PositionSize = -100/MaxPos; Thanks, Gordon Sutherland

Re: [amibroker] Re: Problem getting CMAE Optimizer to run

2010-06-07 Thread Gordon Sutherland
caused my problem - some incompatibility or corruption I suppose. Gordon Sutherland From: Mike Sent: Tuesday, June 08, 2010 1:03 PM To: amibroker@yahoogroups.com Subject: [amibroker] Re: Problem getting CMAE Optimizer to run Your script ran fine under Win 7 64 bit using standard trial 5.30.0

Re: [amibroker] Re: Problem getting CMAE Optimizer to run

2010-06-08 Thread Gordon Sutherland
. Thanks and Regards, Gordon Sutherland From: Ton Sieverding Sent: Tuesday, June 08, 2010 6:53 PM To: amibroker@yahoogroups.com Subject: Re: [amibroker] Re: Problem getting CMAE Optimizer to run No problems at all ... XPPro with 5.30.1 ( 32bit ) ... Regards, Ton. - Original Message