Some basic syntax
Plot(C,"Close",colorBlack,stylecandle);
b =min( Param("CoverPrice",0,0,BarCount-1,1) ,barindex());// added min to
ensure you do not select point form before the chart starts
d =Ref(Close ,-b );
Plot(d,"Original Close",colorBlue,styleline);

As to what you were trying to achieve I am sorry but I am not understanding
the intent of your code
'd' will not plot as a candle because it is a single array value in
plotting, so havfe added te base price candle plot, and changed d to line
plot

--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com


On 30/12/06, ziad aljalsi <[EMAIL PROTECTED]> wrote:

GO BACK   IN DATE

_SECTION_BEGIN("GO BACK");

_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo
%g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) )
));

b = Param("CoverPrice",0,0,BarCount,1);
d =Ref(Close ,-b);
Graph0=Plot(d,"Original Close",colorBlack,styleCandle);
_SECTION_END();


THIS IS THE FRIST FOTMULA FOR ME SO WHO CAN HELP ME


Send instant messages to your online friends http://uk.messenger.yahoo.com



Reply via email to