[amibroker] Moving Average

2010-09-01 Thread Dennis Lipter
The code below is for a centered moving average. The average is shifted back 9-bars. The problem is that for those 9-bars, a flat line is plotted. I would prefer to have that portion of the plot blank instead of the flat line. mp=IIf(C,(H+L+C)/3,(H+L)/2); x= Ref(MA(mp,18),9);

Re: [amibroker] Moving Average

2010-09-01 Thread Dennis Lipter
Sent: Wednesday, September 01, 2010 3:17 AM Subject: Re: [amibroker] Moving Average Hello denis , The average is shifted back 9-bars. it should be x= Ref(MA(mp,18) , -9 ); --- On Wed, 1/9/10, Dennis Lipter blackca...@verizon.net wrote

Re: [amibroker] Moving Average

2010-09-01 Thread Dennis Lipter
should use - x= Ref(MA(mp,18),-9); On Wed, Sep 1, 2010 at 12:07 PM, Dennis Lipter blackca...@verizon.net wrote: The code below is for a centered moving average. The average is shifted back 9-bars. The problem is that for those 9-bars, a flat line is plotted. I would

Re: [amibroker] Re: Moving Average

2010-09-01 Thread Dennis Lipter
flyboypa, This worked! mp=IIf(C,(H+L+C)/3,(H+L)/2); x=MA(mp,18); Plot(x,Centered , colorRed, styleLine, Null, Null,-9); Thanks! - Original Message - From: flyboypa30 To: amibroker@yahoogroups.com Sent: Wednesday, September 01, 2010 8:50 AM Subject: [amibroker] Re: Moving

Re: [amibroker] Re: Moving Average

2010-09-01 Thread Dennis Lipter
scroll the chart, the blank portion of the plot disappears. Hope this is clear. Thanks - Original Message - From: Dennis Lipter To: amibroker@yahoogroups.com Sent: Wednesday, September 01, 2010 11:47 AM Subject: Re: [amibroker] Re: Moving Average flyboypa

Re: [amibroker] Re: Moving Average

2010-09-01 Thread Dennis Lipter
Try the following: x = MA(mp,18); Plot(x,Centered , colored, styleline, null, null, -9); This will do the centering of the MA in the Plot statement. Yes, the above formula plots a centered MA. When I am viewing the MA on a chart somewhere in the middle of the chart the first 9 bars are blank.

Re: [amibroker] Re: Moving Average

2010-09-01 Thread Dennis Lipter
remember the setting off the top of my head right now. A quick search in Help should get you what you need. If I am not correct in my assumptions, like they say A Picture is worth a Thousand words. That might help us understand what is going on. Flyboy --- In amibroker@yahoogroups.com, Dennis

Re: [amibroker] Re: Moving Average

2010-09-01 Thread Dennis Lipter
a Thousand words. That might help us understand what is going on. Flyboy --- In amibroker@yahoogroups.com, Dennis Lipter blackca...@... wrote: Try the following: x = MA(mp,18); Plot(x,Centered , colored, styleline, null, null, -9); This will do the centering of the MA

Re: [amibroker] Re: Moving Average

2010-09-01 Thread Dennis Lipter
would be to shift or displace the moving average the 1/2 period forward to hopefully give you an idea on what might happen. Your Choice. None of them easy or perfect. Flyboy --- In amibroker@yahoogroups.com, Dennis Lipter blackca...@... wrote: Sorry...formula below doesn't do what I

[amibroker] DDE Plug-In

2010-09-01 Thread Dennis Lipter
OEC Trader (Trading Platform) has a Microsoft Excel DDE plug-in. Would this DDE plug-in work with AmiBroker feeding it live market data? Thanks

Re: [amibroker] DDE Plug-In

2010-09-01 Thread Dennis Lipter
What is the recommended way of connection? What is back fill data? Thanks - Original Message - From: Panos Boufardeas To: amibroker@yahoogroups.com Sent: Wednesday, September 01, 2010 7:40 PM Subject: Re: [amibroker] DDE Plug-In Hi Tomasz does not recommend this

Re: [amibroker] DDE Plug-In

2010-09-01 Thread Dennis Lipter
I read the guidethanks for the links. Still don't know what backfill is. I thought if OEC trader had a DDE plug-in, that the best way to connect to AmiBroker would be via the OEC trader DDE plug-in. - Original Message - From: Panos Boufardeas To: amibroker@yahoogroups.com

[amibroker] Live Daily Data

2010-09-03 Thread Dennis Lipter
Is this possible with AmiBroker? I want to plot daily data (with history) with the current data bar updating in real time. My trading platform OEC Trader plots charts like this. When I connect to OEC Trader with AmiBroker via DDE all I can get is Intra-Day Tic or Minute-Data. Is there a data

[amibroker] Formula Call Feature?

2010-09-04 Thread Dennis Lipter
Is there a formula call feature that references a previously written custom formula in a new formula? Say I have written Formula x and I want to include it in a new formula called Formula y. Like this simple example: Formula x : a=IIf(C,(H+L+C)/3,(H+L)/2); Plot(EMA(a,5),