PureBytes Links
Trading Reference Links
|
I just realised why it's getting comacted. (I think).
Because both plots are on the same scale.....
So to resolve I think I will need a section that says if Bars A to B are
visible, then plot the LineArray.
<MSG>
At 12:12 PM 23/04/2004, you wrote:
>I need some help getting my LineArray indicator working properly.
>If I scroll past the drawn LineArray, The normal price bars get Compacted!
>
>Here is the code, You can decrease the span of the LineArray via parameters
>(CTRL-R)
>
>//10 Year Line Array - MA(60).
>UMA = Param("UserMA",60,1,100,1);
>DIS = Param("DaySP",2500,2,BarCount-1,1); // (2500 Aprox 10 Years).
>
>TMA = MA(Close,UMA); // X Month Average
>x0=IIf((BarCount>(DIS+UMA)),((BarCount)-DIS),UMA);
>x1=BarCount-1;
>
>y0=TMA[x0];
>y1=TMA[x1];
>
>line = LineArray(x0,y0,x1,y1,0,0);
>Plot(Line,"line",colorBlue);
>
>Color = IIf(O > C, colorBlack, colorYellow);
>Plot( Close, "Price", color, styleCandle );
>
>YV=Year();
>MV=Month();
>DV=Day();
>
>_N(Title=
>"\nBars : "+x1+
>"\nFrom : "+DV[x0]+"/"+MV[x0]+"/"+YV[x0]+
>"\n MA(C,"+UMA+") : "+y0+
>"\nTo : "+DV[x1]+"/"+MV[x1]+"/"+YV[x1]+
>"\n MA(C,"+UMA+") : "+y1+
>"");
>
>
>
>Send BUG REPORTS to bugs@xxxxxxxxxxxxx
>Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
>-----------------------------------------
>Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
>(Web page:
><http://groups.yahoo.com/group/amiquote/messages/)>http://groups.yahoo.com/group/amiquote/messages/)
>--------------------------------------------
>Check group FAQ at:
><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
>
>
>----------
>Yahoo! Groups Links
> * To visit your group on the web, go to:
> *
> <http://groups.yahoo.com/group/amibroker/>http://groups.yahoo.com/group/amibroker/
>
> *
> * To unsubscribe from this group, send an email to:
> *
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> *
> * Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|