[amibroker] Re: Mark Peaks

2009-08-14 Thread directaim
It works! Mike, thanks for the code and the clear explaination. directaim --- In amibroker@yahoogroups.com, "Mike" wrote: > > Peak returns actual peak values, not just 1 (true) or 0 (false). > > Therefore, when you multiply the result of Peak by shapeCircle (a scale

[amibroker] Re: Mark Peaks

2009-08-14 Thread directaim
I have tried also: PvtPeak= Peak(H, 5, 1); PvtH= ValueWhen(H== PvtPeak, H ); or PvtH= ValueWhen(PvtPeak== H, H ); PlotShapes(shapeCircle*PvtH, colorRed, 0, H, 20) ; But this also fails. DirectAim

[amibroker] Mark Peaks

2009-08-14 Thread directaim
pes appear? DirectAim

[amibroker] Re: In backtest, why are trades omitted from results?

2009-06-16 Thread directaim
Thanks, Ed. I hadn't looked at this before and looking at it it did dawn on me what was the cause of the problem. directaim --- In amibroker@yahoogroups.com, "Ed Hoopes" wrote: > > Have you tried turning on "Detailed Log"? > > If not, go to Automatic Anal

[amibroker] In backtest, why are trades omitted from results?

2009-06-15 Thread directaim
size shrinking" has been tried. I would be grateful for any ideas or suggestions. directaim

[amibroker] Re: Using mouse wheel.

2008-06-22 Thread directaim
Tks, reinsley, for the xcl tip --- In amibroker@yahoogroups.com, "reinsley" <[EMAIL PROTECTED]> wrote: > > I use this stuff to scroll into Excel Editor. > > http://www.geocities.com/SiliconValley/2060/freewheel.html > > regards > > --- In amibroker@yahoogroups.com, "imorf69" wrote: > > > >

[amibroker] Re: Exit Coding

2008-05-07 Thread directaim
tract or add sections as needed. The good news is [in my experience], to explore trading methods the necessity for loops is rare. directaim == The way I see it, there is a logical problem with trying to do this with purely array maths. I think it has to be done iteratively us

[amibroker] Re: Exit Coding

2008-05-07 Thread directaim
sibly subtract or add sections as needed. The good news is in my experience, to explore trading methods the necessity for loops is rare. directaim == The way I see it, there is a logical problem with trying to do this with purely array maths. I think it has to be done iteratively us

[amibroker] Re: simple formula translation

2008-05-07 Thread directaim
Or, is this what was asked for? The 130 period exponential MA (closes) has been rising for 4 days RisingMA= BarsSince( EMA(C,130)<= Ref( EMA(C,130), -1) )== 4; --- In amibroker@yahoogroups.com, "PW" <[EMAIL PROTECTED]> wrote: > > And the below is for Exponential MA, that was asked for ;-) >

[amibroker] Re: Live Charts

2008-05-05 Thread directaim
Yahoo msg #122258 From: Tomasz Janeczko Subject: Livecharts to AmiQuote Date: 2008-04-02 10:09:00 GMT (4 weeks, 5 days, 8 hours and 18 minutes ago) Hello, Today we received the following information from eSignal: " The new version of LiveCharts uses a different method of exporting data and it

[amibroker] SellPrice Based on BuyPrice

2008-05-05 Thread directaim
r minus a fixed amount? Thank you, DirectAim //===XIT ATRDy= ATR(14); CrshStpMult= 1; TargMult= 1; //XIT LOOP 1 FOR LNGS=== BuyPrice= C; Sell= 0; TargLvlLng=0; CrshStpLvlLng= 0; TargLvlLngARRAY=Null; CrshStp

[amibroker] SellPrice Based on the BuyPrice

2008-04-28 Thread directaim
When(Short, ShortPrice)+ 1* Atr1; A loop for: BI= BarIndex(); DysInTrade= 10; nBarXit= ( BI>= ValueWhen(Buy, BarIndex )+ DysInTrade ) AND Cond1; Thank you kindly, DirectAim

[amibroker] Re: amiquote and livecharts?

2008-01-09 Thread directaim
nt" and select "SERVER > #1". > > d > > > -Original Message----- > > From: amibroker@yahoogroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of directaim > > Sent: Wednesday, January 09, 2008 6:22 PM > > To: amibroker@yahoogroups.com &

[amibroker] Re: amiquote and livecharts?

2008-01-09 Thread directaim
dingo, how is server #2 different from server #3 ? --- In amibroker@yahoogroups.com, "dingo" <[EMAIL PROTECTED]> wrote: > > I am. Do you have an account? Are you using server #2? > > d > > > -Original Message- > > From: amibroker@yahoogroups.com > > [mailto:[EMAIL PROTECTED] On Beh

[amibroker] Re: amiquote and livecharts?

2008-01-09 Thread directaim
dingo, how is server #2 different from server #3 ? --- In amibroker@yahoogroups.com, "dingo" <[EMAIL PROTECTED]> wrote: > > I am. Do you have an account? Are you using server #2? > > d > > > -Original Message- > > From: amibroker@yahoogroups.com > > [mailto:[EMAIL PROTECTED] On Beh

[amibroker] Re: Script or Program to Run Amiquote Each Day

2007-12-25 Thread directaim
http://www.amibroker.com/devlog/wp- content/uploads/2006/06/ReadMeAQ1900.html new command line switches accepted: /download - triggers automatic download on start /close - causes automatic close of AmiQuote after download Note that AmiQuote currently supports a new command line parameter: /autou

[amibroker] Re: Simple Buy and Hold System

2007-12-05 Thread directaim
A possible alternative method might be: Ticker1 = "HPQ"; Buy = Name()== Ticker1; Sell = 0; Which may show mutiple Buy symbols on charts but will show correct results in the backtester --- In amibroker@yahoogroups.com, "Walter Lepore" <[EMAIL PROTECTED]> wrote: > > Hi Members > > Please bear w

[amibroker] Re: Simple Buy and Hold System

2007-12-05 Thread directaim
A possible alternative method might be: Ticker1 = "HPQ"; Buy = Name()== Ticker1; Sell = 0; --- In amibroker@yahoogroups.com, "Walter Lepore" <[EMAIL PROTECTED]> wrote: > > Hi Members > > Please bear with me. I am trying to write a simply Buy and Hold system > using only one stock (HPQ-Hewlit

[amibroker] Override 'Initial equity'

2007-11-27 Thread directaim
ze' but the setting 'initial equity' does not seem to work as an 'InitialEquity' function. Thank you, directaim >From manual: Initial equity - defines the size of your account. In "Individual" backtest it is per-symbol initial equity. You can also c

[amibroker] Re: Block AmiQuote from updating

2007-11-02 Thread directaim
> > d > > > -Original Message- > > From: amibroker@yahoogroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of directaim > > Sent: Friday, November 02, 2007 11:03 AM > > To: amibroker@yahoogroups.com > > Subject: [amibroker] Re: Block AmiQuote f

[amibroker] Re: MAE & MFE

2007-11-02 Thread directaim
http://finance.groups.yahoo.com/group/amibroker/message/109281 http://finance.groups.yahoo.com/group/amibroker/message/109289 http://finance.groups.yahoo.com/group/amibroker/message/109290 http://finance.groups.yahoo.com/group/amibroker/message/109301 http://finance.groups.yahoo.com/group/amibroke

[amibroker] Re: Live Charts

2007-11-02 Thread directaim
Hi Tony G I am also getting downloads of data earlier than the IB current prices. I don't know how to fix it, but, Quote.com will often respond to queries sent to: mcsupport AT mail.esignal.com tho the support phone number for Quote.com: 1 510 785 1254 seems often on an indefinate hold.

[amibroker] Re: Block AmiQuote from updating

2007-11-02 Thread directaim
s.com > > [mailto:[EMAIL PROTECTED] On Behalf Of directaim > > Sent: Thursday, November 01, 2007 4:16 PM > > To: amibroker@yahoogroups.com > > Subject: [amibroker] Block AmiQuote from updating > > > > Is there a setting > > to permantly block AmiQuote &

[amibroker] Re: reverse RSI calculation

2007-11-01 Thread directaim
flowridej Below was posted previously by Fred Tonetti. --- From: Fred <[EMAIL PROTECTED]> Subject: Generalized Price Required to Meet am Indicator Goal I had posted this along time ago ... You supply: - The array in the first state

[amibroker] Block AmiQuote from updating

2007-11-01 Thread directaim
Is there a setting to permantly block AmiQuote from updating a current historical Data Base when I unintentionally start an update from a .tls file which contains a set of tickers from a different Data Base? Removing these tickers is a chore.

[amibroker] Re: Quote.com Discrepencies

2007-10-05 Thread directaim
Since esignal took over Quote.com they will often respond to queries sent to: mcsupport AT mail.esignal.com tho the support phone number for Quote.com: 1 510 785 1254 is always on an indefinate hold. --- In amibroker@yahoogroups.com, "dougtrade" <[EMAIL PROTECTED]> wrote: > > > I'm using A

[amibroker] Re: Quote.com Discrepencies

2007-10-05 Thread directaim
Re: Quote.com Discrepencies Since esignal took over Quote.com they will often respond to queries sent to: "[EMAIL PROTECTED]" tho the support phone number for Quote.com: 1 510 785 1254 is always on an indefinate hold. --- In amibroker@yahoogroups.com, "dougtrade" <[EMAIL PROTECTED]> wrot

[amibroker] Re: Quote.com Discrepencies

2007-10-05 Thread directaim
Since esignal took over Quote.com they will often respond to queries sent to: [EMAIL PROTECTED] tho the support phone number for Quote.com: 1 510 785 1254 is always on an indefinate hold. --- In amibroker@yahoogroups.com, "dougtrade" <[EMAIL PROTECTED]> wrote: > > > I'm using AmiQuote to up

[amibroker] Re: best practise for maintaining amibroker stuff

2007-09-05 Thread directaim
with one double click. Regards, directaim --- In amibroker@yahoogroups.com, "murthysuresh" <[EMAIL PROTECTED]> wrote: > > Acronis is complete backup and recovery. > 1. If i create a new database, i should be able to use my current > settings without much thinkin

[amibroker] Buy and Short different tickers.

2007-08-28 Thread directaim
ts' is shown as 1000 and P/L seems calculated at $1 per point rather than $50 per point. Is there a code I could use to get the correct results ? directaim

[amibroker] Re: Help on predicting next day price for RSI cross!

2007-08-23 Thread directaim
idumall, this may be what you are looking for. It was posted some time back by Fred Tonetti: From: Fred <[EMAIL PROTECTED]> Subject: Generalized Price Required to Meet am Indicator Goal You supply: - The array in the first statement ( Assumedly Price ) - The Indicator in the Calc = statement -

[amibroker] Amiquote no longer updates files

2007-07-27 Thread directaim
Amiquote 1.94 has been updating tickers fine till now. But, now the files are no longer updated. Now when I 'Start download' from any data source on any size list for all symbols 'Waiting...' changes to 'Initial wait...' but the checkbox remains checked the number of completed downloads and number

[amibroker] Re: MACD Predictor - Code continued

2007-06-19 Thread directaim
// ## Title = Name ( ) + " " + Date ( ) + EncodeColor( colorLightOrange ) +" MACD=" + WriteVal ( MACDlast ) + EncodeColor(colorOrange ) +" SIGNAL=" + WriteVal ( SignalLAST ) //+ EncodeColor(colorOrange ) + //"\nThe

[amibroker] Re: MACD Predictor

2007-06-19 Thread directaim
George, I believe that what you want has already been done by Dimitris Tsokakis. For thread see: http://elitetrader.com/vb/showthread.php? s=&threadid=45378&highlight=The+probable+Cross+between+MACD+and+its+Si gnal directaim // The probable Cross between MACD and its Signal, by D.

[amibroker] Re: 'CategoryRemoveSymbol' dosn't remove symbols.

2007-06-05 Thread directaim
Fred Thank you for this code which will immediately empty any chosen WatchList without processing the individual tickers that exist on that list. directaim --- In amibroker@yahoogroups.com, "Fred" <[EMAIL PROTECTED]> wrote: > > There's no processing of individual symn

[amibroker] Re: 'CategoryRemoveSymbol' dosn't remove symbols.

2007-06-04 Thread directaim
Yes ! For 'CategoryRemoveSymbol' to do its job the symbol must be processed. When I add them in the scan, they are removed. Thanks, Graham, for the last piece of the puzzle. directaim --- In amibroker@yahoogroups.com, Graham <[EMAIL PROTECTED]> wrote: > > are the o

[amibroker] Re: 'CategoryRemoveSymbol' dosn't remove symbols.

2007-06-04 Thread directaim
art with an old list which had prior symbols the old symbols are not deleted, tho the new symbols from an exploration will be added to, and deleted from, the the old remaining list using the above statements. directaim --- In amibroker@yahoogroups.com, "dingo" <[EMAIL PROTECTED]>

[amibroker] Re: 'CategoryRemoveSymbol' dosn't remove symbols.

2007-06-04 Thread directaim
Tomasz, I know little about coding and code from examples. I was trying the possibilites from code examples I have seen. Thanks for your response and thanks for the tip. I will keep in mind the efficient version in the future. directaim --- In amibroker@yahoogroups.com, "Tomasz Jan

[amibroker] 'CategoryRemoveSymbol' dosn't remove symbols.

2007-06-04 Thread directaim
I want to empty a watch list. But all symbols remain in List 1, wether I use at the beginning of my scan the statement: CategoryRemoveSymbol( "", categoryWatchlist, 1 ); or the statements: for(i=1;i 0 ) { CategoryRemoveSymbol( "", categoryWatchlist, 1 ); } . What am I doing wrong? [N

[amibroker] Re: MAE and MFE

2007-04-17 Thread directaim
Maximum AdverseExcursion Maximum Favorable Excursion --- In amibroker@yahoogroups.com, "amarilloblanco" <[EMAIL PROTECTED]> wrote: > > Could someone give a good explination about what means MAE and MFE when > I run on AA backtest. > I tried to find on Help, but i didn't find it. > Tia > Edua

[amibroker] DateNum() format to conventional format

2007-04-17 Thread directaim
My exploration shows a date in DateNum() format [eg. 990101 or 1010101]. Is there a way to have it recorded in conventional format [eg. mmdd] ? In the library there are formulas to convert, which I would like to use, [See library formula example below] but how are the formula results used in

[amibroker] Switching MAs according to the position of the Close.

2007-02-06 Thread directaim
/* Switching MAs according to the position of the Close. In my code, if the close is below yesterdays 20MA of the lows I want to use the 20MA of the highs, [ MA(H,20) ] until a close above the 20MA of the highs, then I want to switch to the 20MA of the lows. [ MA(L,20) ] I am using: */ //

[amibroker] Re: Date of the Highest High

2007-01-31 Thread directaim
irements > http://www.aflwriting.com > > > On 31/01/07, directaim <[EMAIL PROTECTED]> wrote: > > In exploration > > how do I find > > the date of the highest high > > for any paticular ticker? > > > > My results are dates that are not the highes

[amibroker] Date of the Highest High

2007-01-30 Thread directaim
In exploration how do I find the date of the highest high for any paticular ticker? My results are dates that are not the highest high and sometimes several dates. I have tried many methods all with the same results, such as: //DateHiHi= Ref(DateNum(), -HHVBars(H, BarIndex()) ); //DateHiHi= Ref

[amibroker] Re: Does backtester have an initial breakeven stop capability?

2006-07-09 Thread directaim
Hi scourt2000 and Allan Because I am new to coding and not confident of my code I have not posted a response. But, as no AFL breakeven stop has been posted, here is the code I use, which was developed with the help of Graham, which you could check for correctness. //=B.E. STP STRTS =