Quick-tip 67 | Change alpha value of a color in TradeStation EasyLanguage

2 years ago
18

QuickTip67 is a TradeStation EasyLanguage indicator that demonstrates how to change the alpha value of a color input as a string. The EasyLanguage indicator draws a rectangle when it is first applied to the chart. It colors the fill (using the string input: Col). The alpha value is changed based on the integer input: Alpha. The color of the rectangle itself (the outline) is colored based on the same color input (using the string input: Col) except it is fully opaque.

This technique was used in Tutorial 176: https://markplex.com/free-tutorials/tutorial-176-blend-bar-study/
and in Tutorial 156: https://markplex.com/free-tutorials/tutorial-156-import-data-in-csv-file-and-draw-it-on-a-chart/

Go to the quick-tip page here: https://markplex.com/free-tutorials/tradestation-easylanguage-quicktips/quick-tip-67-alpha-value-of-a-color-input/

Loading comments...