# NEOTICKER DATA BEGIN ScriptType=Indicator Description=Example Formula Spread by Bar Name=ex_for_sbb Language=Formula Links=2 MinBars=0 TimerInterval=100 EarlyBinding=0 MetaStyle=Candle ValueRange=Same as Source Placement=New Pane Multiplot_num_plots=4 Multiplot_color_0=38502400 Multiplot_style_0=Line Multiplot_width_0=2 Multiplot_enabled_0=1 Multiplot_breakstyle_0=0 Multiplot_color_1=38502400 Multiplot_style_1=Line Multiplot_width_1=2 Multiplot_enabled_1=1 Multiplot_breakstyle_1=0 Multiplot_color_2=38502400 Multiplot_style_2=Line Multiplot_width_2=2 Multiplot_enabled_2=1 Multiplot_breakstyle_2=0 Multiplot_color_3=38502400 Multiplot_style_3=Line Multiplot_width_3=2 Multiplot_enabled_3=1 Multiplot_breakstyle_3=0 UpdateByTick=0 FloatMarker=1 DepthData=0 TradingSystemUI=0 PrimaryLinkOnly=0 NotifyOnRemoval=0 Param_count=2 Param_name_0=weighting 1 Param_inuse_0=1 Param_type_0=real Param_default_0=0.5 Param_name_1=weighting 2 Param_inuse_1=1 Param_type_1=real Param_default_1=0.2 Explanation_Lines=1 Explanation0=Direct weighted spread calculation plotted in bar meta style. # NEOTICKER DATA END plot1 := param1*data1.open(0)-param2*data2.open(0); plot2 := param1*data1.high(0)-param2*data2.high(0); plot3 := param1*data1.low(0)-param2*data2.low(0); plot4 := param1*data1.close(0)-param2*data2.close(0);