Is there an upper limit to how many FunctionParameter? don't appear to be able to edit parameter 7 when the following is loaded into the chart.
function preMain() {
setPriceStudy(true);
setStudyTitle("test");
var fp1 = new FunctionParameter("nP1", FunctionParameter.NUMBER);
fp1.setDefault(1);
var fp2 = new FunctionParameter("nP2", FunctionParameter.NUMBER);
fp2.setDefault(1);
var fp3 = new FunctionParameter("nP3", FunctionParameter.NUMBER);
fp3.setDefault(1);
var fp4 = new FunctionParameter("nP4", FunctionParameter.NUMBER);
fp4.setDefault(1);
var fp5 = new FunctionParameter("nP5", FunctionParameter.NUMBER);
fp5.setDefault(1);
var fp6 = new FunctionParameter("nP6", FunctionParameter.NUMBER);
fp6.setDefault(1);
var fp7 = new FunctionParameter("nP7", FunctionParameter.NUMBER);
fp7.setDefault(1);
}
function main(nP1,nP2,nP3,nP4,nP5,nP6,nP7) {
return null;
}
function preMain() {
setPriceStudy(true);
setStudyTitle("test");
var fp1 = new FunctionParameter("nP1", FunctionParameter.NUMBER);
fp1.setDefault(1);
var fp2 = new FunctionParameter("nP2", FunctionParameter.NUMBER);
fp2.setDefault(1);
var fp3 = new FunctionParameter("nP3", FunctionParameter.NUMBER);
fp3.setDefault(1);
var fp4 = new FunctionParameter("nP4", FunctionParameter.NUMBER);
fp4.setDefault(1);
var fp5 = new FunctionParameter("nP5", FunctionParameter.NUMBER);
fp5.setDefault(1);
var fp6 = new FunctionParameter("nP6", FunctionParameter.NUMBER);
fp6.setDefault(1);
var fp7 = new FunctionParameter("nP7", FunctionParameter.NUMBER);
fp7.setDefault(1);
}
function main(nP1,nP2,nP3,nP4,nP5,nP6,nP7) {
return null;
}
Comment