Thank you Sidhartha. I know what I am trying to achieve but I'm not sure how to go about it using AFLs. It may be I will have to think it through more clearly from a code point of view or perhaps I need to describe what I am trying to do in a more concise context. My poor ole brain has trouble thinking in terms of code. I truly admire those of you who are so adept at this. While I have thanked many of you for your help and kindness, I always appreciate your efforts on my behalf. Thank you.
Warmest regards, Tim --- In [email protected], "sidhartha70" <sidharth...@...> wrote: > > Tim, > > every parameter has a 'default' vaule that is set in AFL. Once you > 'know' what you want each parameter to be, you can simply make those > values the default in the AFL. Then they will be the same for every > chart... > > --- In [email protected], "Tim" <raven4ns@> wrote: > > > > Thank you Barry and Blair for your ideas. I was thinking about a > > custom approach to charts instead of a global approach. It was about > > having the charts all looking the same since my set-up doesn't change. > > This would eliminate the need to keep adjusting the parameters every > > time you changed the symbol. This aspect was behind my question about > > linking certain charts to V16807 and others to V117649. The ability to > > customize the look, interval, etc of a chart, so once it was set up > > properly, nothing further would need to be done with it. Many charts > > could/would use the same parameters but the big advantage is not > > having to make any adjustments as you scrolled through watchlists of > > symbols. Thank you again for your thoughts. > > > > Regards, > > > > Tim > > > > > > > > > > > > > > > > --- In [email protected], "Barry Scarborough" <razzbarry@> > > wrote: > > > > > > There are a couple of ways to do this. When I build an indicator I > copy > > > the code from ABs indicator folder into a new formula file and rename > > > it. Then I add other indicators in the same formula to make a > system of > > > indicators and whatever rules apply. If you assign default parameters > > > in you new formula then those will follow the chart created by > your new > > > indicator and will not follow the indicators on other charts. > > > > > > Then if you want to tailor the parameters for specific symbols on > your > > > new chart use and IF statement and change the parameters when a > > > predefined symbol is displayed and use the default for all other > > > symbols. > > > > > > pCCI = param("CCI period", 15, 2, 50); > > > if(name() == "IWM") pCCI = 12; > > > if(name() == "QQQQ") pCCI = 18; > > > fCCI = CCI(pCCI); > > > > > > Now your calculations for CCI follow the symbol name or use the > default. > > > > > > Barry > > > > > > --- In [email protected], "Tim" <raven4ns@> wrote: > > > > > > > > Hello, > > > > Is it possible to have parameters locked to a specific chart? > Instead > > > > of having the parameters that affected charts globally, you > could have > > > > the parameters fixed for that symbol. Then you could adjust the > > > > parameters for each individual chart if you so wished. > > > > The reason I ask is that I use labels on my charts. When I have > them > > > > adjusted correctly for 1 symbol the next symbol I bring up they may > > > > very well be adjusted incorrectly and I need to go through the > process > > > > again. I used labels as an example but there are other things and it > > > > would be nice to lock in the parameters for a chart so it appears > > > > correctly everytime you bring it up. Thank you for your ideas and > > > help. > > > > > > > > Kindest regards, > > > > > > > > Tim > > > > > > > > > >
