- 覆盖
- LineStyles
- 自定义覆盖商品
覆盖
本主题包含图表属性说明。 这些属性被处理作为可定制的。 其他属性自定义则不被支持。
文件的格式:
<property_path>: <default Charting Library value>
// 支持的值: large, medium, small, tinyvolumePaneSize: "large"// 在文本编辑器中可用的字体(即,在"文本"绘图工具属性对话框中)editorFontsList: ['Verdana', 'Courier New', 'Times New Roman', 'Arial']paneProperties.background: "#ffffff"paneProperties.vertGridProperties.color: "#E6E6E6"paneProperties.vertGridProperties.style: LINESTYLE_SOLIDpaneProperties.horzGridProperties.color: "#E6E6E6"paneProperties.horzGridProperties.style: LINESTYLE_SOLIDpaneProperties.crossHairProperties.color: "#989898"// 边际(百分比)。 用于自动缩放。paneProperties.topMargin: 5paneProperties.bottomMargin: 5// leftAxisProperties & rightAxisPropertiespaneProperties.leftAxisProperties.autoScale:true (see #749)paneProperties.leftAxisProperties.autoScaleDisabled:false (see #749)paneProperties.leftAxisProperties.percentage:falsepaneProperties.leftAxisProperties.percentageDisabled:falsepaneProperties.leftAxisProperties.log:falsepaneProperties.leftAxisProperties.logDisabled:falsepaneProperties.leftAxisProperties.alignLabels:truepaneProperties.legendProperties.showStudyArguments: truepaneProperties.legendProperties.showStudyTitles: truepaneProperties.legendProperties.showStudyValues: truepaneProperties.legendProperties.showSeriesTitle: truepaneProperties.legendProperties.showSeriesOHLC: truescalesProperties.showLeftScale : falsescalesProperties.showRightScale : truescalesProperties.backgroundColor : "#ffffff"scalesProperties.lineColor : "#555"scalesProperties.textColor : "#555"scalesProperties.scaleSeriesOnly : falsetimeScale.rightOffset: 5timezone: "Etc/UTC" # 查看支持的时区列表(在Symbology#时区页面)查看可用值// 系列风格。 请参阅下面的支持的值// Bars = 0// Candles = 1// Line = 2// Area = 3// Heiken Ashi = 8// Hollow Candles = 9// Renko = 4// Kagi = 5// Point&Figure = 6// Line Break = 7mainSeriesProperties.style: 1mainSeriesProperties.showCountdown: truemainSeriesProperties.showLastValue:truemainSeriesProperties.visible:truemainSeriesProperties.showPriceLine: truemainSeriesProperties.priceLineWidth: 1mainSeriesProperties.lockScale: falsemainSeriesProperties.minTick: "default"mainSeriesProperties.extendedHours: falsemainSeriesProperties.priceAxisProperties.autoScale:true (see #749)mainSeriesProperties.priceAxisProperties.autoScaleDisabled:false (see #749)mainSeriesProperties.priceAxisProperties.percentage:falsemainSeriesProperties.priceAxisProperties.percentageDisabled:falsemainSeriesProperties.priceAxisProperties.log:falsemainSeriesProperties.priceAxisProperties.logDisabled:falsesymbolWatermarkProperties.color : "rgba(0, 0, 0, 0.00)"// 不同的图表类型默认// 蜡烛样式mainSeriesProperties.candleStyle.upColor: "#6ba583"mainSeriesProperties.candleStyle.downColor: "#d75442"mainSeriesProperties.candleStyle.drawWick: truemainSeriesProperties.candleStyle.drawBorder: truemainSeriesProperties.candleStyle.borderColor: "#378658"mainSeriesProperties.candleStyle.borderUpColor: "#225437"mainSeriesProperties.candleStyle.borderDownColor: "#5b1a13"mainSeriesProperties.candleStyle.wickUpColor: 'rgba( 115, 115, 117, 1)'mainSeriesProperties.candleStyle.wickDownColor: 'rgba( 115, 115, 117, 1)'mainSeriesProperties.candleStyle.barColorsOnPrevClose: false// Hollow Candles stylesmainSeriesProperties.hollowCandleStyle.upColor: "#6ba583"mainSeriesProperties.hollowCandleStyle.downColor: "#d75442"mainSeriesProperties.hollowCandleStyle.drawWick: truemainSeriesProperties.hollowCandleStyle.drawBorder: truemainSeriesProperties.hollowCandleStyle.borderColor: "#378658"mainSeriesProperties.hollowCandleStyle.borderUpColor: "#225437"mainSeriesProperties.hollowCandleStyle.borderDownColor: "#5b1a13"mainSeriesProperties.hollowCandleStyle.wickColor: "#737375"// Heiken Ashi stylesmainSeriesProperties.haStyle.upColor: "#6ba583"mainSeriesProperties.haStyle.downColor: "#d75442"mainSeriesProperties.haStyle.drawWick: truemainSeriesProperties.haStyle.drawBorder: truemainSeriesProperties.haStyle.borderColor: "#378658"mainSeriesProperties.haStyle.borderUpColor: "#225437"mainSeriesProperties.haStyle.borderDownColor: "#5b1a13"mainSeriesProperties.haStyle.wickColor: "#737375"mainSeriesProperties.haStyle.barColorsOnPrevClose: false// Bars stylesmainSeriesProperties.barStyle.upColor: "#6ba583"mainSeriesProperties.barStyle.downColor: "#d75442"mainSeriesProperties.barStyle.barColorsOnPrevClose: falsemainSeriesProperties.barStyle.dontDrawOpen: false// Line stylesmainSeriesProperties.lineStyle.color: "#0303F7"mainSeriesProperties.lineStyle.linestyle: LINESTYLE_SOLIDmainSeriesProperties.lineStyle.linewidth: 1mainSeriesProperties.lineStyle.priceSource: "close"// Area stylesmainSeriesProperties.areaStyle.color1: "#606090"mainSeriesProperties.areaStyle.color2: "#01F6F5"mainSeriesProperties.areaStyle.linecolor: "#0094FF"mainSeriesProperties.areaStyle.linestyle: LINESTYLE_SOLIDmainSeriesProperties.areaStyle.linewidth: 1mainSeriesProperties.areaStyle.priceSource: "close"
LineStyles
LINESTYLE_SOLID = 0
LINESTYLE_DOTTED = 1
LINESTYLE_DASHED = 2
LINESTYLE_LARGE_DASHED = 3
自定义覆盖商品
study_Overlay@tv-basicstudies.style: (bars = 0, candles = 1, line = 2, area = 3, heiken ashi = 8, hollow candles = 9)study_Overlay@tv-basicstudies.showPriceLine: booleanstudy_Overlay@tv-basicstudies.candleStyle.upColor: colorstudy_Overlay@tv-basicstudies.candleStyle.downColor: colorstudy_Overlay@tv-basicstudies.candleStyle.drawWick: booleanstudy_Overlay@tv-basicstudies.candleStyle.drawBorder: booleanstudy_Overlay@tv-basicstudies.candleStyle.borderColor: colorstudy_Overlay@tv-basicstudies.candleStyle.borderUpColor: colorstudy_Overlay@tv-basicstudies.candleStyle.borderDownColor: colorstudy_Overlay@tv-basicstudies.candleStyle.wickColor: colorstudy_Overlay@tv-basicstudies.candleStyle.barColorsOnPrevClose: booleanstudy_Overlay@tv-basicstudies.hollowCandleStyle.upColor: colorstudy_Overlay@tv-basicstudies.hollowCandleStyle.downColor: colorstudy_Overlay@tv-basicstudies.hollowCandleStyle.drawWick: booleanstudy_Overlay@tv-basicstudies.hollowCandleStyle.drawBorder: booleanstudy_Overlay@tv-basicstudies.hollowCandleStyle.borderColor: colorstudy_Overlay@tv-basicstudies.hollowCandleStyle.borderUpColor: colorstudy_Overlay@tv-basicstudies.hollowCandleStyle.borderDownColor: colorstudy_Overlay@tv-basicstudies.hollowCandleStyle.wickColor: colorstudy_Overlay@tv-basicstudies.hollowCandleStyle.barColorsOnPrevClose: booleanstudy_Overlay@tv-basicstudies.barStyle.upColor: colorstudy_Overlay@tv-basicstudies.barStyle.downColor: colorstudy_Overlay@tv-basicstudies.barStyle.barColorsOnPrevClose: booleanstudy_Overlay@tv-basicstudies.barStyle.dontDrawOpen: booleanstudy_Overlay@tv-basicstudies.lineStyle.color: colorstudy_Overlay@tv-basicstudies.lineStyle.linestyle: (solid = 0; dotted = 1; dashed = 2; large dashed = 3)study_Overlay@tv-basicstudies.lineStyle.linewidth: integerstudy_Overlay@tv-basicstudies.lineStyle.priceSource: open/high/low/closestudy_Overlay@tv-basicstudies.lineStyle.styleType: (bars = 0, candles = 1, line = 2, area = 3, heiken ashi = 8, hollow candles = 9)study_Overlay@tv-basicstudies.areaStyle.color1: colorstudy_Overlay@tv-basicstudies.areaStyle.color2: colorstudy_Overlay@tv-basicstudies.areaStyle.linecolor: colorstudy_Overlay@tv-basicstudies.areaStyle.linestyle: (solid = 0; dotted = 1; dashed = 2; large dashed = 3)study_Overlay@tv-basicstudies.areaStyle.linewidth: integerstudy_Overlay@tv-basicstudies.areaStyle.priceSource: open/high/low/close
