dgtrd

Logistic EMA w/ Signals by DGT

Logistic Map Equation - The logistic map connects fluid convection, neuron firing, the Mandelbrot set and so much more.

This study is an attempt to apply Logistic Map Equation in Trading

Logistic Map Equation

Xn+1 = r * Xn * (1 - Xn)

Where,
r - growth rate
Xn - percentage of theoretical maximum of measured event (from 0 to 1)
(1 - Xn) - represents constraints of the environment, presents the idea of negative feedback

For trading the measured event will be the price of the instrument (price is commonly reffered as source in mathematicall forumlations),
hence
r - growth rate can be expressed as => change(source, length) / source, expressing r in such manner mades the equation dynamic with regards to the growth rate
Xn - percentage of theoretical maximum of the price for given duration can be expressed as => source / highest(length)

Putting pieces together we are ready to plot



Printed alone does not seem to provide much useful visualization for trading, in fact not easy to interpret especially when the market is an uptrend

What it has numerically,
Provides a ratio, where sudden changes are much more reflected thanks to negative feedback nature of the logistic equation.

As we know moving average indicators are lagging and the logistic map may fit here to reduce the lag

With this study you will find application of Logistic Map Equation with combination of Exponential Moving Average ( EMA )


Logistic EMA (LEMA) and LEMA COLORS
one line with user defined periods of length, where the colors of the line will change automatically depending where the value is compared to 50-100-200 moving average


Multiple LEMAs : optional – three fixed lenght of 50-100-200 period lines




LEMA Signals
Various signals are added by using LEMA and applying some common market approaches. Use with caution and with conjunction of other indicators



Thanks to @allanster for the idea
A fascinating YouTube video explaining the logistic map - “This equation will change how you see the world (the logistic map)”


Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely

The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script

Release Notes: minor fix
Remove from Favorite Scripts Add to Favorite Scripts

Comments

thanks for sharing this interesing indicator:)
+1 Reply
dgtrd blackcat1402
thank you @blackcat1402, logistic map equation is fascinating ;-)
Reply
Another great tool from the master! Gonna try and test it. Thank you Boss @dgtrd
+1 Reply
dgtrd kwarrot
thank you @kwarrot, i will be gald to hear how your tests were ;-)
Reply
wow, thank you so much sir for your generous indicator, now im looking forward to learn the yutube video :]
Reply
dgtrd longterminvesment
thank you @longterminvesment, i am glad you like it.

btw, i do not have any YouTube channel, the one i am reffering in the desription is someone's else. it is a fascinating video explaining the logistic map applied on real life. this study came to life after watching this video, links are not allowed in the description so if you are interested to watch the video you shall search with “This equation will change how you see the world (the logistic map)”
Reply
Funny enough was working with Ema's just today and here you are publishing something new, thanks!
Reply
dgtrd Pratik_4Clover
thank you @Pratik_4Clover, i am curious to see yours ;-)
Reply
@dgtrd, @dgtrd, Not for publishing, just experimenting on ema replicating rsi effect as Duyck has published, its an interesting concept.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out