[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Plotting QLD vs QID with CUSTOM CHART WINDOWS [1 Attachment]


  • To: "amibroker @yahoogroups.com" <amibroker@xxxxxxxxxxxxxxx>
  • Subject: [amibroker] Plotting QLD vs QID with CUSTOM CHART WINDOWS [1 Attachment]
  • From: Ronald Davis <xokie7@xxxxxxxxx>
  • Date: Sun, 19 Jul 2009 14:15:13 -0700 (PDT)

PureBytes Links

Trading Reference Links

[Attachment(s) from Ronald Davis included below]

This is the first time that I have tried to use relative performance.  I have attached a chart of the  Built in Amibroker code BELOW that plots QLD vs QID.

Hopefully, there is some way that I can plot QLD vs QID in a several different CUSTOM windows. Each of these custom indicators would show all 8 lines of a CUSTOM INDICATOR THAT I HAVE DEVELOPED. 


I would like to have the ability to have THREE different custom indicator chart panes that will show below my builtin candle chart.
I will always keep an Amibroker builtin candle chart displayed on top of the three desired custom indicator windows. 

So, here is what I would like to display.
The top chart would be the builtin candle chart, hopefully showing BOTH, the QLD and QID  candles. The second chart would be the 8 CUSTOM INDICATOR LINES  showing BOTH QLD and QID.  The third CUSTOM INDICATOR chart window would show the 8 lines for QLD only, and the fourth custom indicator would show the 8 lines for QID only.

I would appreciate hearing comments regarding the feasibility of this?  Ron D.




















// Built-in relative performance chart
_N( TickerList = ParamStr("Tickers", "QID") );
NumBars = 20;
fvb = Status("firstvisiblebar");
Plot( 100 * ( C - C[ fvb ] ) / C[ fvb ], Name(), colorGreen );
for( i = 0; ( symbol = StrExtract( TickerList, i ) ) != ""; i++ )
{
  fc = Foreign( symbol, "C" );

  if( ! IsNull( fc[ 0 ] ) )
  {
     Plot( 100 * ( fc - fc[ fvb ] )/ fc[ fvb ],
                    symbol,
          colorBlue + ( (2*i) % 15 ),
          styleLine );
  }
}
PlotGrid( 0, colorYellow );
_N( Title = "{{NAME}} - Relative Performance [%]: {{VALUES}}" );


Attachment(s) from Ronald Davis

1 of 1 Photo(s)


__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___