[amibroker] Re: Camarilla System- Help Needed

2009-05-02 Thread Soham
Hi Ed, Thanks a lot. But as silly as it might sound, I am not able to access the attachment. Neither through the mail nor through the web interface of the groups. Please do suggest. Soham --- In amibroker@yahoogroups.com, "Edward Pottasch" wrote: > > Soham, > > I attached code where I tried

[amibroker] Re: I'm give up with Study ID code, Please help..

2009-05-02 Thread Maurice Petterlin
--- In amibroker@yahoogroups.com, "Maurice Petterlin" wrote: > > --- In amibroker@yahoogroups.com, Graham wrote: > > > > It works if you get the syntax correct > > If you want the results in a scan you need to replace the GetChartID() > > with the actual number for that chart pane, and you get th

[amibroker] Re: What Can't Amibroker Do?

2009-05-02 Thread caternore
Thanks guys for your response. If you guys don't mind, I have some more questions I would like to ask. pavelmanas, "You can get a good indication about the languge if you check the Stocks&Commmodities magazine." I took Your Advice and look at some back Issues of s...@c. it does seems as if A

Re: [amibroker] Re: Need Help With Looping Code

2009-05-02 Thread Tony Grimes
I think you got it - Good luck. On Sat, May 2, 2009 at 7:48 PM, Pete wrote: > > > Ok, let me see if I understand what is happening at each statement of the > code. > > Sum50[i] = Sum50[i-1] + Close[i]; > For each bar add the current close to the previous accumulated value of > closes. > > if(i >

[amibroker] Re: Need Help With Looping Code

2009-05-02 Thread Pete
Ok, let me see if I understand what is happening at each statement of the code. Sum50[i] = Sum50[i-1] + Close[i]; For each bar add the current close to the previous accumulated value of closes. if(i > 50) Sum50[i] = Sum50[i] - Close[i - 50]; For each bar beyond the 50th bar subtract the close of

Re: [amibroker] Need Help With Looping Code

2009-05-02 Thread Tony Grimes
Here is a version that will match the 50 MA from Amibroker: Sum50 = 0; MA50 = Null; for(i = 1; i < BarCount; i++) { Sum50[i] = Sum50[i-1] + Close[i]; if(i > 50) Sum50[i] = Sum50[i] - Close[i - 50]; if(i >= 50) MA50[i] = SUM50[i] / 50; } Plot(MA50,"50 MA via Looping", colorRed, styleLin

Re: [amibroker] Re: TickerList in comma delimited form, from Watchlist ??

2009-05-02 Thread dingo
do you have *Dissociative identity disorder*? d On Sat, May 2, 2009 at 5:15 PM, gmorlosky wrote: > Just replace your line of code with this: > > Tickerlist = CategoryGetSymbols(categoryWatchlist, > Param("WatchList",20,0,100,1)); > > --- In amibroker@yahoogroups.com, "gmorlosky" wrote: > > >

[amibroker] Re: TickerList in comma delimited form, from Watchlist ??

2009-05-02 Thread gmorlosky
Just replace your line of code with this: Tickerlist = CategoryGetSymbols(categoryWatchlist, Param("WatchList",20,0,100,1)); --- In amibroker@yahoogroups.com, "gmorlosky" wrote: > > I have this code, but I need to change it so that it has a selectable > Watchlist as a Param which that will cre

[amibroker] TickerList in comma delimited form, from Watchlist ??

2009-05-02 Thread gmorlosky
I have this code, but I need to change it so that it has a selectable Watchlist as a Param which that will create the comma delimited TickerList string from. My "for" loops just aren't building the comma delimted list right. Any help ? _N( TickerList = ParamStr("Tickers", "^GSPC,MSFT,GE") ); Th

Re: [amibroker] Need Help With Looping Code

2009-05-02 Thread Dennis Brown
Pete, You are mixing accessing Cnt sometimes as a single array value and sometimes as a whole array. I doubt that is what you want to do. When you set a variable = value, it will either initialize a whole array to that value or just one individual value. It depends on how it is later refe

[amibroker] Re: testing multiple systems simultaneously

2009-05-02 Thread bh.hicks
Thanks D, Thanks for the references. It seems as if the subject lines of these are never very intuitive for searching. The Feb 25, 2009 post has some pertinent info but doesn't quite solve the issue. If I had 1 long + 1 short system, i know how it would be done but I am still not sure how to

[amibroker] Need Help With Looping Code

2009-05-02 Thread Pete
Ok, first off, I apparently don't have the first clue about how to right code that loops through an AB database. I am pretty fluent with looping through MS Access databases using VBA but when it comes to AB I am completely lost. So in my endeavor to educate myself on the ins and outs of looping

Re: [amibroker] Re: Camarilla System- Help Needed

2009-05-02 Thread Edward Pottasch
next version, added additional constraint: if the opening price is above R4 or below S4 immediatelly start a breakout trade. - Original Message - From: Edward Pottasch To: amibroker@yahoogroups.com Sent: Saturday, May 02, 2009 9:46 PM Subject: Re: [amibroker] Re: Camarilla S

Re: [amibroker] Re: testing multiple systems simultaneously

2009-05-02 Thread dingo
Look for these: Mar 16, 2009 - two backtest questions Feb 25, 2009 - How do two systems with two different positionsizes in one afl? here: http://finance.groups.yahoo.com/group/amibroker/messages d On Sat, May 2, 2009 at 3:32 PM, bh.hicks wrote: > Thank you for your suggestion. While I am c

Re: [amibroker] Re: Camarilla System- Help Needed

2009-05-02 Thread Edward Pottasch
Removed 1 error and in this version it uses the high, low and close of the previous day based on the true opening and closing hours. - Original Message - From: Edward Pottasch To: amibroker@yahoogroups.com Sent: Saturday, May 02, 2009 5:21 PM Subject: Re: [amibroker] Re:

[amibroker] Re: Communication between Amibroker and Metatrade4 to auto-trade

2009-05-02 Thread vette9090
This example shows how Matlab and Metatrader can interact. If Matlab can do it, I'm sure Amibroker can: http://articles.mql4.com/440 --- In amibroker@yahoogroups.com, "vette9090" wrote: > > Hi Guys, > > I read in forum that it's possible to get some communication between > Amibroker and Meta

[amibroker] Re: testing multiple systems simultaneously

2009-05-02 Thread bh.hicks
Thank you for your suggestion. While I am certain my Googling skills could use some improvement, I'm sure you will be pleased to know I searched through over 1500 post yesterday looking for this information. Perhaps you could offer some more specific search criteria? --- In amibroker@yahoo

Re: [amibroker] Re: testing multiple systems simultaneously

2009-05-02 Thread dingo
This has been asked many times - suggest you search/browse the forum list. d On Sat, May 2, 2009 at 2:05 PM, bh.hicks wrote: > I wanted to take a minute to elaborate on this a bit... > > The way I currently do this in excel is to split equity out based on the > number of systems I am trading a

[amibroker] Re: testing multiple systems simultaneously

2009-05-02 Thread bh.hicks
I wanted to take a minute to elaborate on this a bit... The way I currently do this in excel is to split equity out based on the number of systems I am trading and run each system one independently. I then export daily equity amounts into excel and add simply add them together to examine the co

[amibroker] testing multiple systems simultaneously

2009-05-02 Thread bh.hicks
I am basically looking for a way to have AmiBroker run multiple systems concurrently in order to examine how trading multiple non-correlated strategies affect drawdowns. I think if there was a way to "name" an entry condition so that stops and position sizing rules could be applied to a particu

[amibroker] Results

2009-05-02 Thread malcolm Crouch
Hi , I am wondering if some traders on this forum could give the type of return they are achieving using Amibroker with Automated trades . I not asking for the amount of money invested , rather say 1 year : 74% Im just trying see how many people have made it through the downturn . Im quite ne

Re: [amibroker] Re: Camarilla System- Help Needed

2009-05-02 Thread Edward Pottasch
Soham, I attached code where I tried to solve your problem. I code it a little differently in a manner I always code these type of systems. This code also displays the trades in the chart. Didn't check it in detail so it might need some improvement. Let me know what you think, regards, Ed

[amibroker] Displaying variables

2009-05-02 Thread Soham
Hi, Is there any functions to calculate the mean of an array? And secondly is there any way to display a variable[not an array] in the Automatic Analysis window. Is there a possibility to display it, like Amibroker displays the digest of backtest performance report in the bottom part of the Au

[amibroker] Communication between Amibroker and Metatrade4 to auto-trade

2009-05-02 Thread vette9090
Hi Guys, I read in forum that it's possible to get some communication between Amibroker and Metatrader4. Someone was using Amibroker as a master to send trade signals to Metatrader and auto-trade his AB strategies. The post is 3 years old and that thread is not active anymore. The communication

[amibroker] Studies and Alerts

2009-05-02 Thread bruce1r
I saw several posts about and thought I might be able to quickly offer some additional info. First of all, I use studies and alerts to automate the scan of watchlists of MANY stocks and ETF's for breaks of support, resistence, trendlines, etc. I've taught many people how to do this as a first, si

Re: [amibroker] Does anyone have the formulas for UI and PUI ?

2009-05-02 Thread Thomas Ludwig
You can find the formulas in the PortfolioIO.afl file in Fred's IO. Greetings, Thoma On 02.05.2009, 01:55:10 gmorlosky wrote: > Looking for Ulcer Index and Performance Ulcer Index formulas. > > Thanks > > > > > > IMPORTANT PLEASE READ > This group i

[amibroker] Re: Camarilla System- Help Needed

2009-05-02 Thread Soham
Z Thank you, indeed In fact I did have my initial equity as 100,000 still it was not working.I increased it to 10 times now its giving me some trades. And I am happy to say, the counter trend trades are working. The breakout trades are yet to be tweaked. Thanks Soham --- In amibroker@yahoogrou

[amibroker] Price Reversal system from Pivot Point

2009-05-02 Thread ramakaant6591
Hello Friends I have so Many stretgies with me and those are nearly above 85% accurate but don't know how to make them in scannar and or in a system if someone can help then plz reply me at Yahoo ID ramakaant6...@yahoo.com and all stredtgies i want to make in only in amibroker thanks

[amibroker] Re: What Can't Amibroker Do?

2009-05-02 Thread pavelmanas
As regards the "1) I needed a program with its own language but robust enough not to limit me." You can get a good indication about the languge if you check the Stocks&Commmodities magazine. In each issue there is a system or indicator with sources for many charting SW. Look at the size and f

[amibroker] Indian Exchanges/Feeds & Amibroker

2009-05-02 Thread Sanjay Arora
Hello all Greetings from India. Newbie just joined Amibroker mailing list & evaluating Amibroker for purchase. Request those trading on Indian exchanges, please join the thread & introduce yourself and please do post your experience with Amibroker, your feed etc. With best regards. Sanjay.

[amibroker] different values in plot and interpretation window

2009-05-02 Thread Ricardo
I'm wondering why I'm getting a different value for the same function on the same bar when I output it as a plot and when I output it to the interpretation window. Here is the code: timeframeset(inDaily); inside_d = inside(); timeframerestore(); plot(timeframeexpand(inside_d, indaily), "daily ins

Re: [amibroker] Re: Camarilla System- Help Needed

2009-05-02 Thread i cs
Hi Soham, I'm a newbie, so my advice is a bit suspect but try this: Go to Automatic Analysis Go to Settings Increase "Initial Equity" to something large like 100,000 ( it's probably set to 10,000) That should fix the problem. Not sure why this is so - but like I said - I'm a newbie.

[amibroker] need help for ami Exploration

2009-05-02 Thread raj12ram
i need a ami exploration afl volume is grater than previous day plz help me thaks in advance

[amibroker] Re: Camarilla System- Help Needed

2009-05-02 Thread Soham
Can somebody help me with this code: This is a Camarilla Based system with the following rules: 1. You will be given 4 levels, R3,R4,S3,S4. If price hits R3 stop and reverse[if you carry a long already, otherwise just short] with MidRes=avg of R3 and R4 as stops. 2. If price hits S3 stop and