Hello Graham,

I have to bother you again for the this enclosed code.
The purpose is to have a quote screen like apprearance in one of an 
indicator window from the real time quotes of calls & puts
The strikes are purposefully arranged in a step manner.

What actually i want is this way a stacked view like below
c-2600=xxxx p-2700=xxxx
c-2700=xxxx p-2800=xxxx
c-2800=xxxx p-2900=xxxx
on the upper left corner of the chart\indicator window.

The wrap title from param will wont work here. 
so i have to put it in the code with writeval or something with +\n+
I tried to do it as u can see in the code at the end but dono what is 
going wrong . Could you Please guide me and correct me. 
=============================
// Call Put Quote Screen
SetChartOptions(chartShowDates);
a=Foreign("NFCE1_2600","CLOSE");
b=Foreign("NFCE1_2700","CLOSE");
d=Foreign("NFCE1_2800","CLOSE");
e=Foreign("NFCE1_2900","CLOSE");
f=Foreign("NFCE1_3000","CLOSE");
g=Foreign("NFCE1_3100","CLOSE");
i=Foreign("NFCE1_3200","CLOSE");
j=Foreign("NFCE1_3300","CLOSE");
k=Foreign("NFCE1_340","CLOSE");
m=Foreign("NFCE1_3500","CLOSE");
n=Foreign("NFCE1_3600","CLOSE");

a1=Foreign("NFPE1_2600","CLOSE");
b1=Foreign("NFPE1_2700","CLOSE");
d1=Foreign("NFPE1_2800","CLOSE");
e1=Foreign("NFPE1_2900","CLOSE");
f1=Foreign("NFPE1_3000","CLOSE");
g1=Foreign("NFPE1_3100","CLOSE");
i1=Foreign("NFPE1_3200","CLOSE");
j1=Foreign("NFPE1_3300","CLOSE");
k1=Foreign("NFPE1_3400","CLOSE");
m1=Foreign("NFPE1_3500","CLOSE");
n1=Foreign("NFPE1_3600","CLOSE");

Plot(a,"c-2600",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(b1,"P-2700",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(b,"c-2700",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(d1,"P-2800",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(d,"c-2800",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(e1,"P-2900",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(e,"c-2900",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(f1,"P-3000",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(f,"c-3000",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(g1,"P-3100",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(g,"c-3100",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(i1,"P-3200",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(i,"c-3200",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(j1,"P-3300",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(j,"c-3300",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Plot(k1,"P-3400",colorBlue,styleLine|styleNoRescale|styleNoDraw);
Color=IIf(C>Ref(C,-1),colorBlue,colorRed);
Plot(C,"C",color,styleBar|styleOwnScale|styleThick);
/*
Title = "Options, C-2600:" + WriteVal(Foreign("NFCE1_2600","Close") 
+ ", C2700:" +
WriteVal(Foreign("NFCE1_2700","CLOSE") + ", C2800:" + WriteVal(Foreign
("NFCE1_2800","CLOSE") + ", C-2900:" +
WriteVal(Foreign("NFCE1_2900","CLOSE") + ", C-3000: " + WriteVal
(Foreign("NFCE1_3000","CLOSE");
*/
//Title =" " + Name() + ", " + Interval(2) + ", " + Date() + "\n"+ 
//"C-3100 = "+WriteVal(a)+" "+ "P-3100 = "+WriteVal(b)+");








Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to