Webb5 okt. 2024 · As noted by @Gary, thinkScript has no debugger tool. You can use chart bubbles, as Gary suggested, and chart labels. Chart bubbles appear at a specified bar … Webb11 jan. 2024 · you will need a plot function for each line you want. fold loops can repeat a formula x times, but it returns 1 number value. they can't include a plot. you can't have a …
Cool Scripts: Create a Stock Momentum Tool with a Twist
Webb768 subscribers in the ThinkScript community. A subreddit for the ThinkScript language used by the TD Ameritrade platform. Advertisement Coins. 0 coins. ... input month = 4; input day = 1; def c = GetYYYYMMDD() >= year * 10000 + month * 100 + day; plot p = if c then 42 else Double.NaN; Reply More posts from r/ThinkScript ... Webb1 jan. 2024 · You can reference one of these pre-defined data series, or you can create your own using variables: def openPlus5cents = open + 0.05, say, would be an IDataHolder … ccy 1.28 vc 12 1pc eb tlt
Learning Center - Chapter 13. Referencing Other Data
WebbPlots visually represent data processed by studies. If a study has multiple plots, each plot will be assigned an individual tab in the study customization dialog. Click through these … Webb11 mars 2024 · You can find it by clicking on the colored box and then going to the RGB tab, or one of the others... That gives the numeric representation of a color that you can then … WebbSimple MovingAverage trading strategy doesn't show up on charts. Real simple MA backtesting code, not sure why I can't even see the MA line across the chart. Any suggestions? # inputs. input tradeSize = 100; input price = close; input averageType = AverageType.SIMPLE; input percentGainGoal = 5; input percentLossGoal = 2; ccy227.com