#] #] ********************* #] "$d_webRaw"'Software programming & code/PineScript for TradingView market charts/Howell - fix symbols, eg rates div 10.txt' # www.BillHowell.ca 25Jul2022 initial # view this file in a text editor, with [constant width font, tab = 3 spaces], no line-wrap 08*****08 #] 25Jul2022 indicator("FVX.P 5y T-bond normal rate", overlay=true) // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Bill_Howell //@version=5 indicator("fix symbols - eg rates div 10", overlay=true) //Only pre-defined colors that I can see : // color.[black, silver, gray, white, red, purple, fuchsia, green, // lime, olive, yellow, navy, blue, teal, aqua, orange] FVXP_rateNormal = request.security("CBOE:FVX.P", timeframe.period, close /10) plot(FVXP_rateNormal, color=color.aqua, linewidth=2, title="FVX.P normal rate") IRXP_rateNormal = request.security("CBOE:IRX.P", timeframe.period, close /10) plot(IRXP_rateNormal, color=color.fuchsia, linewidth=2, title="IXR.P normal rate") // enddoc