Shaikh Saab Ki Magarmach
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Shaikhoo

//@version=5
indicator(title="Shaikh Saab ki Magarmach", shorttitle="Shaikhoological", overlay=true, timeframe="", timeframe_gaps=true)
smma(src, length) =>
	smma =  0.0
	smma := na(smma[1]) ? ta.sma(src, length) : (smma[1] * (length - 1) + src) / length
	smma
jawLength =(13) 
teethLength =(8)
lipsLength = (5)
jawOffset = (8)
teethOffset = (5)
lipsOffset = (3)
jaw = smma(hl2, jawLength)
teeth = smma(hl2, teethLength)
lips = smma(hl2, lipsLength)

Shaikhoology = smma(close,200)
plot(Shaikhoology,title="AttackLine", color=color.black)
plot(jaw, "Jaw", offset = jawOffset, color=#2962FF)
plot(teeth, "Teeth", offset = teethOffset, color=color.red)
plot(lips, "Lips", offset = lipsOffset, color=color.green)

