Hi Guys,
So you can create a custom color in thinkscript using SetDefaultColor(CreateColor(R,G,B)); When you access the color of the input in the Study Settings...you are manually able to swap the color mode to RGBA/CMYK/etc. Does anyone know if there is a way to access this functionality via thinkscript?
So you can create a custom color in thinkscript using SetDefaultColor(CreateColor(R,G,B)); When you access the color of the input in the Study Settings...you are manually able to swap the color mode to RGBA/CMYK/etc. Does anyone know if there is a way to access this functionality via thinkscript?
Code:
#Creating a boring RGB color Example:
plot Price = close;
Price.SetDefaultColor(CreateColor(255, 220, 210));
Price.SetDefaultColor(CreateColor(RGBA(255, 220, 210, 100))); # Doesn't work
Price.SetDefaultColor(CreateColor(255, 220, 210, 100)); # Doesn't work