RE: [amibroker] changing color of volume bars

2007-10-14 Thread Don Lindberg
The change below should work fine. I haven't tested it, but simple reference to yesterdays close. Plot( Volume, _DEFAULT_NAME(), IIf( C > ref(C,-1), ParamColor("Up Color", colorGreen ), ParamColor("Down Color", colorRed ) ), ParamStyle ( "Style", styleHistogram | styleThick, maskHistogram )

[amibroker] HighestHigh and lowest low for Explore results

2007-10-14 Thread coba702002
I am trying to add a column for both High and low for every trade that my 'explore' finds. I want to export 6-8 custom variables to a csv file thats why im using explore and not backtest results == 3 columns... of the stats in that range between buy/short and sell/cover trigger 1) highest hig

Re: [amibroker] need help aligning plotshapes

2007-10-14 Thread wavemechanic
http://www.amibroker.com/guide/afl/afl_view.php?id=206 Use this syntax: PlotShapes( shape, color, layer = 0, yposition = graph0, offset = -12 ); or PlotShapes( IIf( Strategy6_Sell, shapeDigit6 , shapeNone ), colorYellow, 0, Low, -15); Bill - Original Message - From: Padhu

[amibroker] need help aligning plotshapes

2007-10-14 Thread Padhu
Hello, I have the following potshapes. They work fine untill the same bar has both signals TRUE, then the plotshapes overwrite on top of the other.(which is not a bug just behaviour). Is there a way I can specifiy co-ordinates such that Strategy6_Sell, is x levels below the signal candle or ab

Re: [amibroker] Amiquote doesn't work on Vista and quit after trying to download data

2007-10-14 Thread Tomasz Janeczko
Hello, You need to contact support. Most probably you did not install FULL version of AmiQuote which is *required* for Vista even if you don't use AB. You need to download and run http://www.amibroker.com/bin/AmiBroker500.exe Best regards, Tomasz Janeczko amibroker.com - Original Message ---

Re: [amibroker] Opinion: best Moving Avarages ?

2007-10-14 Thread Conrad Smith
The thing about the 50/200 crossover technical indicator is that's it a self-fulfilling prophecy. Some of the institutional traders (the big guys) trade on this event. And when they buy or sell, in such a big quantity, it'll defiantly affect the price. Other than that, it comes down to what yo

[amibroker] Opinion: best Moving Avarages ?

2007-10-14 Thread stighy80
Hi at all, i'm a mid-term trader on the europe market: Italian (my country), then Euronext and Deutche boerse. I used to buy stocks when the main world index (Dji, Nasdaq etc.) reach and not cross from up to down, their 50 - 100 or 200 Exponential Moving Avarages on daily time frame, or, better t

Re: [amibroker] Re: Code Question: buy best performing ticker of last 15 days

2007-10-14 Thread Edward Pottasch
hello Sam, I am always happy to try to code an interesting idea. And your idea might be simple but it interesting and it works also. Like kar_avi suggests i also tried to code it more simple like: Buy = DayOfWeek() == 5; BuyPrice = C; Sell = barssince(Buy) > 22 and DayOfWeek() == 5; SellPric

[amibroker] Re: Scanning for flags.

2007-10-14 Thread stighy80
--- In amibroker@yahoogroups.com, Conrad Smith <[EMAIL PROTECTED]> wrote: > > Greetings, > > Is it possible to scan for flags and pennants? > > Thanks, > Conrad > This is a good question, i'm looking for it too... Bye Stighy

[amibroker] Amiquote doesn't work on Vista and quit after trying to download data

2007-10-14 Thread stighy80
Suggest ? Thanks Stighy

[amibroker] Re: Code Question: buy best performing ticker of last 15 days

2007-10-14 Thread samu_trading
Ed, Thanks so much for your help to the programming illiterate. I would have never thought it's so complicated, just thought I miss something really simple. Well, thanks even more. Sam --- In amibroker@yahoogroups.com, "Edward Pottasch" <[EMAIL PROTECTED]> wrote: > > hi > > I fabricated so

[amibroker] fixed price/time ratio for fibonacci arcs

2007-10-14 Thread firefly6666
Hi, does anybody know how to set the price time ratio for the chart window. Fibonacci arcs are very sensitive to zooming and scaling. What i want to have is a window which always displays a fixed price time ratio when i zoom in or out. This would lead to a simplification of using fibonacci arcs an

Re: [amibroker] changing color of volume bars

2007-10-14 Thread wavemechanic
Replace C > O with C > Ref(C, -1) Bill - Original Message - From: "imresident2001" <[EMAIL PROTECTED]> To: Sent: Sunday, October 14, 2007 9:02 AM Subject: [amibroker] changing color of volume bars > can some one help me with the code for this please. I want > If price closes higher th

[amibroker] changing color of volume bars

2007-10-14 Thread imresident2001
can some one help me with the code for this please. I want If price closes higher than previous days close volume bar green If price closes lower than previous days close volume bar red I have the following code but its a bit different It uses the open price instead of previous days close Plot(

Re: [amibroker] Code Question: buy best performing ticker of last 15 days

2007-10-14 Thread Edward Pottasch
hi I fabricated something that doesn't make use of the barssince function since I didn't get it to work in a hurry. Code below does the following: I calculates the positionScore on the close at a thursday then it enters a trade at the open on a friday and closes this trade on the open on a thr

[amibroker] Re: Code Question: buy best performing ticker of last 15 days

2007-10-14 Thread kar_avi
sorry to have missed the second part. You can look at the "barssince" function to achieve it. Or you can loop through each bar for this if you have specific conditions to be satisfied. Look for "Backtesting your trading ideas" in the user manual. Warm Regards --- In amibroker@yahoogroups.com, "k

[amibroker] Re: Code Question: buy best performing ticker of last 15 days

2007-10-14 Thread kar_avi
If you are looking at price change only as a measure of performance, you can look up ROC in the user manual and use ROC(C, 15) on a daily chart and sort them from the AA results window. Hope this helps, Kar --- In amibroker@yahoogroups.com, "samu_trading" <[EMAIL PROTECTED]> wrote: > > How could

[amibroker] Re: Ctrl+Space Auto completion

2007-10-14 Thread kar_avi
I second that. Also a few changes in debugging so that when closing brace for a "for" loop is not provided, it shouldn't say missing semicolon in previous line. Warm Regards, Kar --- In amibroker@yahoogroups.com, "progster01" <[EMAIL PROTECTED]> wrote: > > > Since AFL Editor is getting a refit,