[amibroker] How to use function?
Hi I have received some Amibroker code but I cant get it to work, could someone advice me how to do this? It is made up of a function, and it works as a smooth moving average. It returns an array, and I suppose I want to plot this array? function Smoother(inputArray, period, inertia) { resultArray = Cum(0); //CODE REMOVED if (loopParam 30) SmoothValue = Null; SmoothValueBuffer[shift] = SmoothValue; resultArray[resultArrayIndex++] = SmoothValue; } return resultArray; }
[amibroker] IB Controller - getting order info
Hi All, I am in the process of building an indicator which uses the IB Controller interface in order to plot position and order info back onto a price chart. Up to now, I have been able to implement all information I require as regards to open positions, however, I have not found a way to retrieve order information. I would typically have a bracket order set up for every open position. All the info I need, regardless of whether or not the orders have been placed through the interface, is listed in the Pending Orders section of the interface. Question is: is it possible to use the info from this list, programmatically in the indicator code? Thanks in advance for any replies, Claude
[amibroker] How to code a DMI cross ReEntry
Hello - I having trouble coding the following in AFL: The first part of my system is a DMI cross. This works as follows: Buy = Cross(PDI(4), MDI(4); My stop loss is the low of each day Sell = L LongStop; It is the second part here that I am having trouble with: If the PDI(4) is still greater than the MDI(4) and has not crossed over in the opposite direction, and I have been stopped out, my re- entry criteria for long trades would be when the gap between the PDI and MDI 3. So, to give an example: PDI MDI cross on Monday In Tues, Stop loss triggered on Thurs On Friday, PDI is still MDI and (PDI - MDI) 3, then a trade is triggered for the next day. Thanks - alex
Re: [amibroker] How to use function?
Use it like any other function in AB something like this, but do not know exaclty what the inputs represent plot( Smoother(C,10,1).Smoother, colorred,styleline); -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 28/03/07, carlacash26 [EMAIL PROTECTED] wrote: Hi I have received some Amibroker code but I cant get it to work, could someone advice me how to do this? It is made up of a function, and it works as a smooth moving average. It returns an array, and I suppose I want to plot this array? function Smoother(inputArray, period, inertia) { resultArray = Cum(0); //CODE REMOVED if (loopParam 30) SmoothValue = Null; SmoothValueBuffer[shift] = SmoothValue; resultArray[resultArrayIndex++] = SmoothValue; } return resultArray; }
[amibroker] Re: IB Controller - getting order info
Hi Herman, thanks for your message...i've looked into the archives but i'm still at a loss. Basically I would like to draw horizontal lines which represent pending bracket trades. I would like to avoid plotting and 'remembering' the orders when I place the trade through IB Controller: I'd rather read the orders from the pending orders list. Reason is to ensure AB is updated even if it is restarted/used with different IB Accounts etc... These trades show in the pending list and the columns available contain limit/stop prices. Up to now I have been able to retreive the status of these orders using getStatus(), but I would also need to retrieve the stop and limit prices in order to plot the lines. Would you think this is possible at all? thanks again, Claude
Re: [amibroker] How to export/import AB settings to another PC?
See message # 104834 and other threads. Bill - Original Message - From: Nick Zentick [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Tuesday, March 27, 2007 1:12 PM Subject: [amibroker] How to export/import AB settings to another PC? I have customized AB on a PC, and like to migrate all the settings to another (graphs, layout, etc.). What is the best way to do so? Many thanks. Nick. 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.18/734 - Release Date: 3/26/2007 2:31 PM
[amibroker] Backtesting problem
hello, mayby it is a stupid question, but i am really hopeless:( I wrote my own indicator in Delphi-works great. It purpose is to aproximate price movement in the past. I have my simple rules to buy when this aproximated price movements crosses 0 and goes up and sell when it crosses 0 and goes down. Everything is OK, but when I run backest, there is a problem, that this indicator is computed just once, so in fact buying signal in the middle of dates is computed using also prices after this point. Then it looks like holy grail, because after aproximation aproximated curve is almost the same as the price curve, so there is no problem to buy low and sell high. What I want to do is that after runnig backets, every tick, it will compute my indicator from just past dates and then makes decision and again move one tick ahead and compute indicator, makes decisions and so on... I hope u undestand what I need, sorry for my english:( and thnak u very much for answers;)
Re: [amibroker] Code problems with 'if'
What is a scalar? It is mentioned more frequently on this list. A search of the users guide returns 1 instance and basically says it is a number. - Original Message From: Graham [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Tuesday, March 27, 2007 8:40:17 PM Subject: Re: [amibroker] Code problems with 'if' There was a recent discussion regarding this, in fact many discussions IF is primarily used within loops where you are doing array analysis Outside of the loops IIF is easier to use for assigning values to variables based on array or scalar conditions IF in normal AFL can only be used for a scalar value condition, not for array conditions -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriti ng.com On 28/03/07, Alain Baur [EMAIL PROTECTED] internet. fr wrote: I had the same problem with if, it seems to me (but not sure) that the condition of the if must be = all others conditions give an error ( = = .) - Original Message - From: cstrader To: [EMAIL PROTECTED] ps.com Sent: Tuesday, March 27, 2007 7:09 PM Subject: Re: [amibroker] Code problems with 'if' Finalscore is array... if statement takes numeric use lastvalue(finalscor e) or selectedvalue( finalscore) - Original Message - From: McGuyVr70 [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ps.com Sent: Tuesday, March 27, 2007 11:43 AM Subject: [amibroker] Code problems with 'if' I am stumped as to why the 'if' statement does not work. Prev_Close should only be a single number, the previous days close. Prev_Close = TimeFrameGetPrice( C, inDaily, -1 ); // Previous day's close FinalScore = round((Prev_ Close / ChannelHigh) * 100); if ( FinalScore 55 ) // error 6 on this line { } The 'if' statement fails. I believe the cause is the Prev_Close, it is an array and the 'if' statement can not process arrays. How can I make the 'if' statement work? What do I need to change to allow the 'if' statement to make this work? Thanks Dan Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html
Re: [amibroker] Code problems with 'if'
Yes scalar is just a single number (as opposed to array of numbers) Best regards, Tomasz Janeczko amibroker.com - Original Message - From: James To: amibroker@yahoogroups.com Sent: Wednesday, March 28, 2007 3:08 PM Subject: Re: [amibroker] Code problems with 'if' What is a scalar? It is mentioned more frequently on this list. A search of the users guide returns 1 instance and basically says it is a number. - Original Message From: Graham [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Tuesday, March 27, 2007 8:40:17 PM Subject: Re: [amibroker] Code problems with 'if' There was a recent discussion regarding this, in fact many discussions IF is primarily used within loops where you are doing array analysis Outside of the loops IIF is easier to use for assigning values to variables based on array or scalar conditions IF in normal AFL can only be used for a scalar value condition, not for array conditions -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriti ng.com On 28/03/07, Alain Baur [EMAIL PROTECTED] internet. fr wrote: I had the same problem with if, it seems to me (but not sure) that the condition of the if must be = all others conditions give an error ( = = .) - Original Message - From: cstrader To: [EMAIL PROTECTED] ps.com Sent: Tuesday, March 27, 2007 7:09 PM Subject: Re: [amibroker] Code problems with 'if' Finalscore is array... if statement takes numeric use lastvalue(finalscor e) or selectedvalue( finalscore) - Original Message - From: McGuyVr70 [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ps.com Sent: Tuesday, March 27, 2007 11:43 AM Subject: [amibroker] Code problems with 'if' I am stumped as to why the 'if' statement does not work. Prev_Close should only be a single number, the previous days close. Prev_Close = TimeFrameGetPrice( C, inDaily, -1 ); // Previous day's close FinalScore = round((Prev_ Close / ChannelHigh) * 100); if ( FinalScore 55 ) // error 6 on this line { } The 'if' statement fails. I believe the cause is the Prev_Close, it is an array and the 'if' statement can not process arrays. How can I make the 'if' statement work? What do I need to change to allow the 'if' statement to make this work? Thanks Dan -- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
[amibroker] what is stock.isDirty used for
1. What is the IsDirty boolean flag in the Stock Object model used for? 2. I have quite a few stocks in my list that are delisted. What is a good practise to do. I dont wnat to delete it but my daily scans are returning results from some of these ones. how do i ignore them in my scans? Regards seede
[amibroker] Can anyone help with this code?
Hello - I having trouble coding the following in AFL: The first part of my system is a DMI cross. This works as follows: Buy = Cross(PDI(4), MDI(4); My stop loss is the low of each day Sell = L LongStop; It is the second part here that I am having trouble with: If the PDI(4) is still greater than the MDI(4) and has not crossed over in the opposite direction, and I have been stopped out, my re- entry criteria for long trades would be when the gap between the PDI and MDI 3. So, to give an example: PDI MDI cross on Monday In Tues, Stop loss triggered on Thurs On Friday, PDI is still MDI and (PDI - MDI) 3, then a trade is triggered for the next day. Thanks - alex
[amibroker] Re: IB Controller - getting order info
Herman, as I understand the executions file in IB only contains filled orders. What I'm after is pending order data other than it's status (basically stop/limit prices) What I noticed is that ibC already picks up pending orders in the list even if these are not generated in Amibroker, and even getstatus() works on these orders. It would be great to find a way to read this orders, then modify them and re-submit them through Amibroker. Do you see any other way of doing it? cheers, Claude
[amibroker] Hedging idea
Hi, I am testing an idea when I place a buy and sell order at the open of each day. Sometimes one of these orders will be fulfilled, sometimes none and sometimes both on the same day. Is it possible to do this in AFL using conventional Buy and Sell AFL instructions - or can Amibroker only do 1 buy or sell per bar? Thanks, Alex
Re: [amibroker] Re: FFT
Hi Yuki, You are absolutely right, of course, about value of a system that works... it is priceless ... and ... no I would not sell it if I had one. What I am looking for, when I say it works, has a more limited scope. I want to see that the technical part works. For example, when MESA or FFT produce a value for the dominant cycle, they must have some kind of similarity to demonstrate that there is some validity. As is, the results are completely different, so it's impossible to tell if either one is worth persuing. I have done a bit of work on the MESA side recently (and I think Ehlers considers only his proprietary code as true MESA) and the cyclicity just does not hold validity. I am under the impression that Ehlers recommended code from earlier versions was more rubust - and much slower - but not sure if adequately better. Clearly creating an edge is up to the trader / investor and is the combination of the art and science of trading, but we need the tools to do it with. Spending time researching / testing adequacy of tools to verify what they are supposed to do is a bit of a drag ... and takes too much time from our true purpose of trading Have a great day Ara - Original Message - From: Yuki Taga [EMAIL PROTECTED] To: Ara Kaloustian amibroker@yahoogroups.com Sent: Tuesday, March 27, 2007 11:43 PM Subject: Re: [amibroker] Re: FFT Hi Ara, Wednesday, March 28, 2007, 2:32:44 PM, you wrote: There are loads and loads of market letter writters, signal, system and indicator sellers out there all of whom have the same goal and it isn't to educate the public. AK How true!!! AK I would not mind paying for a product that works ... That's the point. Neither would anyone else -- provided it was sold ONLY TO THEM. If it works well, and it's published, it soon won't work well. 1) This is the information age. 2) Anyone who publishes a respectable system will immediately have several million people (at least) back test it (probably the next day). If it works well for them on a back test, they will use it, which means it won't work long going forward. Why can't people understand this easy logic? If it's worth paying for, it's worth, as Fred said, tens upon millions, or billions, of dollars. Anyone charging less is a flat-out dullard. The same for anyone voluntarily publishing a good system. A good system is so valuable that it doesn't have a price, mostly because selling it publicly would immediately destroy its value. The price would be good for the seller, but the buyer would either need to secure exclusivity, or not be too bright. For the most part, Fred's extreme percentage example won't work -- because of liquidity problems. But edges are so hard to come by that it doesn't take too many people trying to exploit the same edge to absolutely destroy that edge. Finally, I agree with you. Cycle research is trying to pin human emotion to some clock-like cycle. Good luck with that. There are some periodical cycles that can be exploited -- related to the calendar, for example -- but searching for a one-size-fits-all cyclical formula to explain human nature reveals nothing more than a rather woeful lack of understanding when it comes to human nature in the first place. Yeah, it's like Fib numbers: It works sometimes, but it doesn't work a lot, too. Same with the periodical cycles. There is NO grail! Grail-searchers, be gone!!! ^^_^^ There are temporary edges. Exploit them. Expect, with the power of modern desktop computers to say the least, that they won't last too long. *TENS OR HUNDREDS OF MILLIONS* of people are searching through the data, looking for an edge. Every day. Every night on the other side of the world. They never stop. They are relentless. And they are dying to sell that newly discovered edge to you for US$ 1,500??? Or even ten times that much??? Yeah. Sure. Yuki P.S. Dimitris rules! ^_^ 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
[amibroker] data tooltips help
I have the same price chart in sheet 1 and sheet 2. (Different indicators and systems, but same price chart and volume.) In the first sheet, tooltips window gives me Date Time, Value:, Open:, High:, Low:, Close:, Volume:, Open Int:., Colse =, Volume() = Second sheet gives me Date Time, Value:, Close:, EMA(Close,30) Cannot see any indication how to control this within the formula. How do I control what is displyed in the tooltips window? TIA, James The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
Re: [amibroker] Re: RMO from MetaStock 10
Hi, Please send it. Thanks kailash pareek [EMAIL PROTECTED] wrote: Hi, I can send the whole indiucator which can be imported in meta 9. johnny --- hagus99se [EMAIL PROTECTED] wrote: Hello, I read your previous message in which you provided some exploration codes. But RMO is not disclosed. In colA there is a reference to fml RMO thats all. --- In amibroker@yahoogroups.com, kailash pareek [EMAIL PROTECTED] wrote: Hello, As I aware that there are lots of hard worker here as well as helper, I here by want to ask that can someone expert code RMO indicators from Meta 10 to Amibroker?? I can provide the code as well as snapshot of of charts. Looking Forward for kind help. johnny __ __ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail __ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html - Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.
Re: [amibroker] Is there anyway to get more than 30 days of intraday data?
Hello Tomasz, Do you know if there is a way to obtain more than 30 days of historical intraday data? Thanks. chwinc2000 [EMAIL PROTECTED] wrote: Hello All, I am use IB as my realtime data provider and was wondering if anyone knows of anyway to get more than 30 days of intrady historical data? Is there any way to retrieve 30 days at a time historically somehow? Thanks for your help. - No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started.
[amibroker] Re: Importing signals
Hi Howard, I just discovered a neat, graphical approach to translating imported signals to Buy/Short signals. It also has the advantage of producing a unique Buy/Short signal which is required if you want to reference the Buy/Short Price. Here it is for an imported signal in the form 9,10,11 but can also be used for a -1, 0, 1 format (Dakota)by changing neutralLine = 0: neutralLine = 10.00; Buy = Cross (Sigs, neutralLine); //Sigs is the imported signal BuyPrice = ValueWhen(Buy, Open); Short = Cross (neutralLine, Sigs); ShortPrice = ValueWhen(Short, Open); Best regards, Drew
RE: [amibroker] How to use function?
Try unremoving the code. -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of carlacash26 Sent: Wednesday, March 28, 2007 12:54 AM To: amibroker@yahoogroups.com Subject: [amibroker] How to use function? Hi I have received some Amibroker code but I cant get it to work, could someone advice me how to do this? It is made up of a function, and it works as a smooth moving average. It returns an array, and I suppose I want to plot this array? function Smoother(inputArray, period, inertia) { resultArray = Cum(0); //CODE REMOVED if (loopParam 30) SmoothValue = Null; SmoothValueBuffer[shift] = SmoothValue; resultArray[resultArrayIndex++] = SmoothValue; } return resultArray; } 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
Re: [amibroker] what is stock.isDirty used for
1. This flag marks that data for that particular symbol has been changed since last save. 2. Put them on watch list and use Exclude filter. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: murthysuresh [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Wednesday, March 28, 2007 3:32 PM Subject: [amibroker] what is stock.isDirty used for 1. What is the IsDirty boolean flag in the Stock Object model used for? 2. I have quite a few stocks in my list that are delisted. What is a good practise to do. I dont wnat to delete it but my daily scans are returning results from some of these ones. how do i ignore them in my scans? Regards seede 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
Re: [amibroker] Is there anyway to get more than 30 days of intraday data?
Hello, Sure - use IQFeed or eSignal as a data source. Really - if you are interested in getting more data you should subscribe to some real data source and then download with ease. IB backfills are slower by factor of 100 (yes one hundred times slower) than real data source (what takes 5 minutes with IB takes 3 seconds with eSignal or IQFeed). Best regards, Tomasz Janeczko amibroker.com - Original Message - From: C W To: amibroker@yahoogroups.com Sent: Wednesday, March 28, 2007 6:30 PM Subject: Re: [amibroker] Is there anyway to get more than 30 days of intraday data? Hello Tomasz, Do you know if there is a way to obtain more than 30 days of historical intraday data? Thanks. chwinc2000 [EMAIL PROTECTED] wrote: Hello All, I am use IB as my realtime data provider and was wondering if anyone knows of anyway to get more than 30 days of intrady historical data? Is there any way to retrieve 30 days at a time historically somehow? Thanks for your help. -- No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started.
[amibroker] Accessing data from another database
Is it possible to access the data of a security located in another database? For example if I have commodities data in one database but I want to use it for a system in a stock database. It would be easier to use something similar to the Foreign function rather than trying to export and import everyday. Thanks DM
[amibroker] chart spreads
This code was published in Amibroker knowledge base: spread = Foreign( ticker1, C) - Foreign( ticker2, C); Plot( spread, spread, colorRed); Why I get diferent results depending of currently selected symbol?
Re: [amibroker] Is there anyway to get more than 30 days of intraday data?
Hi Tomasz, I currently use IQfeed for my stock data. Unfortunately, forex data is different for each broker, which is why I would like data directly from Interactive Broker. I compared IQfeed and Esignal against Interactive and find a lot of discrepancies. Does amibroker have a way to download forex intraday data from IB in chucks so I can obtain more historical data? Can Amiquote do this? Thanks. Tomasz Janeczko [EMAIL PROTECTED] wrote: Hello, Sure - use IQFeed or eSignal as a data source. Really - if you are interested in getting more data you should subscribe to some real data source and then download with ease. IB backfills are slower by factor of 100 (yes one hundred times slower) than real data source (what takes 5 minutes with IB takes 3 seconds with eSignal or IQFeed). Best regards, Tomasz Janeczko amibroker.com - Original Message - From: C W To: amibroker@yahoogroups.com Sent: Wednesday, March 28, 2007 6:30 PM Subject: Re: [amibroker] Is there anyway to get more than 30 days of intraday data? Hello Tomasz, Do you know if there is a way to obtain more than 30 days of historical intraday data? Thanks. chwinc2000 [EMAIL PROTECTED] wrote: Hello All, I am use IB as my realtime data provider and was wondering if anyone knows of anyway to get more than 30 days of intrady historical data? Is there any way to retrieve 30 days at a time historically somehow? Thanks for your help. - No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. - No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started.
[amibroker] Re: Amiquote
You'll find the instructions here: http://www.amibroker.net/video/forex.html The Forex datasource name is now Finam. Bill --- In amibroker@yahoogroups.com, chwinc2000 [EMAIL PROTECTED] wrote: Hello, Can Amiquote download forex intraday data from Interactive Broker? Where does Amiquote obtains it forex intraday data from? Thanks.
[amibroker] Sell signal after defined number of periods
Is there a simple way of generating a sell signal after a certain number of periods? For example, if I want to test the accuracy of a buy signal after 5,10,20 bars, how do I say Sell after Buy + 5,10,20 bars? Thanks.
[amibroker] Re: Backtesting using Amibroker.
Thank you for the information. Regards. KC --- In amibroker@yahoogroups.com, Graham [EMAIL PROTECTED] wrote: I think the standard version should be sufficient for your needs -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 24/03/07, aukcspore [EMAIL PROTECTED] wrote: Hi, I am interested in using Amibroker to do backtesting of some trading ideas. I only use EOD data. Which version should be used? Standard or Pro. Thanks.
[amibroker] AIQ Data files
Does anybody use AIQ's data files with Amibroker? If so how?
RE: [amibroker] Sell signal after defined number of periods
Enough already. -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of bernardedmond01 Sent: Wednesday, March 28, 2007 4:54 PM To: amibroker@yahoogroups.com Subject: [amibroker] Sell signal after defined number of periods Is there a simple way of generating a sell signal after a certain number of periods? For example, if I want to test the accuracy of a buy signal after 5,10,20 bars, how do I say Sell after Buy + 5,10,20 bars? Thanks. 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
[amibroker] Re: How to use function?
Thanks Graham it worked. Bob, i just removed the code when i posted the code publicly since it's copyright material. --- In amibroker@yahoogroups.com, Bob Jagow [EMAIL PROTECTED] wrote: Try unremoving the code. -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carlacash26 Sent: Wednesday, March 28, 2007 12:54 AM To: amibroker@yahoogroups.com Subject: [amibroker] How to use function? Hi I have received some Amibroker code but I cant get it to work, could someone advice me how to do this? It is made up of a function, and it works as a smooth moving average. It returns an array, and I suppose I want to plot this array? function Smoother(inputArray, period, inertia) { resultArray = Cum(0); //CODE REMOVED if (loopParam 30) SmoothValue = Null; SmoothValueBuffer[shift] = SmoothValue; resultArray[resultArrayIndex++] = SmoothValue; } return resultArray; } 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
[amibroker] Ambroker not Accepting new Symbols?
Would anybody be able to tell me why I can't download new symbols to amibroker anymore, while I still can update the existing symbols? Also, would you please offer a remedy on how to fix the problem? One other question, is there a simple way to just add the 200-dma line to the main existing display window? Thank you very much, Carey
[amibroker] Ambroker not Accepting new Symbols?
Would anybody be able to tell me why I can't download new symbols to amibroker anymore, while I still can update the existing symbols? Also, would you please offer a remedy on how to fix the problem? One other question, is there a simple way to just add the 200-dma line to the main existing display window? Thank you very much, Carey
Re: [amibroker] chart spreads
I've gotten this at least 5 times... Please stop it! - Original Message - From: cassianoqs To: amibroker@yahoogroups.com Sent: Wednesday, March 28, 2007 2:09 PM Subject: [amibroker] chart spreads This code was published in Amibroker knowledge base: spread = Foreign( ticker1, C) - Foreign( ticker2, C); Plot( spread, spread, colorRed); Why I get diferent results depending of currently selected symbol?
[amibroker] ASCII Import ASX Data
Hi, Is it possible to restrict the import of data to tickers of length 3 only (i.e. only stock codes for ASX, no futures)? I had a look through
[amibroker] database
how do you delte a database you do not want. thanks guys
[amibroker] Experience using Amibroker with CQG
I've been a user of CQG and its trading system/backtesting/optimization functionality for many years. I'm thinking of using Amibroker with CQG for its portfolio analysis. Does anyone out there have any experience with CQG and Amibroker, and if so, how do they perform and/or integrate together? Thanks
RE: [amibroker] database
Just remove it from your hard disk like any other folder/file. Use windows explorer for example. --- Marek Chlopek -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Ward Sent: Wednesday, March 28, 2007 9:19 PM To: amibroker@yahoogroups.com Subject: [amibroker] database how do you delte a database you do not want. thanks guys 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links __ NOD32 Informacje 2152 (20070328) __ Wiadomosc zostala sprawdzona przez System Antywirusowy NOD32 http://www.nod32.com lub http://www.nod32.pl
RE: OT mutiple messages was [amibroker] Re: How to use function?
Does anybody else receive every message multiple time the last 2 days? Joseph Biran -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carlacash26 Sent: Wednesday, March 28, 2007 9:26 PM To: amibroker@yahoogroups.com Subject: [amibroker] Re: How to use function? Thanks Graham it worked. Bob, i just removed the code when i posted the code publicly since it's copyright material. --- In amibroker@yahoogroups.com, Bob Jagow [EMAIL PROTECTED] wrote: Try unremoving the code. -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carlacash26 Sent: Wednesday, March 28, 2007 12:54 AM To: amibroker@yahoogroups.com Subject: [amibroker] How to use function? Hi I have received some Amibroker code but I cant get it to work, could someone advice me how to do this? It is made up of a function, and it works as a smooth moving average. It returns an array, and I suppose I want to plot this array? function Smoother(inputArray, period, inertia) { resultArray = Cum(0); //CODE REMOVED if (loopParam 30) SmoothValue = Null; SmoothValueBuffer[shift] = SmoothValue; resultArray[resultArrayIndex++] = SmoothValue; } return resultArray; } 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
RE: OT mutiple messages was [amibroker] Re: How to use function?
Yes. -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of J. Biran Sent: Thursday, 29 March 2007 4:18 PM To: amibroker@yahoogroups.com Subject: RE: OT mutiple messages was [amibroker] Re: How to use function? Does anybody else receive every message multiple time the last 2 days? Joseph Biran -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carlacash26 Sent: Wednesday, March 28, 2007 9:26 PM To: amibroker@yahoogroups.com Subject: [amibroker] Re: How to use function? Thanks Graham it worked. Bob, i just removed the code when i posted the code publicly since it's copyright material. --- In amibroker@yahoogroups.com, Bob Jagow [EMAIL PROTECTED] wrote: Try unremoving the code. -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carlacash26 Sent: Wednesday, March 28, 2007 12:54 AM To: amibroker@yahoogroups.com Subject: [amibroker] How to use function? Hi I have received some Amibroker code but I cant get it to work, could someone advice me how to do this? It is made up of a function, and it works as a smooth moving average. It returns an array, and I suppose I want to plot this array? function Smoother(inputArray, period, inertia) { resultArray = Cum(0); //CODE REMOVED if (loopParam 30) SmoothValue = Null; SmoothValueBuffer[shift] = SmoothValue; resultArray[resultArrayIndex++] = SmoothValue; } return resultArray; } 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links