WebAug 12, 2024 · The text label of the vertical line can be set from within the code. The date/time data is not easy to derive because Thinkorswim language does not include any … WebThis example draws a vertical line with the Open value for the beginning of each month. The same result will be obtained with concatenation operator “+”: AddVerticalLine(getMonth() …
Learning Center - Time Level - Thinkorswim
WebAug 27, 2024 · 2. Indicator: Basic support and resistance levels in TOS. A very simple yet useful indicator that draws the underlying High, Low and Close levels of the previous day. These levels are used in many simple trading strategies, which is why this thinkscript is so popular among traders. Web# plot a horizontal line # at the average price of your open position def open_position_avg_price = GetAveragePrice (); # color the plot line based on position side # quantity will be negative if short def open_position_qty = GetQuantity (); def PnL_Line_Color = if open_position_qty < 0 then -1 else 1; #debug lithos in greek
[email protected] script to draw a vertical line X bars ago
WebSep 5, 2016 · The ability to change the line style (solid, dashed, dotted, etc.) and thickness/weight The ability to place the lines on the lower studies (volume, etc.) as well as the main price chart, if desired $ 99.99 $ 49.99 Add to cart Reversal time indicator example setup: custom time lines every 20 minutes. Questions? WebDec 27, 2024 · Double-click on the scroll icon to open the same thinkScript editor window that’s on Charts (figure 2). For a custom quote, click “Apply” to save the changes when you're done writing your code. Then click “Add Item (s)” on the Customize Quotes menu to add it to your selected column set. WebNote that when used in script for a custom quote, this function sets the background color of the quote cell. Input parameters Example AssignBackgroundColor (color.DARK_RED); Sets the background color to dark red. AddVerticalLine AssignNormGradientColor Top How to thinkorswim thinkManual Trading How-Tos Mobile Trading Reference Drawings lithosite