freqtrade / freqtrade-strategies

Free trading strategies for Freqtrade bot
GNU General Public License v3.0
3.27k stars 1.11k forks source link

Universal MACD Strategy Added! #290

Closed mablue closed 1 year ago

mablue commented 1 year ago

Summary

I changed MACD formula to divergence of (MA12/MA26 - 1). And its make it more useful. Cuz: 1) comparability with all other coins with different prices. 2) fix small numbers in low price coines like shiba 3) making a almost limited-normalized indicator like RSI to use it for optimization and ML/AI projects as a variable

Most important thing about this indicator is that its Universal Now you can compare the UMACD of Shiba with btc without any problem in matamatics space.No need to use virtuality and its important in Optimization problems that we rediuse the problem from a picture to a number(A plot to a list of numbers) If we don't care about exagrated pumps and dumps, we can say to it Normalized-MACD too. cuz in normal situations its MAX ≈ 0.1 and MIN ≈ -0.1 in daily tf https://www.tradingview.com/script/xNEWcB8s-Universal-Moving-Average-Convergence-Divergence/

Quick strategy idea

the idea is that we try to find things like bricks when we want to make a house in the nature. cuz the shape is important to keep things Over each other and construction. the optimization algos are like that we try to solve a problem on nature and construct a formula to use it. the bricks of the optimization algos are variables like RSI that are limited to 0,100 and/or any other variables and indicators that not infinite. we try on UMACD to make an almost infinite indicator to use it as a limited variable. and solve the secret of getting rich!‌ :rofl: