How to auto change Price Level Line Color


Category:
0
0

Just found this site by watching a tutorial video on YouTube regarding the watchlist.

For the life of me I have been trying to find a way to automatically change my plotted levels (price level line) colors. Price above a price level turning green (support) and price below turning red (resistance).

Is there any code for such a strat?

Your assistance is greatly appreciated!

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on September 15, 2022 10:38 am
58 views
0
Private answer

If you are speaking of the drawing tool named "Price Level", there is no option to set the color based on any code you can write in a chart study. The color of the "Price Level" tool is adjusted through the properties window. Only one price can be selected for each "Price Level" object.

The following post will provide a more detailed explanation about drawing tools on Thinkorswim:

https://www.hahn-tech.com/ans/create-and-edit-drawing-tools-from-chart-study/

You may create rules for dynamically adjusting the color of a plot statement. But you cannot do so with any of the drawing tools.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on September 15, 2022 11:06 am