Published On Apr 11, 2023
In this video I show python code to create the market profile with a kernel density estimate (a.k.a Parzen window). We find and filter peaks of the market profile using prominence to extract support and resistance levels. The code has customizable time weighting to allow for quicker identification of the levels for real time use. I show a simple trend following strategy that buys on the penetration of the levels with decent performance. This tool can be used to implement algorithmic trading strategies that require current support/resistance levels.
Patreon: / neurotrader
Links
Full Code found in mp_support_resist.py : https://github.com/neurotrader888/Tec...
Prominence Scipy: https://docs.scipy.org/doc/scipy/refe...
Prominence Wikipedia: https://en.wikipedia.org/wiki/Topogra...
Parzen Window:
https://en.wikipedia.org/wiki/Kernel_...
The content covered on this channel is NOT to be considered as any financial or investment advice. Past results are not necessarily indicative of future results. This content is purely for education/entertainment.