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

Re: [amibroker] Referencing a Variable from One Indicator in another Indicator


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: Re: [amibroker] Referencing a Variable from One Indicator in another Indicator
  • From: "Ara Kaloustian" <ara1@xxxxxxxxxx>
  • Date: Sat, 17 Nov 2007 07:32:41 -0800

PureBytes Links

Trading Reference Links

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" <umrperumal@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 



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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/