[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

[amibroker] Re: Date of the Highest High

2007-01-31 Thread directaim
, 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 highest high and sometimes several dates. I have tried many methods all with the same results, such as: //DateHiHi

[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] 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

[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 Eduardo

[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;iBarCount;i++) { CategoryRemoveSymbol( , categoryWatchlist, 1 ); } or the statements:

[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 Janeczko

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

2007-06-04 Thread directaim
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] wrote: The numbers are 0 based I believe

[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 old symbols included in your

[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 symnbols needed ... Simply running

[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=45378highlight=The+probable+Cross+between+MACD+and+its+Si gnal directaim // The probable Cross between MACD and its Signal, by D. Tsokakis

[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] 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

[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] Buy and Short different tickers.

2007-08-28 Thread directaim
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: 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 thinking. 2. If i want to install Amibroker

[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 update

[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] wrote:

[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

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

[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

[amibroker] Re: Block AmiQuote from updating

2007-11-02 Thread directaim
@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 from updating Dingo, thanks for your suggestion. I understand how, using the switches shown

[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
. --- In amibroker@yahoogroups.com, dingo [EMAIL PROTECTED] wrote: read the readme file in your Amiquote dir. There are command line arguments you can use via a bat file. d -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of directaim

[amibroker] Override 'Initial equity'

2007-11-27 Thread directaim
' 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 control round lot size directly from your AFL formula using RoundLotSize

[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 with me. I

[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-Hewlitt

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

[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 Behalf Of

[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 Behalf Of

[amibroker] Re: amiquote and livecharts?

2008-01-09 Thread directaim
: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of directaim Sent: Wednesday, January 09, 2008 6:22 PM To: amibroker@yahoogroups.com Subject: [amibroker] Re: amiquote and livecharts? dingo, how is server #2 different from server #3 ? --- In amibroker@yahoogroups.com

[amibroker] SellPrice Based on the BuyPrice

2008-04-28 Thread directaim
for: BI= BarIndex(); DysInTrade= 10; nBarXit= ( BI= ValueWhen(Buy, BarIndex )+ DysInTrade ) AND Cond1; Thank you kindly, DirectAim

[amibroker] SellPrice Based on BuyPrice

2008-05-05 Thread directaim
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; CrshStpLvlLngARRAY= Null; //XIT LOOP

[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] 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: Exit Coding

2008-05-07 Thread directaim
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 using

[amibroker] Re: Exit Coding

2008-05-07 Thread directaim
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 using

[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 imorf69@ wrote: Hi, in

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

2009-06-15 Thread directaim
would be grateful for any ideas or suggestions. directaim

[amibroker] Mark Peaks

2009-08-14 Thread directaim
? DirectAim

[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] 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 sfclimb...@... wrote: Peak returns actual peak values, not just 1 (true) or 0 (false). Therefore, when you multiply the result of Peak by shapeCircle (a scaler constant