Thanks a lot Mr Jerry Gress & Ara Kaloustian UMR Perumal
--- In [email protected], "Ara Kaloustian" <[EMAIL PROTECTED]> wrote: > > write your formula in a separate file and use the "#indlude" command to > include your formula in each indicator. See help foe #include. > > > ----- Original Message ----- > From: "umrperumal" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Saturday, November 17, 2007 3:20 AM > Subject: [amibroker] Referencing a Variable from One Indicator in another > Indicator > > > > > > Hi > > > > I am having a custom indicator titled "Premium Indicator". This > > indicator has two variables namely > > 1) FuturesPremium > > 2) AveragePremium (Signal Line - Mov average of the first variable). > > > > I am using these two variables in 4 other indicators. I have > > repeated the formulas in all the indicators. When any change is to be > > made in the formula / input, I have to make the change in all the 5 > > indicators which is cumbersome. > > > > Is there any way by which I can reference the variables from the > > master indicator, in the other 4 indicators. > > > > I have added #include function as under: > > #include "C:\Program Files\AmiBroker\AFL\PremiumIndicator.afl" > > > > Beyond this I do no know how to proceed. > > > > Shall be thankful if anybody can help me solve the problem. > > > > With kind regards > > > > UMR Perumal > > > > > > > > > > > > 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 > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
