Hello.
I am currently developing an Indicator which intends to give some Quantitative Information and Pricing of some Derivatives; e.g.:
Hist.Vol. (Parkinson etc.)
Distribution of Underlying
Probability Density if possible
forward Price Simulation (GBM,JumpDiff)
BSM-Options
Digital Options
Is it possible to create Output in the Indicator and Oscillator Fields within the same .lua or should one use two Files instead and call the second one?
I would like the Indicator to save the Results of the Calculations to the users HDD if checked for further handling. Is there a way to achieve this? I discovered the 'file' Command using the Documentation but unfortunately no Examples regarding this Command.
Furthermore i do wish to know whether it is possible to design the Init() routine way more dynamicly:
If the Users checkes a boolean Option the corresponding Style-Options like Color, Line-Width etc. should appear. If one has a lot of possible User-Choices (e.g. 20 Option-Types) the Style-Section is going to be very unhandy.
Thanks in Advance,
Ali