[amibroker] Parabolic SAR for Heikin Ashi Charts

2007-10-24 Thread stokkkid
Hi there, I am trying to modify the Parabolic SAR formula I found on Amibroker's website (written by Thomas Ludwig)so that it uses Heikin ashi O, H, L and C instead of normal O, H, L, C. I tried to do this by simply replacing all the O, H, L, and C in the SAR formula by the corresponding Heiki

[amibroker] Parabolic SAR for Heikin Ashi Charts

2007-10-24 Thread stokkkid
Hi there, I am trying to modify the Parabolic SAR formula I found on Amibroker's website (written by Thomas Ludwig)so that it uses Heikin ashi O, H, L and C instead of normal O, H, L, C. I tried to do this by simply replacing all the O, H, L, and C in the SAR formula by the corresponding Heiki

[amibroker] Chart Background Colour

2007-10-24 Thread Graham Johnson
I know that there was a recent post by Tomasz detailing the methodology for setting the background colour on a bar by bar basis - but, after a lot of searching, I can't find it. Any help, please. Graham

RE: [amibroker] Re: Problems intraday data

2007-10-24 Thread Sipho Magagula
Is there a script that I can run to clean up my intraday database. I ran the daily downloader in the intraday database by mistake and now have maxed number of counters in my intraday database so it is no longer updating when I run it. Is there a way I could clean it up without having to delete eac

[amibroker] apply n-bar stops

2007-10-24 Thread holygrail168
Hi everyone, My codes shown below. Basically, I want a trade signal when the Buy conditions are met and my buy price is the day after where it purchases at the buy limit price or the opening price, depending on which is lower. However, there are 3 conditions for the sell. I have 1) a stop l

RE: [amibroker] apply n-bar stops

2007-10-24 Thread David Smith
Unfortunately you do have to program the exit price yourself for all 3 stops. The n-bar exit price is over ridden by your calculated exit (sell) price just as AB support has advised. It only works automatically if you are exiting on the open or close as defined in the AA settings. It's a bit an

[amibroker] Getting New High-New Low data into AB using AmiQuote?

2007-10-24 Thread peakwk79
Hi, does anyone know how to get the data into AB using AmiQuote or another free source? Thanks in advance!

Re: [amibroker] Standard Deviation

2007-10-24 Thread Conrad Smith
Thank you Graham and Ara for you help!

Re: [amibroker] Chart Background Colour

2007-10-24 Thread Steve Dugas
Here is a recent one that I saved... Steve --- Here it is - every bar color change in - actually 24 bit palette every bar different color ! Plot( Close, "Price", colorBlack, styleCandle ); BkCOlor = ColorRGB( BarIndex(

[amibroker] Re: Getting New High-New Low data into AB using AmiQuote?

2007-10-24 Thread areehoi
The answer is No as far as Yahoo is concerned. You can develop your own using the complete US-Stocks database (Hemscott) using th following formula: Dick H // Breadth of Stocks // Develops 4 composites that can be plotted or manipulated as you wish // How to Run // 1) Select Group - Stocks or M

[amibroker] Re: Modifying the Buy and Short Arrays

2007-10-24 Thread Mike
Hi, If you want to continue down the path you are describing, you can write custom backtester code that iterates through the signals. Check for exit signals, calculate the gain, zero out unreasonable trades. Iterate through the Signals using getFirstSignal/getNextSignal. Use the FindOpenPos m

Re: [amibroker] Controller Updates??? Java Version Compatability???

2007-10-24 Thread Tomasz Janeczko
Hello, Yes AmiBroker controller is compatible with recent TWS. Error codes are explained in TWS Users' Guide http://individuals.interactivebrokers.com/php/webhelp/Interoperability/Socket_Client_C++/errors.htm 135 may occur if you try to modify the order that has already been filled. 202 is not an

[amibroker] Wrong signal with MACD

2007-10-24 Thread tradeuk59
Hi, Can someone able to help me with this system. I try to reduce all "timeframeexpand" and also don't understand why this code don't respect the cond2 and cond4 (MACD>0 and MACD<0). Hope you understand what i try to explain. :) MY CODE : Temp = in45minute; Mm = 20; TimeFram

[amibroker] Re: Chart Background Colour

2007-10-24 Thread Graham Johnson
Thanks Steve That gives me a start. So much to learn. Graham > > Here is a recent one that I saved... > > Steve > > --- > > Here it is - every bar color change in - actually 24 bit palette every bar > different col

Re: [amibroker] Wrong signal with MACD

2007-10-24 Thread Padhu
Don't know if "in45minute" is a valid argument. Try something like this: TimeFrameSet(3/4*inhourly); //45min MA_H=MA(H,Mm); MA_B=MA(L,Mm); MACDind= MACD(12,26); MACDsign= Signal(12,26,9); Div = MACDind - MACDsign; TimeFrameRestore(); MACDind1= TimeFrameExpand(MACD(12,26),3/4*inhourly,expandfir

[amibroker] setbarsrequired() messing up function

2007-10-24 Thread jeffro861
I'm wanting to use the data points as the indicator plotted from the following code. If I use setbarsrequired(10,10), it gives me different output than what I'm looking for and none of the explorations or scans are searching for the criteria that I want them to. How do I fix the code,

Re: [amibroker] setbarsrequired() messing up function

2007-10-24 Thread Graham
Try this SetForeign(GetBaseIndex()); TimeFrameSet(inWeekly); xp=RelStrength("sp-500"); MA10=EMA(xp,40); TimeFrameRestore(); RestorePriceArrays(); f=TimeFrameExpand(xp,inWeekly); g=TimeFrameExpand(MA10,inWeekly); Plot(f,"relstrength",colorBlack,styleLine); Plot(g,"ema10",colorGreen,styleLine);

[amibroker] Re: setbarsrequired() messing up function

2007-10-24 Thread jeffro861
Thomasz, If I put this as an exploration, with the value for f and g set up in columns, it's apparent that amibroker is using the setbarsrequired (10,10) value. This is not the value that I want. Jeff --- In amibroker@yahoogroups.com, Graham <[EMAIL PROTECTED]> wrote: > > Try this >