WebThe impact of 'double' is that constants such as the names of the 23 ThinkScript colors, like LIGHT_RED, BLUE, UPTICK, etc., are not floating point numbers and hence cannot be used in this immediate-if. In this case, the if-expression would be used. ... Assign a name to a color. You may assign a name to a color like: WebNov 14, 2024 · Jun 10, 2024. #1. Adding Color to Plots and Labels. A frequent request is for coloring plots, labels, watch lists: green for upticks, red for down. This example can be applied to a plot of any type of …
Easy Coding for Traders: Build Your Own Indicator - Ticker Tape
WebSep 3, 2016 · AssignBackgroundColor(if isAbove then CreateColor(153, 255, 153) else if isBelow then CreateColor(255, 102, 255) else (color.current)); Also, unless you want to draw on a chart, use def instead of plot, which will negate the need for hide(). Hope this helps... Edited 1 time(s). Last edit at 08/22/2016 10:25AM by netarchitech. ReplyQuote Erica WebFeb 9, 2024 · assignPriceColor (if !PaintBars then Color.CURRENT else if Value >= 0 and Value > Avg [1] then color.Green else if Value <=0 and Value < Avg [1] then color.Red else color.White); Value is the MACD line, so if the value is above zero, and the value is above the avg then green; and the inverse for red, else white. great start frozen breakfast
TOS & Thinkscript Collection - Jim Shingler Blog
WebLearning Center - GlobalColor GlobalColor GlobalColor ( String name); Description Gets a plot color by name. The color should be defined by the plot.DefineColor (name, color) statement. Input parameters Example See the DefineGlobalColor function example. GetColor Hide Top How to thinkorswim thinkManual Trading How-Tos Mobile Trading Reference WebOverSold.SetDefaultColor (Color.GRAY); AssignPriceColor (if MFI >= OverBought then MFI.color ("OverBought") else if MFI <= OverSold then MFI.color ("OverSold") else … WebChange Watchlist Color Based on Day over Day change of RSI « Back to Previous Page Category: Watch Lists 0 ♥ 0 Mr. Hahn: I am presently using your answer to this idea in my watch list column. Without question it’s a great tool. I find that I still need to check to be sure that the RSI value is climbing or falling. florence residences top date