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

Re: [amibroker] Re: PositionSize / Capital



PureBytes Links

Trading Reference Links

Hi, Yuki:

I use this formula:

_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows);
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", colorBlack ), styleNoTitle | ParamStyle("Style", styleCandle, maskPrice ) );
_SECTION_END();

_SECTION_BEGIN("ATR");
periods =
Param( "Periods", 50, 1, 200, 1 );
Plot(100* ATR(periods)/C,"%ATR", ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();


See attached screen shot. Yuki, make sure, when you select OwnScale in the parameters window, you click inside the box to the left of the word OwnScale, placing a check mark in the box. Otherwise, it  won't plot ownscale.

Al V.


Yuki Taga wrote:
My goodness.  How on earth do you stop that from compressing the
price chart severely?  I can't do it even with styleownscale.

Yuki



Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

PNG image