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