Hi Alex,
I'm looking at your builtinRSI.efs written on May 2003. It looks very neat, and I particularly like the way the input parameters are set, such as fp1, fp2, fp3, and fp4. It's also interesting to see how you use the fp2.addOptions.
I would like to write something like the builtinRSI.efs, where I can specify the options and limits of the parameters.
But I don't understand how you can specify addOption("HLC/3"), unless the method RSIStudy(Length, Source) takes care of all the possible combination of Sources.
Also, in the main(), you have
if (vRSI == null) vRSI = new RSIStudy(Length, Source);
which, as I undstand, creates an object vRSI, based on the class RSIStudy with parameters Length and Source.
I suppose RSIStudy.RSI call the method RSI. Is that correct?. So, how can I write my own object and methods like the RSIStudy, so I can do something like:
return vmyRSI.getValue(myRSIStudy.RSI);
Would it be possible to look inside the class RSIStudy?
William
I'm looking at your builtinRSI.efs written on May 2003. It looks very neat, and I particularly like the way the input parameters are set, such as fp1, fp2, fp3, and fp4. It's also interesting to see how you use the fp2.addOptions.
I would like to write something like the builtinRSI.efs, where I can specify the options and limits of the parameters.
But I don't understand how you can specify addOption("HLC/3"), unless the method RSIStudy(Length, Source) takes care of all the possible combination of Sources.
Also, in the main(), you have
if (vRSI == null) vRSI = new RSIStudy(Length, Source);
which, as I undstand, creates an object vRSI, based on the class RSIStudy with parameters Length and Source.
I suppose RSIStudy.RSI call the method RSI. Is that correct?. So, how can I write my own object and methods like the RSIStudy, so I can do something like:
return vmyRSI.getValue(myRSIStudy.RSI);
Would it be possible to look inside the class RSIStudy?
William
Comment