Price Momentum Oscillator

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Price Momentum Oscillator

Postby isamegrelo » Sun Oct 08, 2017 3:16 pm

This is formula:

// --- settings
//length1=35 // "First Smoothing"
//length2=20 //"Second Smoothing"
//siglength=10 //"Signal Smoothing"
// --- end of settings

if barindex>1 then
i = (close/close[1])*100

sm1 = 2.0/length1
csf1=((i-100)-csf1[1])*sm1+csf1[1]
pmol2=csf1

sm2 = 2.0/length2
csf2=((10*pmol2)-csf2[1])*sm2+csf2[1]
pmol=csf2

pmols=average[siglength,1](pmol)

endif

return pmols coloured(100,100,100) as "Signal", pmol coloured(0,0,0) style(line,2) as "PMO", 0 coloured(100,100,100) style(dottedline) as "0 level"
isamegrelo
FXCodeBase: Initiate
 
Posts: 114
Joined: Mon May 29, 2017 3:36 pm



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot] and 15 guests