Re: [amibroker-ts] Who has a list of the AmiBroker trading systems?

2007-02-06 Thread Laster
If what you want is a canned system, you probably don't want Amibroker. If what you want is to develop a system you probably don't want 80 canned systems. Two different products with two different goals. good luck Jerry gray_1946 wrote: = OK, I just bought (on a 30-60 day

[amibroker] Re: Is it possible to plot a 60m EMA on a Daily chart?

2007-02-04 Thread Jerry Laster
can only go to longer timeframes, eg daily over 60minute chart -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 04/02/07, Jerry Laster [EMAIL PROTECTED] wrote: I am playing with timeframeset, etc., but I

[amibroker] Second Cross

2007-02-03 Thread Jerry Laster
Hi, Let's say I want to buy on the second cross of indicator1 and indicator2. Is there a way to set this up without a loop? Thanks, Jerry

[amibroker] Creating Arrays

2007-01-29 Thread Jerry Laster
Hi, How do you go creating your own array? In other languages you can create an array an populate it. I can't find how to do it in AFL. Thank, Jerry

[amibroker] Re: Creating Arrays

2007-01-29 Thread Jerry Laster
http://www.aflwriting.com On 30/01/07, Jerry Laster [EMAIL PROTECTED] wrote: Hi, How do you go creating your own array? In other languages you can create an array an populate it. I can't find how to do it in AFL. Thank, Jerry Please note that this group is for discussion

[amibroker] Re: Creating Arrays

2007-01-29 Thread Jerry Laster
PROTECTED] wrote: one way to do this would be: yourArray = IIF(signal1,C,Null); rgds, Ed - Original Message - From: Jerry Laster To: amibroker@yahoogroups.com Sent: Monday, January 29, 2007 9:09 PM Subject: [amibroker] Re: Creating Arrays Yes, ma, c, H, etc

[amibroker] Re: Creating Arrays

2007-01-29 Thread Jerry Laster
- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Laster Sent: Monday, January 29, 2007 16:17 To: amibroker@yahoogroups.com Subject: [amibroker] Re: Creating Arrays I think that that code would overwrite the value of yourarray with each new signal1. I

[amibroker] Re: Static/Persistent Arrays

2007-01-25 Thread Jerry Laster
Hi, Is there any way to create a composite from the indicator window? I'am trying to create a trailing stop. If a new signal is found while in the trade, I want to change the stop to that signal if it's lower/ higher than the previous one: StopPS1= StaticVarGet(ShortTrailing) +(R);

Re: [amibroker] Re: Not Compounding profits in backtester

2007-01-10 Thread Jerry Laster
Have you tried, SetOption( InitialEquity, 10 ) at the begining of the code? That will not take into account any loses, but will always trade with that fixed amount. Jerry On Mon, 08 Jan 2007 23:09:39 -0500, brentonfx [EMAIL PROTECTED] wrote: Graham I don't actually want to size

Re: [amibroker] Backtest Results

2007-01-10 Thread Jerry Laster
If it's in the trade description, it's because the exit is due to a stop, not a signal. On Wed, 10 Jan 2007 15:39:56 -0500, troll [EMAIL PROTECTED] wrote: Minor question but unable to find anything in the reference material, settings or help files. Now getting Short(21), Long(15) (or some

[amibroker] Help with code

2006-12-23 Thread Jerry Laster
Hi, I am stuck here. I am writing the following conditions, Fail=IIf((Index 1 AND trend2 1) AND CBBandBot (Close, 20, 0.8 ), VarSetText(ShortFlag+Name(),Fail ), StaticVarRemove( ShortFlag) ); Downtrend= IIf(C1Ref(BBandBot (Close, 20, 0.8), -1) AND CBBandBot (Close, 20, 0.8 ) AND trend2=1

[amibroker] Help with code

2006-12-23 Thread Jerry Laster
i, I am stuck here. I am writing the following conditions, Fail=IIf((Index 1 AND trend2 1) AND CBBandBot (Close, 20, 0.8 ), VarSetText(ShortFlag+Name(),Fail ), StaticVarRemove( ShortFlag) ); Downtrend= IIf(C1Ref(BBandBot (Close, 20, 0.8), -1) AND CBBandBot (Close, 20, 0.8 ) AND trend2=1 AND

Re: [amibroker] OT Merry Christmas

2006-12-22 Thread Jerry Laster
I second that. Happy holidays everybody. On Fri, 22 Dec 2006 02:12:50 -0500, Graham [EMAIL PROTECTED] wrote: Wishing Tomasz, Marcin and everyone in Amibroker community a very merry Christmas Thank you Tomasz for the great updates to the program and your support during the year and look

[amibroker] Recent changes to IB calls?

2006-12-21 Thread laster
Hi, Until yesterday the following code reported correctly short and long positions. Now is sending orders even if position is negative. Any clues? if( Position 0 ) Sz= ibc.getpositionsize(Name()); { // retrieve orderID from previous run, will be

[amibroker] Any difference?

2006-12-21 Thread Jerry Laster
Hi, Is there any difference between implementing Buy= Reason1 OR Reason2; As oposed to Buy= Reason1; Buy=Reason2; What's the best practice? Thanks Jerry -- Kind regards, Jerry Please note that this group is for discussion between users only. To get support from AmiBroker please send an

Re: [amibroker] Any difference?

2006-12-21 Thread Jerry Laster
Thanks a lot. Back to the drawing board. On Thu, 21 Dec 2006 16:52:19 -0500, Graham [EMAIL PROTECTED] wrote: Buy= Reason1 OR Reason2; this will use either condition to signal a buy Buy= Reason1; this will set uparray for buy signals using only reason1 Buy=Reason2; this will overwite

Re: [amibroker] AmiBroker VS Wealth-Lab ?

2006-12-13 Thread Jerry Laster
You can do this with simple code by substracting the Max system drawdown % from the available funds. It's not perfect but it will give you an aproximation to Van Tharp's approach. Other than that, you need to follow Graham advice for coding it. Jerry On Tue, 05 Dec 2006 06:27:47 -0500,

[amibroker] Help Understanding How Backtesting picks trades

2006-12-13 Thread Jerry Laster
Hi, I notice differences between real time trading and backtesting. Where can I find detailed information on how the backtester picks the signals it uses? -- Kind regards, Jerry Please note that this group is for discussion between users only. To get support from AmiBroker please send an

Re: [amibroker] Help Understanding How Backtesting picks trades

2006-12-13 Thread Jerry Laster
, but not known realtime). There are many other ways to get future looking results too. Have you used the Check button in the editor to test? -- Terry -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Laster Sent: Wednesday, December

Re: [amibroker] IB Plugin Question

2006-12-11 Thread Jerry Laster
Thanks Tomasz! On Wed, 06 Dec 2006 05:45:02 -0500, Tomasz Janeczko [EMAIL PROTECTED] wrote: http://www.amibroker.com/guide/afl/afl_view.php?strtonum http://www.amibroker.com/at/ Best regards, Tomasz Janeczko amibroker.com - Original Message - From: Jerry Laster [EMAIL

[amibroker] IB Plugin Question

2006-12-05 Thread Jerry Laster
eqr=ibc.GetAccountValue(TotalCashBalance); eqr is a string. Is there any way to get a numeric value? Where is ibc.GetAccountValue documented? Thanks again in advance Jerry -- Kind regards, Jerry Please note that this group is for discussion between users only. To get support from AmiBroker

Re: [amibroker] Re: Avoiding duplicate trades with IB and Forex

2006-12-04 Thread Jerry Laster
a function like getforexsize() which is doing it automatically. Be careful about the sign of ther currency balance, depending on the contract you want trade. Hope this helps Ly --- In amibroker@yahoogroups.com, laster [EMAIL PROTECTED] wrote: Hi, When trading forex checking the position

Re: [amibroker] ConTEXT Templates (was Re: AFL editor )

2006-11-19 Thread Jerry Laster
The sample code you mention uses the command TransmitOrder. I didn't find any information about it on the help system. Does it exist? What's the story about it? Jerry On Mon, 13 Nov 2006 17:40:43 -0500, Mark H [EMAIL PROTECTED] wrote: Sorry I misread your question. I use this sample code as

Re: [amibroker] ConTEXT Templates (was Re: AFL editor )

2006-11-19 Thread Jerry Laster
/at/ - Original Message - From: Jerry Laster [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Sunday, November 19, 2006 1:51 PM Subject: Re: [amibroker] ConTEXT Templates (was Re: AFL editor ) The sample code you mention uses the command TransmitOrder. I didn't find any information about

Re: [amibroker] Buy. False/True?

2006-11-04 Thread Jerry Laster
:[EMAIL PROTECTED] On Behalf Of laster Sent: Tuesday, October 10, 2006 21:21 To: amibroker@yahoogroups.com Subject: [amibroker] Buy. False/True? I was hoping the function Buy to return a False/True that I could use in an if or while statement. I can't figure it out how to access

Re: [amibroker] Re: OT: Statistics

2006-10-26 Thread Jerry Laster
of this type of application. I am looking for others. Hopefully there is an author around who can take me further on the subject. BrianB2. --- In amibroker@yahoogroups.com, Jerry Laster [EMAIL PROTECTED] wrote: Not really. My guess is that brian is trying to find a book on the use of statistics

Re: [amibroker] OT: Statistics

2006-10-25 Thread Jerry Laster
Not really. My guess is that brian is trying to find a book on the use of statistics applied to stock trading. Haven't read any books that deal with probability of trades and measuring them. The most advanced use of statistics I know is the afore mentioned Van Tharp book and other books that

[amibroker] Some way around?

2006-10-24 Thread Jerry Laster
Hi, I am using OLE for intraday data. No need telling that it takes years to get years of data (because there is no backfill available). Is there a place where I can download free historical intraday data? I am using TCNet and OLE. Thanks in advance, Jerry -- Using Opera's revolutionary

Re: [amibroker] Help to Lock in the Actual Buyiny Date

2006-10-24 Thread Jerry Laster
There is a chandelier trailing stop code in the library. On Tue, 24 Oct 2006 11:26:31 -0400, darwin_ding [EMAIL PROTECTED] wrote: Hello, I would like to code some sort of chandelier trailing stop (not the built-in ATR trailing stop) and the stop line will trail the HHV since the actual

Re: [amibroker] missing new chart menu under Window

2006-10-23 Thread Jerry Laster
File New Default Chart On Mon, 23 Oct 2006 08:45:46 -0400, Paul Yarwood [EMAIL PROTECTED] wrote: what the heck did I do. Under the Window Menu I have only New Linked Chart menu item and no New Chart menu item running 4.871 beta. Ami has been fine this is new this am

Re: [amibroker] backtesting contracts

2006-10-23 Thread Jerry Laster
Would testing SP-500 solve your problem? The patterns should match (although not the values). Not sure about the point value changing though (I only trade e-minis). On Mon, 23 Oct 2006 15:50:01 -0400, eric paradis [EMAIL PROTECTED] wrote: Can anyone explain how to backtest the SP500 back

Re: [amibroker] Re: Does Anybody know this website

2006-10-23 Thread Jerry Laster
Well, they tell you how much you could make if you are perfect. I didn't find any description of a trade: bot date price, sold date price. Many of this places will pick winners for show. The important issue is how many good/bad trades and how much you lose on the average bad trade. 80/20

RE: [amibroker] Re: Scan for Bulkowski's chart patterns

2006-10-20 Thread laster
Ive successfully traded triangles for years, and yes, there are many conditional parameters that cant be coded practically (for instance seasonality). To give you 3 recent examples: GOOG broke up off a triangle pattern, JCP broke off a pennant pattern and went on to test its historic

[amibroker] Is it possible to add columns to the scan and backtest screens?

2006-10-18 Thread laster
I would like to add a column with the signal to the back test or scan screen results. I found in the help how to add them to the explore screen. Is it possible to add them to the other screens? TIA, Jerry __._,_.___ Please note that this group is for discussion between users

RE: [amibroker] Re: Amibroker vs. other software

2006-10-16 Thread laster
Your code should be fixed with Buy = C Ref(C, -1); BuyPrice=C; Sell = C Ref(C, -1); SellPrice=C; Short = Sell; ShortPrice= C; Cover = Buy; CoverPrice=C; And the returns are much lower. Get your point anyway. Jerry From: amibroker@yahoogroups.com

RE: [amibroker] Help understanding Arrays

2006-10-15 Thread laster
PROTECTED]ps.com [mailto:[EMAIL PROTECTED]ps.com] On Behalf Of laster Sent: Saturday, October 14, 2006 11:21 To: [EMAIL PROTECTED]ps.com Subject: [amibroker] Help undestanding Arrays Hi, Still trying to figure out working with Arrays, and its apparent there is something I am not getting. My

[amibroker] Help undestanding Arrays

2006-10-14 Thread laster
Hi, Still trying to figure out working with Arrays, and its apparent there is something I am not getting. My understanding of the following is: If in the i bar the cross of the MACD was true, then Buy at the High. However, Amibroker is buying in several circumstances (including when

RE: [amibroker] Re: Help undestanding Arrays

2006-10-14 Thread laster
points you need to use the BuyPrice Array ... PS ... Buying at the H or L price of the current bar is never a good idea because these are unknown until the bar is no longer current. --- In [EMAIL PROTECTED]ps.com, laster [EMAIL PROTECTED] wrote: Hi, Still trying to figure out working

RE: [amibroker] Re: ExRem and Short/Cover

2006-10-12 Thread laster
What does it mean in English? Equity(1,0) and why does it remove the surplus signals? TIA Jerry From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Graham Sent: Thursday, October 12, 2006 20:25 To: amibroker@yahoogroups.com Subject: Re:

RE: [amibroker]

2006-10-12 Thread laster
Its missing PolyFit.afl. Is it downloadable from somewhere? Thanks Jerry From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Fred Tonetti Sent: Wednesday, October 11, 2006 20:16 To: amibroker@yahoogroups.com Subject: [amibroker]

RE: [amibroker]

2006-10-12 Thread laster
Ooops. Too late for me. Thanks From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Fred Sent: Thursday, October 12, 2006 22:04 To: amibroker@yahoogroups.com Subject: Re: [amibroker] RTFP --- In [EMAIL PROTECTED]ps.com, laster [EMAIL

RE: [amibroker] AmiBroker 4.86.0 BETA released

2006-10-11 Thread laster
Tomasz, To generate signals for Interactive Brokers, do I continually scan the symbols I want to trade? If I incorporate the trading rules to the chart, do I need a chart refresh (i.e., show the chart) or they will triggered as new data comes in? Thanks in advance, Jerry

[amibroker] Avoiding duplicate trades with IB and Forex

2006-10-10 Thread laster
Hi, When trading forex checking the position of the trade does not work to avoid duplicated trades (because there is no position to speak of). Did anyone find a way to avoid duplicated trades when trading forex? I dont want to limit the size of a trade because I may want to pyramid.

RE: [amibroker] Plotting Fib levels from Daily charts into Hourly charts

2006-10-08 Thread laster
Yes. You need to create the formula with TimeFrameSet in daily and use TimeFrameExpand to show the information on the hourly chart. Plenty of information on the help files. Jerry From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Padhu Sent:

[amibroker] Date of last Higher High/Lower Low

2006-10-06 Thread laster
Hi, I am trying to get the datenum or barindex of the last high and last low. My attempts to this point are not fructiferous. L1 = L Ref(LLV(L,500),-1); dd= ValueWhen( L1,BarIndex() ) ; Will provide a date but within the 500 period, or any other period. What I really need

RE: [amibroker] PositioningSize and futures

2006-10-05 Thread laster
What you could do is to back test the strategy and return the historical risk for that kind of trade and apply it to the formula Graham provided. That way you would have your second pass during at time of entering the trade. Jerry From: amibroker@yahoogroups.com

[amibroker] Easy way?

2006-10-04 Thread laster
I want to have several possible rules for entry and exit. These rules should have scores (AFL provides that) but I dont want to use OR. I was thinking about creating a function, assigning the score to the signal and then passing the result to the buy or sell function. Is there an easier

RE: [amibroker] Re: IBC sending two orders, but should send only one

2006-10-01 Thread laster
Guys, I am trying to add futures and forex contracts to the AMI database from IB and I dont seem to be able to enter the right symbol. The only ones working are for stock. The plug-in reads Consult symbology guide. Where can I find it??? Thanks in advance, Jerry From:

RE: [amibroker] Re: IBC sending two orders, but should send only one

2006-10-01 Thread laster
://www.amibroker.com/ib.html -- Terry -Original Message- From: [EMAIL PROTECTED]ps.com [mailto:amibroker@yahoogroups.com] On Behalf Of laster Sent: Sunday, October 01, 2006 13:14 To: [EMAIL PROTECTED]ps.com Subject: RE: [amibroker] Re: IBC sending two orders, but should send only one Guys

[amibroker] Cover = Now(4)==155800;

2006-09-29 Thread laster
Shouldnt the above line prevent overnight short positions? Thanks in advance for any comments, Jerry __._,_.___ 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

RE: [amibroker] Conditional #include

2006-09-29 Thread laster
, colorwhite); Bill - Original Message - From: laster To: [EMAIL PROTECTED]ps.com Sent: Friday, September 22, 2006 11:29 PM Subject: [amibroker] Conditional #include Hi, I am trying to create a ParamToggle group that would include different files

RE: [amibroker] Cover = Now(4)==155800;

2006-09-29 Thread laster
-wire.net.au/~eb_kavan/ab_write.htm On 30/09/06, laster [EMAIL PROTECTED]net wrote: Shouldn't the above line prevent overnight short positions? Thanks in advance for any comments, Jerry __._,_.___ Please note that this group is for discussion between users only. To get

[amibroker] Any way to measure the slope of a MA

2006-09-27 Thread laster
Hi, Before trying to reinvent the wheel. Do you know of any existing way to measure the slope of a moving average? Thanks in advance, Jerry __._,_.___ Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail

RE: [amibroker] Any way to measure the slope of a MA

2006-09-27 Thread laster
Just to clarify. Not looking for a formula, but for an indicator. Thanks again From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of laster Sent: Wednesday, September 27, 2006 6:30 PM To: amibroker@yahoogroups.com Subject: [amibroker] Any way to measure

[amibroker] Conditional #include

2006-09-22 Thread laster
Hi, I am trying to create a ParamToggle group that would include different files. The result is that the files get included even though they are inside if statements. I guess the answer is to create functions and call them from the ParamToggle? OptionT = ParamToggle(Options?, No|Yes

[amibroker] Using AlertIF( x, EMAIL, with printf

2006-09-19 Thread laster
Hi, Do you know if printf commands are accepted in the body of the email? I would like to add information about the signal to the email, but so far I could not make it work. I didnt find any information about this. Where I could I look, if its possible to do? Thanks, Jerry

[amibroker] Trading intraday daily signals

2006-09-18 Thread Jerry Laster
Hi, For backtesting I am trying to enter trades intraday generated by data in the daily time frame (for instance, when the 1 minute bar crosses the 20 EMA). I've tried using TimeFrameCompress and call the modified 20 EMA in the 1 minute timeframe for instance: dC = TimeFrameCompress(C,

RE: [amibroker] Trading intraday daily signals

2006-09-18 Thread laster
Professional AFL Writing Service Yes, I write AFL code to your requirements http://e-wire.net.au/~eb_kavan/ab_write.htm On 18/09/06, Jerry Laster [EMAIL PROTECTED]net wrote: Hi, For backtesting I am trying to enter trades intraday generated by data in the daily time frame (for instance, when the 1