Re: [amibroker] Need formula for Opening range in 30 minute time frame [1 Attachment]

2010-05-08 Thread naveen bhatia
Hello you can check this afl for 30 mints b.o.,You can change market time according you which market you are working. From: kml_soni1973 To: amibroker@yahoogroups.com Sent: Fri, 7 May, 2010 10:01:39 PM Subject: [amibroker] Need formula for Opening range in 30

[amibroker] Backtesting not working

2010-05-08 Thread sohamdas
Consider this code: SetOption("AllowSameBarExit",False); SetOption("AllowPositionShrinking", False); SetOption("FuturesMode", True); SetOption("InterestRate",3); SetOption("MaxOpenPositions",1); SetOption("MinShares",50); SetOption("PriceBoundChecking",False); SetOption("CommissionMode",1);

[amibroker] Re: Buy / Sell or Sell Buy

2010-05-08 Thread Mike
Hi, Your code is showing all the entries and exits properly in the backtest report. If you read each row, you will see: Ticker, Date, Price, Ex.date, Ex.Price, ... The Date/Price are for the entry (i.e. Buy, Short). The Ex.date/Ex.Price are for the exit (i.e. Sell, Cover). Your code looks sus

[amibroker] Re: Exploration of watchlist and not all symbols appear in the results

2010-05-08 Thread Mike
In the AA settings filter, have you got any other selections? Check both the include and exclude tabs. It is possible that the symbol in question is not satisfying some additional criteria that you are (inadvertently) specifying. Use the clear button on each tab to clear out all filters, then s

[amibroker] Re: Scan and Backtesting Conflicting

2010-05-08 Thread sohamdas
I have rechecked all the params, even the visual arrows are being shown properly, the scanned results are being taken properly,but the backtesting shows, no trades taken. Any help, duely appreciated --- In amibroker@yahoogroups.com, "sohamdas" wrote: > > I have got a code, which yields perfect

Re: [amibroker] redundent ISP for internet

2010-05-08 Thread Chris DePuy
Linksys RV042 works great, too. I've used for years. - Original Message - From: Sidney Kaiser To: amibroker@yahoogroups.com Sent: Saturday, May 08, 2010 7:41 PM Subject: Re: [amibroker] redundent ISP for internet I'm using a Netgear FVS 336G, firewall, router

Re: [amibroker] redundent ISP for internet

2010-05-08 Thread Sidney Kaiser
I'm using a Netgear FVS 336G, firewall, router, switch with load balancing/failover for two WAN inputs.  Works like a champ to switch to my DSL connection when the cable connection goes down. (twice last week) Price is ~$250 or so from B&H photo. Sid At 03:11 PM 5/8/2010, you wrote: i have iss

[amibroker] Re: Commission in Detailed Log

2010-05-08 Thread whitneybroach
Thanks. --- In amibroker@yahoogroups.com, Tomasz Janeczko wrote: > > Hello, > > Simply because commission is a system constant (needs to be constant > because some exits happen in moments you don't know in advance, > for example exits generated by stops, and then commission must be known). > >

[amibroker] Trade Arrows in Rotational Mode?

2010-05-08 Thread whitneybroach
Does it work? Haven't seen it yet. :)

Re: [amibroker] Re: Commission in Detailed Log

2010-05-08 Thread Tomasz Janeczko
Hello, Simply because commission is a system constant (needs to be constant because some exits happen in moments you don't know in advance, for example exits generated by stops, and then commission must be known). If you want dynamic commission (changed on bar by bar basis) you need to modify bu

[amibroker] Renko Charts

2010-05-08 Thread Bob Waits
I am using AB 5.30 and tried the 2005 code for Renko charts. I am getting a lot of errors. Has anyone tried the code with on the new version of AB? If so, could you copy and paste it in the email box. Thanks.

[amibroker] Re: Commission in Detailed Log

2010-05-08 Thread whitneybroach
Thanks. Did that. Is there any reason why SetOption("CommissionMode") cannot be set more than once in a formula? Not that it makes sense to. Just debugging here. :) --- In amibroker@yahoogroups.com, Tomasz Janeczko wrote: > > Hello, > > You need to set commission MODE too. > > Best regards

Re: [amibroker] Commission in Detailed Log

2010-05-08 Thread Tomasz Janeczko
Hello, You need to set commission MODE too. Best regards, Tomasz Janeczko amibroker.com On 2010-05-08 22:19, whitneybroach wrote: > Seeing Commission: 1 in detailed log but AFL contains > SetOption("CommissionAmount", 0 ); > > ? > > > > > > IMPORTANT PL

[amibroker] redundent ISP for internet

2010-05-08 Thread murthysuresh
i have issues with my ISP disconnecting early morning, around 3-4 am EST. i want to setup a redundant internet connectivity with either cable ISP or wireless. can you share your ideas on what technology/hardware - software is needed. thanks in advance

[amibroker] PlotForeign

2010-05-08 Thread StanG
Hi How do I plot the MA of a PlotForeign chart? Thank you for any help. Stan

[amibroker] Passing Param value from jscript to afl

2010-05-08 Thread TA
I want to run different explores and exporting the results to a cvs file, using the same afl code with different param or variable values by using a jscript and looping thru the param or var values. Is it possible to pass a parameter or variable value from jscript to afl. TIA

[amibroker] Commission in Detailed Log

2010-05-08 Thread whitneybroach
Seeing Commission: 1 in detailed log but AFL contains SetOption("CommissionAmount", 0 ); ?

[amibroker] Testing for IsEmpty in bar loop in CBT (another Backtest vs. Explore conundrum?)

2010-05-08 Thread whitneybroach
Here's an interesting tale of confusion. Aside from sleep, WTF am I missing? A rotational strategy opens new trades only on a certain day of the month, detected by rd_ok (rotation day ok). if rd_ok==1, it's ok to open a new rotational trade. The strategy also uses variable stop losses, so a C

[amibroker] Plotting 3 variables

2010-05-08 Thread bh.hicks
Does anyone have an effective solution for plotting the results of 3-variable optimizations? Probably some type of 3d scatter plot would work the best where you are conceptually filling a volume rather than constructing a surface. I think the ideal solution would literally be a 3d point clou

[amibroker] Scan and Backtesting Conflicting

2010-05-08 Thread sohamdas
I have got a code, which yields perfect results when the price series is "Scanned", but the strategy simply doesnt take any trades at all, in backtest mode. Any solutions. These are the following hard built parameters for backtesting, I have set up: SetOption("AllowSameBarExit",False); SetOpti

[amibroker] Adding to a position

2010-05-08 Thread venturerider2
I'd like to be able to add to a position if it goes against me and I'd like to be able to reference the execution price of the first position/order. For example, Buy = Cross (C, EMA(C, 10)); /* Then buy more (put on a second position of equal shares) if "Close" goes down 3 * ATR(14) below the

Re: [amibroker] Re: Buy / Sell or Sell Buy

2010-05-08 Thread Ricardo Ribeiro Romero
Sorry Mike. Here's the code. Range1=Optimize("range1",3,3,10,1); Range2=Optimize("range2",6,6,10,1); Buy = Cross((Close),(EMA(Close,range1))); Buystop = Ref(EMA(Close,range1),-1); BuyPrice = Max(Buystop,Close); Sell = Cross(EMA(Close,range2),(Close)); Sellstop = Ref(EMA(Close,range1),-1); SellP

[amibroker] Re: Exploration of watchlist and not all symbols appear in the results

2010-05-08 Thread possum51au
Thanks Herman I checked and the chart for the missing code and it is fine - I have tried several other watchlists and same problem - is strange. If I run the same exploration with the 'current' button clicked rather than defining a filter, (and the chart for the missing share open) - the repor

[amibroker] Request afl for identifying and confirming TRIPPLE BOTTOM pattern

2010-05-08 Thread ford7k
Hi Afl coding experts i AM LOOKING FOR AFL AMIBROKER FORMULA for identifying tripple bottom pattern. Here is a link for afl to identify double bottom. Can an expert code afl for tripple bottom by configuring peak3 and trough3? The basic rules for tripple bottom are given here, and these need to

Re: [amibroker] Exploration of watchlist and not all symbols appear in the results

2010-05-08 Thread Herman
Are you sure the tickers have data? No data no listing in the report. herman > Hi > I wonder if someone knows what i am doing wrong here. > I am running a simple exploration on a watchlist with 19 symbols. > Filter = 1; > AddColumn( Close, "Close" ); > Only 18 symbols appear in the results - so

[amibroker] Exploration of watchlist and not all symbols appear in the results

2010-05-08 Thread possum51au
Hi I wonder if someone knows what i am doing wrong here. I am running a simple exploration on a watchlist with 19 symbols. Filter = 1; AddColumn( Close, "Close" ); Only 18 symbols appear in the results - so 1 missing . I have checked the Information panel for each code and cannot see any diff