<?php
defined("ABSPATH") || exit;
require_once __DIR__ . '/../shared/technical_builder.php';
$vunelix_widget = vunelix_build_technical_widget('oscillators', [
    'showAllSections'        => false,
    'enableGaugesSection'    => true,
    'enableTablesSection'    => true,
    'enableOscillatorsGauge' => true,
    'enableOscillatorsTable' => true,
    'enableTimeframeButtons' => true,
], ['hasGauge' => true, 'hasTable' => true]);
$vunelix_widget['js'] = 'widgets/technical/vunelix-oscillators.js';
$vunelix_widget['defaults']['symbol'] = $vunelix_widget['settings']['data']['fields']['symbol']['default'] = 'BINANCE:ETHUSD';
$vunelix_widget['defaults']['default_period'] = '1D';
$vunelix_widget['defaults']['enable_title'] = false;
return $vunelix_widget;
