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

Re: [amibroker] Help with PLOT syntax



PureBytes Links

Trading Reference Links

ROC1 is not a function as shown, just an array variable. If you want the ROc of ROC1 then use ROC(ROC1,periods)


--
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com

On 19/03/2008, James <jamesmemphis@xxxxxxxxx> wrote:

Could someone please tell me what is wrong with this PLOT statement.

 

_SECTION_BEGIN

("ROC1");

P = ParamField( "Price field" );

periods = Param("Periods", 15, 1, 200, 1 );

ROC1 = ( P / Ref (P,-12));

Plot

( ROC1 ( P, periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );

_SECTION_END

();

 

Thanks in advance,

James



Looking for last minute shopping deals? Find them fast with Yahoo! Search.



__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___