[amibroker-ts] looking for reference of a strict algorithm for generating support and resistanc

2007-05-20 Thread ran_aviram
Hi, I want to develop an technical analysis tool to generate some basic buy/sell allerts in amibroker software. I need to implement an algorithm that defines support resistance historical levels (scanning a stock data and calculating support resistance levels and their strength- according

Re: [amibroker-ts] looking for reference of a strict algorithm for generating support and resistanc

2007-05-20 Thread Graham
the afl library has some ideas for various uses Otherwise you need to define how you want to trade. What someone else does may not suit you. -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 19/05/07, ran_aviram

[amibroker] Re: define offset without identifying the graph parameter

2007-05-20 Thread qavatina
Hi I have done like this to get the arrows higer and lower than default: PlotShapes( IIf( Buy , shapeUpArrow , shapeNone) , colorBlue,7,L*0.995,0); PlotShapes( IIf( Sell , shapeDownArrow , shapeNone ), colorRed ,7,H*1.003,0); Regards --- In amibroker@yahoogroups.com,

Re: [amibroker] Re: define offset without identifying the graph parameter

2007-05-20 Thread Graham
Here I offset the arrows vertically by -12 'somethings' PlotShapes(Buy*shapeUpArrow,colorBrightGreen,0,L,-12); PlotShapes(Short*shapeDownArrow,colorRed,0,H,-12); -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On

Re: [amibroker] AmiBroker 4.95.0 BETA released featuring AFL Code Wizard add-on

2007-05-20 Thread Ton Sieverding
Thanks a lot for the Wizard. Coming closer to what I would like to get ... Ton. - Original Message - From: Tomasz Janeczko [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Friday, May 18, 2007 5:31 PM Subject: [amibroker] AmiBroker 4.95.0 BETA released featuring AFL Code Wizard

[amibroker] CODE NEEDED: Add an extra column to the Optimisation output

2007-05-20 Thread dralexchambers
Does anyone have the code to add an extra column to the Optimisation results screen, eg: 1. Optimisation is run 2. In my AFL I calculate a new variable called MyVar 3. MyVar is added to the Optimisation results as a column Thanks!

[amibroker] Re: Setting Commissions correctly for FOREX

2007-05-20 Thread dralexchambers
Thanks. My broker is EFX Group - they are very good and have low spreads. And I haven't had much joy with FX testing either. I gave up after a while.

[amibroker] How to express some conditin occurred in the last ten bars

2007-05-20 Thread itmwh
How to express in AFL that there is at least one occurance of crossing of ma1 and ma2 in the last ten bars ? thanks a lot

Re: [amibroker] CODE NEEDED: Add an extra column to the Optimisation output

2007-05-20 Thread Grant Noble
I think any custom metric is added to optimization output. Check out http://www.amibroker.com/newsletter/01-2005.html GRANT dralexchambers wrote: Does anyone have the code to add an extra column to the Optimisation results screen, eg: 1. Optimisation is run 2. In my AFL I calculate a new

[amibroker] Re: AFL code wizard - preview presentation

2007-05-20 Thread brian_z321
I forgot to mention Howard's book QUANTITATIVE TRADING SYSTEMS, which was another important addition to the AmiBroker *Knowledge Base* within the last twelve months. I think there was a lot of altruism behind Howard's decision to write. Gee, you new users have it easy today. Things were a lot

Re: [amibroker] Re: AFL code wizard - preview presentation

2007-05-20 Thread wavemechanic
Well said, Rakesh. Bill - Original Message - From: Rakesh Sahgal To: amibroker@yahoogroups.com Sent: Saturday, May 19, 2007 4:00 AM Subject: Re: [amibroker] Re: AFL code wizard - preview presentation Hi Phsst, As a discretionary trader such enhancements have no

Re: [amibroker] Re: define offset without identifying the graph parameter

2007-05-20 Thread wavemechanic
From Users Guide or Help: PLOTSHAPES ? plots arrows and other shapes Exploration / Indicators (AFL 2.3) SYNTAX PlotShapes( shape, color, layer = 0, yposition = graph0, offset = ?12 ); RETURNS NOTHING FUNCTION Plots arrows and other shapes on any chart pane. Parameters: shape defines type

Re: [amibroker] Re: AFL code wizard - preview presentation

2007-05-20 Thread Andrew Z
G'day all, You have now created a tool for the 'programming illiterate' group of users, who will from this day forward, demand more and more enhancements to the wizard to compensate for their inability to comprehend AFL's programatic complexities. This is the biggest load of crap I have

Fw: [amibroker] How to express some conditin occurred in the last ten bars

2007-05-20 Thread Joe Landry
There's a function called BarsSince. Hope this helps JOE L. // To demonstrate use of BarsSince and SelectedValue.. SignalArray = Cross(MA(C,10),MA(C,20)); if( SelectedValue(BarsSince(SignalArray) 10)); { // your work a = 30; } A = SelectedValue(BarsSince(SignalArray));

Re: [amibroker] AFL code wizard - preview presentation

2007-05-20 Thread gmail
w is the program to use it - Original Message - From: Tomasz Janeczko [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Thursday, May 17, 2007 11:53 PM Subject: [amibroker] AFL code wizard - preview presentation Hello, For everyone who is interested in seeing upcoming AFL code

[amibroker] Bought-sold marking on chart

2007-05-20 Thread almirfa06
Dear Sir; Hi. I bought few shares on different dates sold few. Please tell me how I can mark the Bought / Sold of each stock on individual charts, is it possible to get gain /loss displayed on the chart? Regards..

[amibroker] looking for reference of a strict algorithm for generating support and resistanc

2007-05-20 Thread ran_aviram
Hi, I want to develop an technical analysis tool to generate some basic buy/sell allerts in amibroker software. I need to implement an algorithm that defines support resistance historical levels (scanning a stock data and calculating support resistance levels and their strength- according

[amibroker] Re:AFL code wizard - preview presentation

2007-05-20 Thread Samantha Mueller
Hallo Tomasz, Thanks for great presentation. Wizard is probably just the right thing for a newbie like me. Can I use it to define scanning rules, too? Like Filter = ... instead of buy/sell rules? Thanks, Samantha - Don't pick lemons. See all

[amibroker] Why this AFL not work?

2007-05-20 Thread niktang917
hi all, i'm not a programmer and know almost nothing about AFL. so i modified an existing afl script to create a new one to place order thru InteractiveBrokers butit did not work. can anyone advise on where it goes wrong? Many thanks! The function of this simple afl-script is very simple.

[amibroker] Re: consolidating market indicators

2007-05-20 Thread t_ohrt
What periods do you use for ADX and ADXR? T.O. --- In amibroker@yahoogroups.com, Rakesh Sahgal [EMAIL PROTECTED] wrote: My personal favourite is the relationship of the ADX to the [1] PDI/MDI combine and [2] ADXR. [1] When ADX is below both PDI MDI - keep out if you like to trade

[amibroker] Plotting backtest metrics via CBI

2007-05-20 Thread dusty.mclaughlin
Hello, I've tried the following code to allow for plotting of backtest metrics to no avail. A gentle nudge in the right direction would be greatly appreciated. SetCustomBacktestProc(); if (Status(action) == actionPortfolio) { bo = GetBacktesterObject(); bo.backtest();

Re: [amibroker] Help with www.amibroker.org/3rdparty/asx_setup/!!

2007-05-20 Thread Alf Hind
http://www.amibroker.org/3rdparty/ASX_Setup/ - Original Message - From: jimshawau [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Wednesday, May 16, 2007 12:09 PM Subject: [amibroker] Help with www.amibroker.org/3rdparty/asx_setup/!! How can i access

RE: [amibroker] Re: AFL code wizard - preview presentation

2007-05-20 Thread Paul Ho
I dont think what he said is crap. He made a prediction and we will know sometime in the future its either true or not true. His concern might not be well founded, and his writing might not be dipomatic, but his take on the wizard is interesting indeed, and we'll know the answer to that some time

Re: [amibroker] Re: consolidating market indicators

2007-05-20 Thread Rakesh Sahgal
5 on a daily data chart On 5/19/07, t_ohrt [EMAIL PROTECTED] wrote: What periods do you use for ADX and ADXR? T.O. --- In amibroker@yahoogroups.com, Rakesh Sahgal [EMAIL PROTECTED] wrote: My personal favourite is the relationship of the ADX to the [1] PDI/MDI combine and [2] ADXR. [1]

[amibroker] The world of really complex programming Was: Gfx Drawing example

2007-05-20 Thread Ken Close
Well, there are always matters of degree. The new Coding Wizard gives folks who do not know how to code in AFL a leg up and it can help them begin to learn the complexities of AFL. Folks used to AFL may seem disdainful because they already program in AFL. They may be silent on the concepts in

[amibroker] Re: Bought-sold marking on chart

2007-05-20 Thread aff392
Tomasz wrote code for adding buy, sell, short cover signals on an equity curve as shown at http://www.amibroker.com/kb/2006/05/06/discretionary-equity/#more-29 I changed portions of the code to replace the equity curve with a price chart which after buy, sell, short or cover signals are added

[amibroker] Need help to rewrite MACD

2007-05-20 Thread itmwh
Basically the Macd formular is as follows: DIFF = EMA(CLOSE,S) - EMA(CLOSE,P); DEA =EMA(DIFF,M); MACD = 2*(DIFF-DEA), COLORSTICK Now I hope to normalize the value of MACD, so that the shape of the new version of MACD looks like the above original one, but its value now should be fluctuating

[amibroker] Re: AFL code wizard - preview presentation-rmurphy

2007-05-20 Thread jim_trades_stocks
Richard, A couple of weeks ago you said: Jim why dont you push off and get yourself another charting package. Your just a moaner.. I am glad you recognize the benefits of the AFL wizard not only to new and existing users but also for the future success of Amibroker. Tomasz is not only a

Re: [amibroker] Need help to rewrite MACD

2007-05-20 Thread Rakesh Sahgal
You can use what is called a Relative Spread Strength essentially a RSI of the spread i.e. DIFF in your formula For this you will have to use the RSIa formula in AB. RSIa(diff, periods) R On 5/20/07, itmwh [EMAIL PROTECTED] wrote: Basically the Macd formular is as follows: DIFF =

Re: [amibroker] Re:AFL code wizard - preview presentation

2007-05-20 Thread Tomasz Janeczko
Hello, You can use the wizard for SCAN as well. Just define the rule that interests you as a Enter long rule, send to AmiBroker and press SCAN button instead of Backtest. It will produce list of symbols/dates where given condition is met. Best regards, Tomasz Janeczko amibroker.com -

Re: [amibroker] AmiBroker 4.95.0 BETA released featuring AFL Code Wizard add-on

2007-05-20 Thread Tomasz Janeczko
This is on the way pretty quickly... stay tuned. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: Clement Chin [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Sunday, May 20, 2007 3:07 PM Subject: RE: [amibroker] AmiBroker 4.95.0 BETA released featuring

Re: [amibroker] Need help to rewrite MACD

2007-05-20 Thread wavemechanic
You can normalize any indicator by the ratio: (ind - lovalue) / (hivalue - lovalue)) * 100 Bill - Original Message - From: itmwh [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Sunday, May 20, 2007 11:20 AM Subject: [amibroker] Need help to rewrite MACD Basically the Macd

RE: [amibroker] Re:AFL code wizard - preview presentation

2007-05-20 Thread dingo
How about indicator code? What would be neato would be to actually draw as the code is built... Notihing like a little visual feedback, eh? d _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko Sent: Sunday, May 20, 2007 1:46 PM To:

[amibroker] Amiquote/Yahoo Historical 404 error

2007-05-20 Thread Joel
Hi all, I have AB and AQ 1.94 on a win XP box. No problem downloading yahoo historical data. Last night I installed AB and AQ 1.94 on a Lunix/Ubuntu box. All symbols return Error during download. Yahoo!-404 Not Found The stock database and all settings are the default. I have tried

Re: [amibroker] Plotting backtest metrics via CBI

2007-05-20 Thread Graham
create a composite then plot the composite in separate afl -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 20/05/07, dusty.mclaughlin [EMAIL PROTECTED] wrote: Hello, I've tried the following code to allow

[amibroker] Code for volume of a stock in the top 50% of volume in the past 90 days

2007-05-20 Thread samu_trading
This seems to tough for a newbie like me. How can I code to scan for all stocks that are in the top 50% of overall volume in the past 90 days? filter=volume ? Thanks, Samantha

[amibroker] Backtest error with trailing stop

2007-05-20 Thread samu_trading
When I backtest a system with the only sell rule of a trailing stop like this: sell = ApplyStop(2,1,3,1,False,0); (= 3% trailing stop) I only get that all trades are immediately stopped out at the entry price. In settings, Activate Stops immediately is NOT checked. How can I tell AMI to use

[amibroker] Re: AFL code wizard - preview presentation

2007-05-20 Thread brian_z321
Re: programming types versus non-programmers. I think we make far too much out of this point; especially people who are new to *programming*. If we want to visit *customised trading land* the experience will be a lot more enjoyable if we learn the language. The more effort we put into learning

Re: [amibroker] Backtest error with trailing stop

2007-05-20 Thread Ed Middleton
Sammi, My understanding is if you check Activiate Stops Immediately it should work. The only problem I've found is if you enter on a bar where if the low of the bar is more than 3% below the high of that bar that you will be stopped out on that first bar, even if, you entered on the close of

Re: [amibroker] Re:AFL code wizard - preview presentation

2007-05-20 Thread Anthony Faragasso
Tomasz, is there any way to add some of our own custom indicators to the wizard ? Thanks Anthony - Original Message - From: Tomasz Janeczko To: amibroker@yahoogroups.com Sent: Sunday, May 20, 2007 1:45 PM Subject: Re: [amibroker] Re:AFL code wizard - preview presentation

Re: [amibroker] Amiquote/Yahoo Historical 404 error

2007-05-20 Thread Michael.S.G.
I have an idea.. Tell us more about what you have done and maybe we can help you. Have you read the AmiBroker on Linux section: http://www.amibroker.org/3rdparty/Amibroker_on_Linux/ Are you running Wine or Crossover on this Ubuntu box? Have you installed Internet Explorer6? (If not

Re: [amibroker] Backtest error with trailing stop

2007-05-20 Thread Graham
Correct method for using the applystop is sell = 0; ApplyStop(2,1,3,1,False,0); For stop loss type it is 3% below entry price -- Cheers Graham AB-Write Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 21/05/07, Ed Middleton [EMAIL

RE: [amibroker] The world of really complex programming Was: Gfx Drawing example

2007-05-20 Thread J. Biran
can we start with a simple example of creating a simple Myshape (i.e. triangle) and using the new Gfx capabilities place that shape (=plotMyshape) on the price chart on the current bar at a given price? Joseph Biran _ From:

[amibroker] Say command and natural voices

2007-05-20 Thread ricardo_tip
I find the new Say feature useful, but don't like Microsoft Sam. Not ready to go to Vista yet. ATT and others do much better voices (like Paul in TJ's Wizard presentation). To use them looks like you have to buy something like Natural Reader. I'm assuming that when you install Natural Reader