<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <meta name="google-signin-client_id" content="394151549131-9fdfcis053i2a2a3ltcck6hbijcmv7vu.apps.googleusercontent.com">
    <title>@ViewData["Title"] | Empowered Forex Trader (test ) </title>
    <link rel="apple-touch-icon" href="~/images/apple-icon120.png">
    <link rel="shortcut icon" type="image/x-icon" href="~/favicon.ico">
    <link href="https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,500i%7COpen+Sans:300,300i,400,400i,600,600i,700,700i" rel="stylesheet">
    <!-- BEGIN VENDOR CSS-->
    <link rel="stylesheet" type="text/css" href="~/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="~/fonts/feather/style.min.css">
    <link rel="stylesheet" type="text/css" href="~/fonts/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="~/fonts/flag-icon-css/css/flag-icon.min.css">
    <link rel="stylesheet" type="text/css" href="~/css/pace.css">
    <link rel="stylesheet" type="text/css" href="~/css/unslider.css">
    <link rel="stylesheet" type="text/css" href="~/css/climacons.min.css">
    <link rel="stylesheet" type="text/css" href="~/css/minimal/_all.css">
    <link rel="stylesheet" type="text/css" href="~/css/square/_all.css">
    <link rel="stylesheet" type="text/css" href="~/css/flat/_all.css">
    <link rel="stylesheet" type="text/css" href="~/css/line/_all.css">
    <link rel="stylesheet" type="text/css" href="~/css/polaris/polaris.css">
    <link rel="stylesheet" type="text/css" href="~/css/futurico/futurico.css">
    <link rel="stylesheet" type="text/css" href="~/css/icheck/custom.css">
    <link href="~/css/bootstrap-datetimepicker.css" rel="stylesheet" />
    <!-- END VENDOR CSS-->
    <!-- BEGIN STACK CSS-->
    <link rel="stylesheet" type="text/css" href="~/css/bootstrap-extended.css">
    <link href="~/css/toastr.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="~/css/colors.css">
    <link rel="stylesheet" type="text/css" href="~/css/components.css">
    <!-- END STACK CSS-->
    <!-- BEGIN Page Level CSS-->
    <link rel="stylesheet" type="text/css" href="~/css/horizontal-menu.css">
    <link rel="stylesheet" type="text/css" href="~/css/toastr.css">
    <!-- END Page Level CSS-->
    <!-- BEGIN Custom CSS-->
    <link rel="stylesheet" type="text/css" href="~/css/style.css">
    <!-- END Custom CSS-->
    <meta property="og:title" content="EFORT" />
    <meta property="og:description" content="EFORT a new trading experience" />
    <meta property="og:image" content="https://assets.highcharts.com/images/demo-thumbnails/highcharts/chart-update-default.png" />
    <script>
        window.fbAsyncInit = function () {
            FB.init({
                appId: '381664379359373',
                autoLogAppEvents: true,
                xfbml: true,
                version: 'v2.10'
            });
            FB.AppEvents.logPageView();
        };

        (function (d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) { return; }
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/en_US/sdk.js";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
    </script>
</head>
<body class="horizontal-layout horizontal-menu 2-columns menu-expanded" data-open="click" data-menu="horizontal-menu" data-col="2-columns">
    <!-- fixed-top-->
    <nav class="header-navbar navbar-expand-md navbar navbar-with-menu navbar-static-top navbar-light navbar-shadow navbar-border navbar-brand-center">
        <div class="navbar-wrapper">
            <div class="navbar-header">
                <ul class="nav navbar-nav flex-row">
                    <li class="nav-item mobile-menu d-md-none mr-auto">
                        <a class="nav-link nav-menu-main menu-toggle hidden-xs" href="#"><i class="ft-menu font-large-1"></i></a>
                    </li>
                    <li class="nav-item">
                        <a class="navbar-brand" href="@Url.Action("Index", "Home")">
                            <img class="brand-logo" alt="stack admin logo" src="~/images/logo192.png">
                        </a>
                    </li>
                    <li class="nav-item d-md-none">
                        <a class="nav-link open-navbar-container" data-toggle="collapse" data-target="#navbar-mobile"><i class="fa fa-ellipsis-v"></i></a>
                    </li>
                </ul>
            </div>
            <div class="navbar-container container center-layout">
                <div class="collapse navbar-collapse" id="navbar-mobile">
                    <ul class="nav navbar-nav mr-auto float-left">
                        <li class="nav-item d-none d-md-block"><a class="nav-link nav-link-expand" href="#"><i class="ficon ft-maximize"></i></a></li>
                    </ul>
                    <ul class="nav navbar-nav float-right">
                        <li class="dropdown dropdown-notification nav-item">
                            <a class="nav-link nav-link-label" href="#" data-toggle="dropdown"><i class="ficon ft-mail"></i><span class="badge badge-pill badge-default badge-warning badge-default badge-up">0</span></a>
                            <ul class="dropdown-menu dropdown-menu-media dropdown-menu-right">
                                <li class="dropdown-menu-header">
                                    <h6 class="dropdown-header m-0"><span class="grey darken-2">Messages</span><span class="notification-tag badge badge-default badge-warning float-right m-0">0 New</span></h6>
                                </li>
                                <li class="scrollable-container media-list">
                                    <a href="javascript:void(0)">
                                        <div class="media">
                                            <div class="media-body">
                                                <p class="notification-text font-small-3 text-muted">No messages</p>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="dropdown-menu-footer"><a class="dropdown-item text-muted text-center" href="javascript:void(0)">Read all messages</a></li>
                            </ul>
                        </li>
                        <li class="dropdown dropdown-user nav-item">
                            <a class="dropdown-toggle nav-link dropdown-user-link" href="#" data-toggle="dropdown">
                                @if (Model.IsImpersonated)
                                {
                                    <span class="avatar avatar-online" title="User being impersonated">
                                        <img src="~/images/avatar-empty-black.png" alt="avatar">
                                        <i class="ft-eye impersonated"></i>
                                    </span>
                                }
                                else
                                {
                                    <span class="avatar avatar-online">
                                        <img src="~/images/avatar-empty-black.png" alt="avatar">
                                        <i></i>
                                    </span>
                                }
                                <span class="user-name">@Model.LoggedUserFullName</span>
                            </a>
                            <div class="dropdown-menu dropdown-menu-right">
                                <a class="dropdown-item" href="@Url.Action("EditUserProfile", "Trader")"><i class="ft-user"></i> Edit Profile</a>
                                <a class="dropdown-item" href="@Url.Action("MyForexAccounts", "Trader")"><i class="ft-list"></i> My Forex Accounts</a>
                                <a class="dropdown-item" href="@Url.Action("MyAccounts", "Accounts")"><i class="ft-credit-card"></i> My Accounts</a>
                                <a class="dropdown-item" href="@Url.Action("Reports", "Trader")"><i class="ft-book"></i> My Reports</a>
                                <a class="dropdown-item" href="#"><i class="ft-mail"></i> My Inbox</a>
                                <div class="dropdown-divider"></div>
                                @if (!String.IsNullOrEmpty(Model.Impersonator))
                                {
                                    <a class="dropdown-item" href="@Url.Action("ReturnAdminPanel", "UserManagement")"><i class="ft-log-out"></i> Back to Admin Panel</a>
                                }
                                <a class="dropdown-item" href="@Url.Action("Logout", "Login")"><i class="ft-power"></i> Logout</a>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </nav>
    <!-- ////////////////////////////////////////////////////////////////////////////-->
    <!-- Horizontal navigation-->
    <div class="header-navbar navbar-expand-sm navbar navbar-horizontal navbar-fixed navbar-light navbar-without-dd-arrow navbar-shadow menu-border" role="navigation" data-menu="menu-wrapper">
        <!-- Horizontal menu content-->
        <div class="navbar-container main-menu-content container center-layout" data-menu="menu-container">
            <!-- include ../../../includes/mixins-->
            <ul class="nav navbar-nav" id="main-menu-navigation" data-menu="menu-navigation">
                <li class="dropdown mega-dropdown nav-item" data-menu="megamenu">
                    <a class="dropdown-toggle nav-link" href="#" data-toggle="dropdown"><i class="ft-bar-chart"></i><span>Markets</span></a>
                    <ul class="mega-dropdown-menu dropdown-menu row">
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">EUR/USD</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">USD/JPY</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">GBP/USD</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">AUD/USD</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li class="dropdown mega-dropdown nav-item" data-menu="megamenu">
                    <a class="dropdown-toggle nav-link" href="#" data-toggle="dropdown"><i class="ft-cpu"></i><span>Trading Tools</span></a>
                    <ul class="mega-dropdown-menu dropdown-menu row">
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Algorithm 1</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Algorithm 2</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Algorithm 3</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Algorithm 4</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li class="dropdown mega-dropdown nav-item" data-menu="megamenu">
                    <a class="dropdown-toggle nav-link" href="#" data-toggle="dropdown"><i class="ft-trending-up"></i><span>Market Analysis</span></a>
                    <ul class="mega-dropdown-menu dropdown-menu row">
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Market 1</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Market 2</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Market 3</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Market 4</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li class="dropdown mega-dropdown nav-item" data-menu="megamenu">
                    <a class="dropdown-toggle nav-link" href="#" data-toggle="dropdown"><i class="ft-book"></i><span>Education</span></a>
                    <ul class="mega-dropdown-menu dropdown-menu row">
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Trader Themes</a>
                                            <ul class="mega-menu-sub">
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>All</a>
                                                </li>
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>Trading Concepts</a>
                                                </li>
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>Managing Risk</a>
                                                </li>
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>Trading Startegies</a>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Trader Courses</a>
                                            <ul class="mega-menu-sub">
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>Beginner</a>
                                                </li>
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>Intermediate</a>
                                                </li>
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>Advanced</a>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="col-md-3" data-mega-col="col-md-3">
                            <ul class="drilldown-menu">
                                <li class="menu-list">
                                    <ul class="mega-menu-sub">
                                        <li>
                                            <a class="dropdown-item" href="#">Other Resources</a>
                                            <ul class="mega-menu-sub">
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>What is Forex?</a>
                                                </li>
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>Chart Basics</a>
                                                </li>
                                                <li>
                                                    <a class="dropdown-item" href="#"><i class="ft-chevrons-right"></i>Glossary</a>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
        <!-- /horizontal menu content-->
    </div>
    <!-- Horizontal navigation-->
    <partial name="_CookieConsentPartial" />
    <div class="pb-3">
        @RenderBody()
    </div>
    <!-- ////////////////////////////////////////////////////////////////////////////-->
    <footer class="footer fixed-bottom footer-light footer-border">
        <div class="clearfix blue-grey lighten-2 text-sm-center mb-0 px-2 container center-layout">
            <div class="float-md-left d-block d-md-inline-block copyright">Copyright  &copy; @DateTime.Today.Date.Year.ToString() Empowered Forex Trader - All rights reserved. </div>
        </div>
    </footer>
    <script src="~/js/jquery-3.3.1.js"></script>
    <script src="~/js/vendor.js"></script>
    <script type="text/javascript" src="~/js/jquery.sticky.js"></script>
    <script src="~/js/unslider-min.js"></script>
    <link rel="stylesheet" type="text/css" href="~/css/palette-climacon.css">
    <link rel="stylesheet" type="text/css" href="~/fonts/simple-line-icons/style.min.css">
    <script src="~/js/icheck.min.js"></script>
    <script src="~/js/moment-with-locales.min.js"></script>
    <script src="~/js/jqBootstrapValidation.js"></script>
    <script src="~/js/bootstrap-datetimepicker.min.js"></script>
    <script src="~/js/toastr.min.js"></script>
    <script src="~/js/app-menu.js"></script>
    <script src="~/js/app.js"></script>
    <script src="~/js/site.js"></script>
    <script src="~/js/canvasjs.min.js"></script>
    <script src="https://apis.google.com/js/platform.js" async defer></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var success = null;
            var error = null;
            error = '@ViewBag.Error'
            success = '@ViewBag.Success';

            if (success != '') {
                toastr.success(success, '@ViewData["Title"] | Empowered Forex Trader');
            }
            else if (error != '') {
                toastr.error(error, '@ViewData["Title"] | Empowered Forex Trader');
            }

            $('#timeFrameM1TB').on('change', function () {
                updateChart(1, exponentialMovingAverageEnabled, movingAverageEnabled, volumeEnabled, true, target);
            });
            $('#timeFrameM5TB').on('change', function () {
                updateChart(5, exponentialMovingAverageEnabled, movingAverageEnabled, volumeEnabled, true, target);
            });
            $('#timeFrameM15TB').on('change', function () {
                updateChart(15, exponentialMovingAverageEnabled, movingAverageEnabled, volumeEnabled, true, target);
            });
            $('#timeFrameH1TB').on('change', function () {
                updateChart(60, exponentialMovingAverageEnabled, movingAverageEnabled, volumeEnabled, true, target);
            });
            $('#timeFrameH4TB').on('change', function () {
                updateChart(240, exponentialMovingAverageEnabled, movingAverageEnabled, volumeEnabled, true, target);
            });
            $('#timeFrameW1TB').on('change', function () {
                updateChart(10080, exponentialMovingAverageEnabled, movingAverageEnabled, volumeEnabled, true, target);
            });
            $('#timeFrameMN1TB').on('change', function () {
                updateChart(43800, exponentialMovingAverageEnabled, movingAverageEnabled, volumeEnabled, true, target);
            });

            var url = window.location.href;
            var title = document.title;
            var via = "yourTwitterUsername";
            $('#share-wa').attr('data-url', url).attr('data-title', title).attr('data-sharer', 'whatsapp');
            $('#share-fb').attr('data-url', url).attr('data-sharer', 'facebook');
            $('#share-tw').attr('data-url', url).attr('data-title', title).attr('data-via', via).attr('data-sharer', 'twitter');
            $('#share-li').attr('data-url', url).attr('data-sharer', 'linkedin');
            $('#share-gp').attr('data-url', url).attr('data-title', title).attr('data-sharer', 'googleplus');
            $('#share-em').on('shown.bs.modal', function () {
                $('#FromName').trigger('focus')
            })
            //Prevent basic click behavior
            $(".sharer button").click(function () {
                event.preventDefault();
            });

            // only show whatsapp on mobile devices
            var isMobile = false;
            // device detection
            if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)
                || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0, 4))) {
                isMobile = true;
            }

            if (isMobile == true) {
                $("#share-wa").show();
            }
            else {
                $("#share-wa").hide();
            }

            $('#candlestickTB').on('change', function () {
                graphStyleToolbarAction('candlestick');
            });
            $('#barTB').on('change', function () {
                graphStyleToolbarAction('ohlc');
            });
            $('#LineTB').on('change', function () {
                graphStyleToolbarAction('line');
            });

            $('#exponentialMovingAverageTB').on('change', function () {
                exponentialMovingAverageToolbarAction();
            });
            $('#movingAverageTB').on('change', function () {
                movingAverageToolbarAction();
            });
            $('#volumeTB').on('change', function () {
                volumeToolbarAction();
            });
            $('#crosshairTB').on('change', function () {
                crosshairToolbarAction();
            });
            $(function () {
                $("input[name='timeFrameTB']").on("change", function (e) {
                    var newValue = e.target.value;
                    $("input[name='forexAccountModel.Settings.TimeFrame'][value='" + newValue + "']").prop("checked", true);
                    evaluateSettings();
                });
            });
        });

        
    </script>
    <script>
        function justEmail(googleUser) {
            var profile = googleUser.getBasicProfile();
            var auth2 = gapi.auth2.getAuthInstance();
            auth2.disconnect();

            $.ajax({
                type: "POST",
                url: '@Url.Action("GoogleRegistration", "Trader")',
                data: { googleEmail: profile.getEmail() },
                dataType: 'json',
                success: function (json) {
                    if (json != "") {
                        if (json.result == "Redirect") {
                            window.location.href = json.url
                        }
                    }
                },
                error: function () { }
            });
        }

        function signOut() {
            var auth2 = gapi.auth2.getAuthInstance();
            auth2.signOut().then(function () {
                console.log('User signed out.');
            });
        }
        // Facebook SignIn
        window.fbAsyncInit = function () {
            FB.init({
                appId: '254898212345912',
                cookie: true,
                xfbml: true,
                version: 'v6.0'
            });

            FB.getLoginStatus(function (response) {
                statusChangeCallbackJustEmail(response);
            });

        };

        (function (d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) { return; }
            js = d.createElement(s); js.id = id;
            js.src = "https://connect.facebook.net/en_US/sdk.js";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));

        function statusChangeCallbackJustEmail(response) {
            if (response.status === 'connected') {
                console.log('Logged in and authenticated');
                testAPIJustEmail();
                FB.logout();
            } else {
                console.log('Not authenticated');
            }
        }


        function checkLoginStateJustEmail() {
            FB.getLoginStatus(function (response) {
                statusChangeCallbackJustEmail(response);
            });
        }

        function testAPIJustEmail() {
            FB.api('/me?fields=email', function (userInfo) {
                if (userInfo && !userInfo.error) {
                    console.log('Facebook Email captured: ' + userInfo.email);
                    console.log(typeof userInfo.email);

                    $.ajax({
                        type: "POST",
                        url: '@Url.Action("FacebookRegistration", "Trader")',
                        data: { facebookEmail: userInfo.email },
                        dataType: 'json',
                        success: function (json) {
                            if (json != "") {
                                if (json.result == "Redirect") {
                                    console.log("inside success")
                                    window.location.href = json.url
                                }
                                else if (json.result == "Failed Login") {
                                    console.log("user should be logged out")
                                }
                            }
                        },
                        error: function () { }
                    });

                }
            })
        }
    </script>
</body>
</html>