[amibroker] Setforeign in Autotrading

2010-03-02 Thread Adrian Mollenhorst
Hi Guys, I use IQFeed to receive NYSE Volume up/down indices to provide one of my exit scenarios, however there has been a difference between real trading results and the backtest. I trade intraday on 5 minute bars. My code is as follows: SetForeign("Vind.z"); downv = C; RestorePriceArrays(); Se

[amibroker] Reconciling MAE/MFE backtest results

2010-03-02 Thread q03237241
Hi, I have been going cross-eyed with this for days, so I am hoping someone can point me in the right direction. I am trying a system that buys/sells on a stochastic cross. However when I examine the backtest output, I cannot reconcile the MAE% figure with the simulated trade data. Here is t

[amibroker] Where does Amibroker store its formula files

2010-03-02 Thread bingk66
Hi all, I have just bought a new computer that runs Windows 7 Home Premium. I subsequently installed Amibroker V5.2 Full version. Unlike previous versions of Amibroker in my previous computer whereby the Amibroker directory was found in C:\Program Files\, this particular installation on my new

[amibroker] Re: Plotting Parameter Values in Chart Title

2010-03-02 Thread scanlan...@ymail.com
Thanks very much

[amibroker] Re: Background color based on historical trade signals

2010-03-02 Thread dmcleod1981
Leif, Thank you for the help. I am much closer than I was in getting this to work. I never even thought to use flip in the plot statement. I am now trying to get the zorder to work to plot in the background behind the price chart but I am obviously not using the settings correctly in the plot s

Re: [amibroker] AddToComposite - using PremiumData

2010-03-02 Thread Mark Hike
Maybe you need to turn on the local database setting for the ATC symbol? On Sun, Feb 21, 2010 at 9:35 PM, patsgreatdeals wrote: > > > Using AddToComposite along with PremiumData.net I get no results once the > composite is built using Scan. I get the ~Composite calculated, but there is > nothing

[amibroker] Empirical Mode Decomposition

2010-03-02 Thread bbands
I really liked John Ehlers' piece in the current issue of TASC. I found the code Tomasz wrote for the indicators, which works perfectly, but I am having trouble coding the bands Mr. Ehlers proposed as limits. These appeared in the listing at the bottom of page 24 in the March 2010 issue. As you

[amibroker] Re: Download and update quotes automatically in Amibroker

2010-03-02 Thread smrcek18
I found one error (URLPrefix + filename), but still doesn't working. DownloaderPrg = "URLGet.exe"; filename = "rts.aqh"; URL = "http://myserver.com/";; AmiBroker = new ActiveXObject( "Broker.Application" ); WshShell = new ActiveXObject( "WScript.Shell" ); function Download( URL, filename

[amibroker] Different Applystops for long and short positions possible?

2010-03-02 Thread Markus Witzler
Hello, I want to specify different appystop conditions for long and short posisions. How does AB recognize which one is for which trade? Thanks Markus __ Information from ESET Smart Security, version of virus signature database 4668 (20091207) __ The message was checked by

[amibroker] Re: Download and update quotes automatically in Amibroker

2010-03-02 Thread smrcek18
Can someone tell me what is wrong with this javascript? URLGet doesn't start and quotes are not imported in Amibroker :( This is a modified script from: http://www.amibroker.com/newsletter/02-2001.html DownloaderPrg = "URLGet.exe"; filename = "rtc.aqh"; URLPrefix = "http://myserver.com/";; URL

[amibroker] manipulating view area

2010-03-02 Thread labratno9
Hi fellow marketlovers, i was wondering if it is possible to restrict the viewing area of a chart. I would like to be able to calculate support and resistance levels and plot them only when they are in the neigbourhood of price action. I would like to be able to only plot a line if it is within

Re: [amibroker] Re: ADX DMI CROSSOVER

2010-03-02 Thread NW Trader
Hi Kumar, Yes I will be glad to help, but first I would like to see what you have been trying and perhaps you will learn more from a critique of any mistakes along with a solution rather than just being handed a solution. Please post your code attempts, and comment what is not working. As a h

[amibroker] Re: setting up historical futures data

2010-03-02 Thread karldanefoster
perfect, thanks. --- In amibroker@yahoogroups.com, "Paolo" wrote: > > PremiumData does it > www.premiumdata.net/products/datatools/ > > if you have already all of them saved into a CSV file, you can then import > via OLE script - www.amibroker.com/guide/objects.html - or Import ASCII - > www.a

Re: [amibroker] Plotting Parameter Values in Chart Title

2010-03-02 Thread wavemechanic
Title = "{{NAME}}" + "-x Day MA Liquidity- [$]:" + "{{VALUES}}" + " " + MAbars ; Bill - Original Message - From: scanlan...@ymail.com To: amibroker@yahoogroups.com Sent: March 01, 2010 10:51 PM Subject: [amibroker] Plotting Parameter Values in Chart Title Can you help m

Re: [amibroker] How to write afl function: fcompare( Fn1, Fn2)?

2010-03-02 Thread Herman
Thank you, that will speed it up! :-) best regards, herman > Hello, > Read both files into the string variables and use == operator then. > Best regards, > Tomasz Janeczko > amibroker.com > On 2010-03-02 12:12, Herman wrote: >> Hello, >> >> I am looking for an efficiently way to compare (e

Re: [amibroker] How to write afl function: fcompare( Fn1, Fn2)?

2010-03-02 Thread Tomasz Janeczko
Hello, Read both files into the string variables and use == operator then. Best regards, Tomasz Janeczko amibroker.com On 2010-03-02 12:12, Herman wrote: > Hello, > > I am looking for an efficiently way to compare (equal yes/no) files. > > Is there a script function to compare files that can

[amibroker] How to write afl function: fcompare( Fn1, Fn2)?

2010-03-02 Thread Herman
Hello, I am looking for an efficiently way to compare (equal yes/no) files. Is there a script function to compare files that can be called from afl? Thanks, herman IMPORTANT PLEASE READ This group is for the discussion between users only. Th

Re: [amibroker] Re: ADX DMI CROSSOVER

2010-03-02 Thread Rakesh Sahgal
here is an example cross ( pdi(), mdi() ) this simply means when pdi crosses mdi going up now try to modify the above to suit your requirement. if it does not work, post the code you wrote in the group. someone or the other will help you. that is the best part of this group. Rakesh Sahgal On

[amibroker] Re: ADX DMI CROSSOVER

2010-03-02 Thread indiainfo2008
hi rakesh, i tried hard, but didn't succeed. will you please help me if you have afl code? with regards Kumar --- In amibroker@yahoogroups.com, Rakesh Sahgal wrote: > > Writng an afl for that purpose is not difficult . > > Patrick has been kind enough to point you in the right direction. Read u

Re: [amibroker] Re: ADX DMI CROSSOVER

2010-03-02 Thread Rakesh Sahgal
Writng an afl for that purpose is not difficult . Patrick has been kind enough to point you in the right direction. Read up on "CROSS". If you do not mind making the effort that is. If your effort does not succeed, I shall be more than glad to help you with this, even though I am not an afl guru.

[amibroker] Re: High Frequency Automated Trading with more than 1 Future Contract possible?

2010-03-02 Thread dubi1974
Hi Aron, again you are right. Could be a kind of solution. But if you want to filter 24hours or show just trading hours time, you will come to a limit. Have you ever created some systems with the logic you adviced? And if yes, are you comfortable with the speed performance? Thanks and regards,

[amibroker] Re: ADX DMI CROSSOVER

2010-03-02 Thread indiainfo2008
hi patrick, first thanks for the reply. is it possible to write afl code for ADX and + DMI rising from low (ie, less than 25)?. If yes, will you help me to write a afl code for this purpose? i am a beginner in afl. with regards Kumar --- In amibroker@yahoogroups.com, "NW Trader" wrote: > > Hi