by fortcentral » Tue Jan 29, 2019 8:59 pm
Dear Apprentice,
This might make it easier. Here is a summarised version of my previous DDPO update request, posted "Sat Jan 26, 2019 3:29 am".
Summary:
1) Current "OB%" (60%.high) and the "OS%" (60%.low) values appears switched in the oscillator display. Needs confirmation please and a fix.
2) Need DDPO calculation results to display to "5 significant figures" please or floating point representation in final display. e.g: "4.8973e-04" or "0.00048973" preferred over "0.0005", as is current.
3) Starting error in DDPO calculation needs fix. At the moment, "DDPO(time)=price(time)", when "n.period.SMA=0" at start.
4) Would be nice to have "current calculation values" display at top of oscillator panel as a text string:
(ia) "DDPO","Instrument","price.source" - done!
(ib) "Scaling.Factor","lookback.period","Starting.Date.lookback",
(ii) "Max.OB, Min.OS",
(iii) "Avg.OB, Avg.OS"
(iv) "OB%,OS%"
Display Example: DDPO(EUR/USD,Close, SF=1.00): 4.8973e-03 Lookback(100, start):30-Aug,2018 OB(Max,Avg,x%):1.0572e-02,1.0098e-02,6.0588e-03 OS(Max,Avg,x%):-1.3086e-02,-1.0133e-02,-6.0798e-03
Numbers above are for illustration only, detailed description in earlier post.
Regards,
Fortcentral