Created
March 2, 2018 19:20
-
-
Save cryppadotta/0f73b9ac679d378c1eeb93777783e0d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=3 | |
study(title="Adjusted Moving Average Exponential by Dotta", shorttitle="EMA Dotta", overlay=true) | |
len = input(9, minval=1, title="Length") | |
adjustment = input(-10, minval=-100, maxval=100, title="Adjustment") | |
src = input(close, title="Source") | |
out = ema(src, len) * (1 + (adjustment / 100)) | |
plot(out, title="EMA", color=fuchsia) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment