tradingview için olan bu formülü matriks prime için uyarlayabilir miyiz rica etsem ? //@version=5 indicator("Volume Comparison", overlay=false) // User-configurable inputs length = input.int(50, "Moving Average Period", minval=1, tooltip="Period for calculating the average volume") multiplier = input.float(2.0, "Volume Multiplier", minval=0.1, step=0.1, tooltip="Multiplier for comparing volume to average volume") // Get daily volume volume_daily = volume // Calculate average volume avg_volume = ta.sma(volume_daily, length) // Comparison: Is current volume at least multiplier times the average volume? is_high_volume = volume_daily >= avg_volume * multiplier // Label results label.new(bar_index, volume_daily, is_high_volume ? "True" : "False", color=is_high_volume ? color.green : color.red, style=label.style_label_down, textcolor=color.white) // Display results in a table var table t = table.new(position.top_right, 2, 3, border_width=1) if barstate.islast table.cell(t, 0, 0, "Current Volume", bgcolor=color.gray, text_color=color.white) table.cell(t, 1, 0, str.tostring(volume_daily), bgcolor=color.gray, text_color=color.white) table.cell(t, 0, 1, "Threshold (Avg Vol * Mult)", bgcolor=color.orange, text_color=color.white) table.cell(t, 1, 1, str.tostring(avg_volume * multiplier), bgcolor=color.orange, text_color=color.white) table.cell(t, 0, 2, "Condition", bgcolor=is_high_volume ? color.green : color.red, text_color=color.white) table.cell(t, 1, 2, is_high_volume ? "True" : "False", bgcolor=is_high_volume ? color.green : color.red, text_color=color.white) // Alarm conditions alertcondition(is_high_volume, title="Volume High", message="Volume is at least {{multiplier}}x the average volume") alertcondition(not is_high_volume, title="Volume Low", message="Volume is below {{multiplier}}x the average volume")