In Prorealtime I would like to use the 3/10 oscillator indicator (see: http://www.netpicks.com/310-oscillator-macd/ ). This is in fact a MACD with parameters 3,10,16 which uses simple moving averages instead of exponential moving averages. In Prorealtime it’s impossible to adjust the moving average setting of the MACD. Does someone has a solution for this? For me this is a very usefull parameter.
>> Hi, Please update your country flag by selecting a location in your profile settings. Thank you 🙂 <<
You’d need to code it in the PRT probuilder module
I am accessing the forum without being able to launch the platform today and code it and test it bug-free, but at first glance replacing ema with simple ma in macd line should be fairly quick and short coding:
myOSC=average[3](close)-average[10](close)
mySignal=average[16](myOSC)
return myOSC as "myOSC", mySignal as "mySignal"