mbarcala
Active member
This is macZLSMA Overlay Indicator from tradingView converted by mbarcala, Enjoy!
Original Link: https://www.tradingview.com/script/ZGwKOzBZ-macZLSMA-Overlay/
Photo
13504[/ATTACH]']
script
Original Link: https://www.tradingview.com/script/ZGwKOzBZ-macZLSMA-Overlay/
Photo
13504[/ATTACH]']
script
Code:
# macZLSMA Overlay from TradingView converted by mbarcala
#Original link: https://www.tradingview.com/script/ZGwKOzBZ-macZLSMA-Overlay/
#// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
#// © veryfid
#//@version=4
#study(title = "macZLSMA Overlay", shorttitle="macZLSMA", overlay=true, resolution="")
declare lower;
input length = 20;
input length2 = 5;
def lsma = inertia(close, length);
def lsma2 = inertia(lsma, length);
def b = lsma-lsma2;
plot zlsma2 = lsma + b;
plot trig2 = ExpAverage(zlsma2,length2);
Attachments
Last edited: