TradingView
loxx
Jul 23, 2022 4:42 AM

Pips-Stepped PDFMA [Loxx] 

U.S. Dollar/Canadian DollarFXCM

描述

Pips-Stepped PDFMA [Loxx] is and Pips-stepped moving average that uses a probability density function moving average. This is tuned for Forex. You must adjust the step size to extreme levels for this to work for crypto or stocks. Try 30000 for BTC on the daily chart, for example.

What is Probability Density Function?
Probability density function based MA is a sort of weighted moving average that uses probability density function to calculate the weights.

Included:
  • Bar coloring
  • Alerts
  • Expanded source types
  • Signals
  • Flat-level coloring for scalping

版本注释

Code clean up.

版本注释

Code clean up

版本注释

Input updates
评论
dogekao
Can be used 15min btc for scalp?
Jittra
Why did you use _calcBaseUnit with JPY calculation?
loxx
@Jittra, JPY has some screwy point values, this is the way to fix it, common for quant coders to know this. ill probably pull this out in the future, not a fan of hard coding workarounds like this
Jittra
@loxx, thanks. I like the Supertrend Oscillator you did back in 2021.
更多