PureBytes Links
Trading Reference Links
|
No luck.
if( IFP == 1 ) error - variable is not intialized.
I changed to 1 instead of "1" based on Herman's comment, but same
error). The Include file needs somehow to accept an uninitialized
value or increment an intialized value passed to it from the Main
file. Any thoughts ?
--- In amibroker@xxxxxxxxxxxxxxx, "gmorlosky" <gmorlosky@xxx> wrote:
>
> I'll try that. I was attempting something, but kept getting hung up
> as if I were to use, in the single indicator:
>
> > if( IFP == "1" )
> > {
> > Plot(....)
> > Plot(....)
> > }
>
> then that single indicator would error saying IFP was not
> initialized. I'll try your method and let you know.
>
> P.S. I need to keep the single indicators intact as that way they
> plot their own and the composite plots the same singles formulas
and
> everything stays in synch (i.e. change a single indicator formula
and
> the composite changes - both graphed separately).
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "marketmonk777" <RedEyes777@>
> wrote:
> >
> > There may be another way but I am not sure it will work.
> >
> > In your main file (the one that the include files are called
from)
> put
> > this in the parameters list:
> > IFP = ParamToggle("Plot Include File Indicators?", "No|Yes");
> > // IFP ~ Include File Plot?
> >
> > This will be used as a switch so to speak.
> >
> > Then modify your include files by changing the plot statements to:
> > if( IFP == "1" )
> > {
> > Plot(....)
> > Plot(....)
> > }
> >
> > Let us know if you get it working.
> >
> >
> > >
> > > How about making a copy of the #Include file, renaming it to
> > > #filename_woPlot and removing all Plot statements?
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "gmorlosky" <gmorlosky@>
wrote:
> > > >
> > > > I want to include my indicators using #include in a composite
> > indicator
> > > > that takes their values and plots something, but I don't want
> their
> > > > plots as I will have my own plot in this composite indicator.
> How
> > do I
> > > > stop those #includes from plotting ?
> > > >
> > >
> >
>
------------------------------------
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/
|