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" <razzba...@...> 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 > > >
