Created
March 22, 2020 07:08
-
-
Save rwilkes/32ae7cf3dfa597c0bd38d4a222c27337 to your computer and use it in GitHub Desktop.
ThinkScript for shading the 10 and 20 day Hull Moving Average
This file contains hidden or 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
# follow @KRose_TDA on twitter for updates to this and other scripts | |
# creates a cloud between two HullMovingAvg movingAverage averages | |
input FastHullMaMaLength = 10; | |
input SlowHullMaLength = 20; | |
def FastHull = reference HullMovingAvg("length" = FastHullMaMaLength); | |
def SlowHull = reference HullMovingAvg("length" = SlowHullMaLength); | |
AddCloud(FastHull, SlowHull, Color.GREEN, Color.RED, yes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment