Plotting foreign symbol

#1
Plotting foreign symbol - HELP NEEDED

Hi seniors,

I am able to plot 2 symbols in one chart using the formula:

PlotForeign( "JUSTDIAL-I", "JUSTDIAL", colorRed, styleBar );

--------

Please help me plot the average of prices of both the symbols.

2 symbols ploted in my chart are: HDFC-I & JUSTDIAL-I

How shall I plot the average of both the symbols.

AFL
__________________________________
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();

PlotForeign( "JUSTDIAL-I", "JUSTDIAL", colorRed, styleBar );
______________________________________

snapshot attached
thax all
 

Attachments

Last edited:

Similar threads

Zerodha – Open Paperless Account

Open online account with Zerodha. Free delivery trading and Max Rs 20 for Intraday, F&O, Currency and Commodity Trading. Intraday High leverage with MIS, CO and BO.

Name:Phone:
Email:City:
State:
Are you a day trader?