I want to apply a conditional statement to the SetPaintingStrategy() in thinkscript so that the color plot will change when a specific condition is met.
Sample code with paintingstrategy:
Sample code with paintingstrategy:
Code:
plot Result = 10;
Result.setPaintingStrategy(if condition then paintingStrategy.ARROW_UP else paintingstrategy.ARROW_DOWN);
Last edited: