@extends('client.includes.layout') @section('client_page_title', 'MT4 Accounts') @section('style') @endsection @php $workspaceDesign = \App\Support\ClientPresentation::matchedSlug(); $twoFactorEnabled = (bool) ($client->two_factor_enabled ?? false); $kycStatus = $client->kyc_status ?: 'not submitted'; $allowedLeverages = array_values(array_filter(array_map('intval', (array) config('mt4.allowed_leverages', [1,2,3,5,10,15,20,25,33,50,66,100,200,300,400,500])))); @endphp @section('trading_actions')
Open WebTrader
@endsection @section('trading_security')
2FA {{ $twoFactorEnabled ? 'enabled' : 'disabled' }} KYC {{ ucfirst($kycStatus) }} @unless($workspaceDesign) {{ $activeTheme['name'] ?? 'Selected theme' }} @endunless
@endsection @section('trading_hero')
Secure MT4 account monitor

Welcome, {{ $client->full_name ?: $client->email }}

Switch between your MT4 accounts, monitor live account values, inspect market history, and submit funding requests. Order execution is available only through WebTrader.

@yield('trading_security')
@yield('trading_actions')
@endsection @section('trading_accounts')
@forelse($accounts as $account)
@if($account->is_primary)Primary@endif
Loading…
Reading synchronized MT4 values
@empty
No MT4 account yet
Create an account using one of the groups enabled by your administrator.
@endforelse
@endsection @section('trading_metrics')
@foreach([['balance','Balance','fa-wallet'],['equity','Equity','fa-line-chart'],['free_margin','Free margin','fa-unlock'],['margin','Used margin','fa-lock'],['credit','Credit','fa-plus-circle'],['leverage','Leverage','fa-balance-scale']] as $metric)
{{ $metric[1] }}
—
@endforeach
@endsection @section('trading_requests')

Recent requests

Deposit, withdrawal, and processed MT4 transaction details
No account selected.
@endsection @section('trading_chart')

MT4 market chart

Read-only OHLC market data with human-readable timestamps
Bid
—
Ask
—
Load a symbol to display its MT4 price history.
@endsection @section('trading_summary')

Selected account

The selection is retained when the page is refreshed
Select an account.
@endsection @section('trading_history')

MT4 order and transaction history

Read-only portal view. Use WebTrader for all order execution.
OrderSymbol / typeVolumeOpen priceClose priceS/LT/PProfitOpen timeClose time
Select an MT4 account to load its history.
@endsection @section('client_content') @if($workspaceDesign) @include('client.presentation.dashboard') @else
@yield('trading_hero') @yield('trading_accounts') @yield('trading_metrics')
@yield('trading_requests') @yield('trading_chart')
@yield('trading_summary')
@yield('trading_history')
@endif @endsection @section('script') @endsection