Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@pije76
Created July 17, 2019 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pije76/6cb0a03d705b56f145cd0014da480f73 to your computer and use it in GitHub Desktop.
Save pije76/6cb0a03d705b56f145cd0014da480f73 to your computer and use it in GitHub Desktop.
Checkbox & Number Fields
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="https://c.mql5.com">
<meta name="format-detection" content="telephone=no">
<link rel="shortcut icon" href="https://c.mql5.com/i/favicon.ico">
<meta name="msapplication-config" content="none"/>
<meta name="referrer" content="no-referrer-when-downgrade">
<meta property="qc:admins" content="36367170677651456375" />
<meta property="wb:webmaster" content="073d7690269bcd81" />
<link href="https://c.mql5.com/styles/core.fec5492c9486d200d7c1d5f7f1d8f63e.css" type="text/css" rel="stylesheet" media="all">
<link href="https://c.mql5.com/styles/all.6c1a822de15e5e23f16f390310b20371.css" type="text/css" rel="stylesheet" media="all">
<link href="https://c.mql5.com/styles/market.6e0b6b5a9abbf98a50cb7ed38d06ef10.css" type="text/css" rel="stylesheet" media="all">
<title>New product - MQL5 Market</title>
<script type="text/javascript">
!function(){var n=!(window.mqGlobal={}),e=!1,o=[],i=[];function t(t){var n;for(n=0;n<t.length;n+=1)t[n]()}function d(){n||(n=!0,t(o),o=[])}function c(){d(),e||(e=!0,t(i),i=[])}if(mqGlobal.AddOnReady=function(t){n?t(document):o.push(t)},mqGlobal.AddOnLoad=function(t){e?t(document):i.push(t)},mqGlobal.AddOnActiveWindowChange=function(t){this._onvisibility||(this._onvisibility=[]),this._onvisibility[this._onvisibility.length]=t},document.addEventListener)document.addEventListener("DOMContentLoaded",d,!1),window.addEventListener("load",c,!1);else if(document.attachEvent&&(document.attachEvent("onreadystatechange",function(){switch(document.readyState){case"interactive":d();break;case"complete":c()}}),window.attachEvent("onload",c),document.documentElement.doScroll&&window==window.top)){!function n(){if(!called&&document.body)try{document.documentElement.doScroll("left"),d()}catch(t){setTimeout(n,0)}}()}}();
mqGlobal.CookieDomain = ".mql5.com";
mqGlobal.Language = 'en';
mqGlobal.IsMobile = false;
mqGlobal.ClearRteStorage = function (e) { if (window.GStorage || (window.GStorage = globalStorage(window.globalStorageDomain, window.globalStoragePage)), window.GStorage.supported) try { var o = e; window.GStorage.getItem("rte_autosave_uid", function (e, t) { t == o && (window.GStorage.removeItem("rte_autosave_text"), window.GStorage.removeItem("rte_autosave_date"), window.GStorage.removeItem("rte_autosave_uid")) }) } catch (e) { } };
</script>
<script src="https://c.mql5.com/js/all.fe615d4d4cb1a4046054b341532dd0df.js" type="text/javascript" defer="defer"></script>
</head>
<body>
<div class="cover" id="cover">
<div class="head">
<a href="https://www.mql5.com" class="logo" title="MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal"></a>
<ul id="mainmenu" class="menu dropdown" style="padding-right: 0;">
<li class="selected">
<a id="mainMenuSelected" href="#">
<span class="on">Market</span><span class="off">Sections</span>
</a>
<ul id="mainmenuItems">
<li><a href="/en/trading"><span>WebTerminal</span></a></li>
<li><a href="/en/docs"><span>Documentation</span></a></li>
<li><a href="/en/economic-calendar"><span>Calendar</span></a></li>
<li><a href="/en/code"><span>CodeBase</span></a></li>
<li><a href="/en/articles"><span>Articles</span></a></li>
<li><a href="/en/job"><span>Freelance</span></a></li>
<li class="selected"><a href="/en/market"><span>Market</span></a></li>
<li><a href="/en/signals"><span>Signals</span></a></li>
<li><a href="/en/vps"><span>VPS</span></a></li>
<li><a href="/en/forum"><span>Forum</span></a></li>
<li class="mainMenuProfileLink"><a href="https://www.mql5.com/en/users/pije76"><span>Profile</span></a></li>
<li class="main-menu__about-link"><a href="/en/about"><span>About</span></a></li>
</ul>
</li>
<li><input class="blurHandler" id="mainMenuBlurHandler" type="checkbox"></li>
</ul>
<div class="toolbar" id="headerToolbar">
<div class="container notificationsToolbar"><ul id="privateAreaMessages">
<li><a class="linkNotify" href="/en/users/pije76/messages" id="notify_messages" title="Messages"><span class="messages"></span></a></li>
</ul></div>
<div class="groupMenu" id="groupMenu">
<div class="container profileToolbar"><ul id="profile"><li class="userLinkContainer" id="userLinkContainer"><a href="/en/users/pije76/news" class="userlink" id="userlink" title=""><img src="https://c.mql5.com/avatar/2019/1/5C3C1AF7-ED20.png" alt="" width="29" height="29"><span class="firstname">Panjianom</span> <span class="lastname">Adi Pratomo</span></a><ul class="userLinkMenu" id="userLinkMenu" >
<li class="messages delimiter"><a href="/en/users/pije76/messages"><span>Messages</span></a></li>
<li class="news"><a href="/en/users/pije76/news"><span>News feed</span></a></li>
<li class="profile"><a href="/en/users/pije76"><span>Profile</span></a></li>
<li class="favorites"><a href="/en/users/pije76/favorites"><span>Favorites</span></a></li>
<li class="choosein delimiter"><a href="/en/users/pije76/accounting/choosein"><span>Deposit to account</span></a></li>
<li class="chooseout"><a href="/en/users/pije76/accounting/chooseout"><span>Withdraw from account</span></a></li>
<li class="settings delimiter"><a href="/en/users/pije76/edit"><span>Settings</span></a></li>
<li class="logout delimiter"><a href="/en/auth_logout" onclick="doPost(event,'/en/auth_logout','743bd9c6ae09fc1812336401b759e644'); return false;"><span>Logout</span></a></li>
</ul></li></ul></div>
<div class="container langMenuContainer"><div id="langMenuContainer"><b id="langMenuSelected" class="en"><span>English</span></b><ul class="langmenu" id="langmenu"><li class="ru"><a href="/ru/market/new_product/mt4"><span>Русский</span></a></li><li class="zh"><a href="/zh/market/new_product/mt4"><span>中文</span></a></li><li class="es"><a href="/es/market/new_product/mt4"><span>Español</span></a></li><li class="pt"><a href="/pt/market/new_product/mt4"><span>Português</span></a></li><li class="ja"><a href="/ja/market/new_product/mt4"><span>日本語</span></a></li><li class="de"><a href="/de/market/new_product/mt4"><span>Deutsch</span></a></li><li><input class="blurHandler" id="langmenuBlurHandler" type="checkbox"></li></ul></div></div>
<div class="container searchBoxContainer"><div id="searchBoxContainer">
<form action='https://www.mql5.com/en/search' onsubmit='document.location.assign(("https://www.mql5.com/en/search") + ($("keyword").value.length>0?("#!keyword="+encodeURIComponent($("keyword").value)):"")); if(document.location.href.indexOf("/en/search#")>=0)setTimeout(function(){document.location.reload(true);},10);return false;' id='main_search_form' method='post'>
<div class="box"><div class="inputWrapper"><input name="keyword" type="text" title="Enter search text" id="keyword" /></div></div><input type="submit" value="" class="hiddenSearchSubmit" /><div class="searchSubmit" id="searchSubmit"></div></form>
</div></div>
</div>
</div>
<div class="sub-nav__container" style="right: 282px; display: none;" id="subNavContainer">
<div class="sub-nav__toggle" id="subNavToggle">...</div>
<ul id="subNavList"></ul>
<input class="blurHandler" id="blurHandlerSubNav" type="checkbox">
</div>
</div>
<div id='bfogggabsofabcpxuzmgaibarmaxasdrj' class="rmc_kZnDOT_yOZxq ff"></div>
<div class="body" id="bodyContent">
<div class="top-band">
<div class="path">
<div class="shortlinks">
<a href="/en/market" title="Market">Market</a>
/ <a href="/en/market/mt4">MetaTrader 4</a>
</div><h1>/ <a href="/en/market/new_product/mt4">New product</a></h1>
</div>
<div style="clear:left;"></div>
</div>
<div class="left-panel">
<div class="treeReadWrapper"> <ul class="treeMenuRoot">
<li><a href="/en/market/mt5" class="productCategories categoryMt"><span class="inLink">MetaTrader 5</span></a>
<ul class="treeMenuRoot nodelim">
<li><a href="/en/market/mt5/expert" class="productCategories categoryExpert"><span class="inLink">Experts</span></a></li>
<li><a href="/en/market/mt5/indicator" class="productCategories categoryIndicator"><span class="inLink">Indicators</span></a></li>
<li><a href="/en/market/mt5/library" class="productCategories categoryLibrary"><span class="inLink">Libraries</span></a></li>
<li><a href="/en/market/mt5/utility" class="productCategories categoryUtility"><span class="inLink">Utilities</span></a></li>
</ul>
</li>
</ul>
<ul class="treeMenuRoot">
<li><a href="/en/market/mt4" class="productCategories categoryMt"><span class="inLink">MetaTrader 4</span></a>
<ul class="treeMenuRoot nodelim">
<li><a href="/en/market/mt4/expert" class="productCategories categoryExpert"><span class="inLink">Experts</span></a></li>
<li><a href="/en/market/mt4/indicator" class="productCategories categoryIndicator"><span class="inLink">Indicators</span></a></li>
<li><a href="/en/market/mt4/library" class="productCategories categoryLibrary"><span class="inLink">Libraries</span></a></li>
<li><a href="/en/market/mt4/utility" class="productCategories categoryUtility"><span class="inLink">Utilities</span></a></li>
</ul>
</li>
</ul>
<ul class="treeMenuRoot">
<li><a href="/en/market/my" class="productCategories myProducts"><span class="inLink">My Products</span></a></li>
<li><a href="/en/market/widgets" class="productCategories widgets"><span class="inLink">Widgets</span></a></li>
<li><a href="/en/market/rules" class="productCategories rules"><span class="inLink">Rules</span></a></li>
</ul>
</div>
</div>
<div class="product_view products-form">
<div class="control-panel-progress">
<div>
<div class="job_steps">
<ul>
<a class="refresh_icon" onclick='location.reload(true);'></a>
<li>
<span class="step_arrow_lastPassed"></span>
<span class="step_current" onclick="location.reload(true);">Draft</span>
<span class="step_arrow_current"></span>
</li>
<li>
<span class="step_unreached" onclick="location.reload(true);">Ready</span>
<span class="step_arrow_unreached"></span>
</li>
<li>
<span class="step_unreached" onclick="location.reload(true);">Proof read</span>
<span class="step_arrow_unreached"></span>
</li>
<li>
<span class="step_unreached" onclick="location.reload(true);">Published</span>
<span class="step_arrow_unreached"></span>
</li>
</ul>
</div>
<div class="product_progress_help" style="display: block;">
<span class="stateIco Draft"></span><p>Specify the general information about new product: the name should consist of Latin letters and comprehensively reflect its purpose, so that users will quickly find your Product in the Market among other similar solutions. Select the Product type and category from the list.</p>
<p>For payed product unselect the "Free" checkbox and enter the desired amount. Each sale of your product will be charged for 20%.</p>
<div class="buttons_container">
</div>
</div>
</div>
</div>
<div class="control-panel-tabs">
<ul style="margin-left:10px;padding-top:10px;" class="tab_menu">
<li class="tab_item" id="tab_p_base">
<span>Common</span>
</li>
</ul>
<div id="content_base" class="tab_content">
<div class="product_view" style="margin-top:5px;">
<div class="iconed" style="padding:0px 10px 0 10px;">
<span class="hint"></span>
<p>Find out how to <a href="https://www.mql5.com/en/articles/385#base" target="_blank">fill in General Information section</a></p>
</div>
<script type='text/javascript'>/*<![CDATA[*/ if(! window.V) var V=[]; /*]]>*/</script>
<form method="POST" action="/en/market/new_product/mt4" onsubmit="var result = Validate(this); if(result) { preventDoubleSubmit(this); } return result;" autocomplete="off" enctype = "multipart/form-data"><input type="hidden" name="__signature" value="82c79a36b6aa78a1141eadb5c72a3072"/>
<div class="line">
<div class="label">
<label for="Title">Title:</label>
</div>
<div class="field_input">
<div class="inputWrapper" style="width: 360px;">
<input id="Title" name="Title" title="Product name must begin with a capital letter, its length should not exceed 50 characters. Only Latin characters and numbers are allowed. Do not use words in all-capital letters." type="text" value="" />
</div>
<div class="block_validation_messages">
<script type='text/javascript' id='validate_Title'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['Title',1,'Enter product name']);});mqGlobal.AddOnReady(function() {V.push(['Title',6,'Invalid title format','^[A-Z][A-Za-z0-9 ]{0,49}$','m']);}); /*]]>*/</script>
</div>
<div class="uploadInfo" style="margin-top:8px;">
Product name must begin with a capital letter, its length should not exceed 50 characters. Only Latin characters and numbers are allowed. Do not use words in all-capital letters.<br>
Do not use short or unreadable names. Specifying version numbers in the product name is not allowed. Do not use meaningless names, such as Expert 1, Expert 2015, Expert Asia, etc.
</div>
</div>
</div>
<div class="line">
<div class="label">
<label for="ProductCategory">Product:</label>
</div>
<div class="field_input">
<select name="ProductCategory" id="ProductCategory" onchange="ProductCategoryChange(this);">
<option value="1" selected>Experts</option>
<option value="2">Indicators</option>
<option value="5">Libraries</option>
<option value="7">Utilities</option>
</select>
<span class="uploadInfo"><span id="hint-1">EAs automatically perform trading operations and can be backtested in the Strategy Tester</span>
<span style="display: none;" id="hint-2">indicators are visually displayed on a chart and can be tested in the Strategy Tester</span>
<span style="display: none;" id="hint-5">ready functions and classes used in application development</span>
<span style="display: none;" id="hint-7">utilities can automate routine tasks and simplify separate operations in the trading platform</span></span>
</div>
</div>
<div class="line" id="subtype_1">
<div class="label">
Expert Advisor type:
</div>
<div class="field_input">
<ul style="width: 400px; list-style-type: none; padding: 0; margin: 0;">
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_1" type="checkbox" data-flag="1" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_1">Martingale</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_2" type="checkbox" data-flag="2" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_2">Grid</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_4" type="checkbox" data-flag="4" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_4">Arbitrage</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_8" type="checkbox" data-flag="8" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_8">Hedging</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_16" type="checkbox" data-flag="16" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_16">Scalping</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_32" type="checkbox" data-flag="32" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_32">News</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_64" type="checkbox" data-flag="64" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_64">Trend</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_128" type="checkbox" data-flag="128" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_128">Level trading</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_256" type="checkbox" data-flag="256" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_256">Neural networks</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_E_512" type="checkbox" data-flag="512" onchange="SubtypeSwitch(this);"/>
<label for="subtype_E_512">Multicurrency</label>
</li>
</ul>
</div>
</div>
<div class="line" id="subtype_2" style="display: none;">
<div class="label">
Indicator type:
</div>
<div class="field_input">
<ul style="width: 400px; list-style-type: none; padding: 0; margin: 0;">
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_1" type="checkbox" data-flag="1" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_1">Trend</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_2" type="checkbox" data-flag="2" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_2">Oscillators</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_4" type="checkbox" data-flag="4" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_4">Channels</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_8" type="checkbox" data-flag="8" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_8">Levels</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_16" type="checkbox" data-flag="16" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_16">Patterns</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_32" type="checkbox" data-flag="32" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_32">Multi-timeframe</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_64" type="checkbox" data-flag="64" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_64">Multicurrency</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_128" type="checkbox" data-flag="128" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_128">Cluster</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_I_256" type="checkbox" data-flag="256" onchange="SubtypeSwitch(this);"/>
<label for="subtype_I_256">Volumes</label>
</li>
</ul>
</div>
</div>
<div class="line" id="subtype_7" style="display: none;">
<div class="label">
Utility type:
</div>
<div class="field_input">
<ul style="width: 400px; list-style-type: none; padding: 0; margin: 0;">
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_1" type="checkbox" data-flag="1" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_1">Order management</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_2" type="checkbox" data-flag="2" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_2">Risk management</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_4" type="checkbox" data-flag="4" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_4">Chart management</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_8" type="checkbox" data-flag="8" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_8">Informers</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_16" type="checkbox" data-flag="16" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_16">Data export</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_32" type="checkbox" data-flag="32" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_32">Graphical objects</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_64" type="checkbox" data-flag="64" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_64">Analyzers</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_128" type="checkbox" data-flag="128" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_128">Panels</label>
</li>
<li style="width: 45%; display: inline-block; white-space: nowrap;">
<input id="subtype_U_256" type="checkbox" data-flag="256" onchange="SubtypeSwitch(this);"/>
<label for="subtype_U_256">Games</label>
</li>
</ul>
</div>
</div>
<div class ="line">
<div class="field_input">
<script type='text/javascript' id='validate_Subtype'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['Subtype',10,'At least 1 type must be selected',CheckProductSubtype]);}); /*]]>*/</script>
</div></div>
<input type="hidden" name="Subtype" id="Subtype" value="0"/>
<div class="line" style="padding-bottom: 2px;">
<div class="label">
<label for="Price">Price:</label>
</div>
<div class="field_input">
<input type="checkbox" id="priceFree" name="isFree" style="margin-top:2px;width:16px;height:16px;vertical-align:middle;" checked onclick="onPriceCheckChanged(this)" />
<label for="checkFree" style="color: #626363;vertical-align:middle;">Free</label>
</div>
</div>
<div class="line" style="padding-top: 2px;">
<div class="label" style="padding-top: 2px;">
</div>
<div class="field_input">
<div style="margin-bottom:5px;">
<div class="inputWrapper" style="width:100px;display:inline-block;*display:inline;*zoom:1;*margin-right:5px;line-height:22px;vertical-align:middle;">
<input data-old="" id="PriceRaw" name="PriceRaw" style="text-align: right; padding-right:2px;" type="text" value="0.00" />
</div>
<span id="PriceAdditional" style="color:#626363;display:inline-block;*display:inline;*zoom:1;line-height:22px;vertical-align:middle;">
USD
<input type="checkbox" id="checkPrice" name="checkPrice" style="margin-top:2px;width:16px;height:16px;vertical-align:middle;" onclick="onPriceCheckChanged(this)" />
<label for="checkPrice" style="color: #626363;vertical-align:middle;">for unlimited use</label>
</span>
<div>
<script type='text/javascript' id='validate_PriceRaw'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['PriceRaw',10,'Invalid price format. Please enter number',CheckProductPrice]);});mqGlobal.AddOnReady(function() {V.push(['PriceRaw',10,'Invalid price',CheckProductPriceValue]);}); /*]]>*/</script>
</div>
</div>
<div style="margin-bottom:5px;">
<div class="inputWrapper" style="width:100px;display:inline-block;*display:inline;*zoom:1;*margin-right:5px;line-height:22px;vertical-align:middle;">
<input data-old="" id="Price4Raw" name="Price4Raw" style="text-align: right; padding-right:2px;" type="text" value="0.00" />
</div>
<span id="Price4Additional" style="color:#626363;display:inline-block;*display:inline;*zoom:1;line-height:22px;vertical-align:middle;">
USD
<input type="checkbox" id="checkPrice4" name="checkPrice4" style="margin-top:2px;width:16px;height:16px;vertical-align:middle;" onclick="onPriceCheckChanged(this)" />
<label for="checkPrice4" style="color: #626363;vertical-align:middle;">1 month rent</label>
</span>
<div>
<script type='text/javascript' id='validate_Price4Raw'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['Price4Raw',10,'Invalid price format. Please enter number',CheckProductPrice]);});mqGlobal.AddOnReady(function() {V.push(['Price4Raw',10,'Invalid price',CheckProductSubscribePriceValue]);}); /*]]>*/</script>
</div>
</div>
<div style="margin-bottom:5px;">
<div class="inputWrapper" style="width:100px;display:inline-block;*display:inline;*zoom:1;*margin-right:5px;line-height:22px;vertical-align:middle;">
<input data-old="" id="Price3Raw" name="Price3Raw" style="text-align: right; padding-right:2px;" type="text" value="0.00" />
</div>
<span id="Price3Additional" style="color:#626363;display:inline-block;*display:inline;*zoom:1;line-height:22px;vertical-align:middle;">
USD
<input type="checkbox" id="checkPrice3" name="checkPrice3" style="margin-top:2px;width:16px;height:16px;vertical-align:middle;" onclick="onPriceCheckChanged(this)" />
<label for="checkPrice3" style="color: #626363;vertical-align:middle;">3 months rent</label>
</span>
<div>
<script type='text/javascript' id='validate_Price3Raw'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['Price3Raw',10,'Invalid price format. Please enter number',CheckProductPrice]);});mqGlobal.AddOnReady(function() {V.push(['Price3Raw',10,'Invalid price',CheckProductSubscribePriceValue]);}); /*]]>*/</script>
</div>
</div>
<div style="margin-bottom:5px;">
<div class="inputWrapper" style="width:100px;display:inline-block;*display:inline;*zoom:1;*margin-right:5px;line-height:22px;vertical-align:middle;">
<input data-old="" id="Price2Raw" name="Price2Raw" style="text-align: right; padding-right:2px;" type="text" value="0.00" />
</div>
<span id="Price2Additional" style="color:#626363;display:inline-block;*display:inline;*zoom:1;line-height:22px;vertical-align:middle;">
USD
<input type="checkbox" id="checkPrice2" name="checkPrice2" style="margin-top:2px;width:16px;height:16px;vertical-align:middle;" onclick="onPriceCheckChanged(this)" />
<label for="checkPrice2" style="color: #626363;vertical-align:middle;">6 months rent</label>
</span>
<div>
<script type='text/javascript' id='validate_Price2Raw'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['Price2Raw',10,'Invalid price format. Please enter number',CheckProductPrice]);});mqGlobal.AddOnReady(function() {V.push(['Price2Raw',10,'Invalid price',CheckProductSubscribePriceValue]);}); /*]]>*/</script>
</div>
</div>
<div style="margin-bottom:5px;">
<div class="inputWrapper" style="width:100px;display:inline-block;*display:inline;*zoom:1;*margin-right:5px;line-height:22px;vertical-align:middle;">
<input data-old="" id="Price1Raw" name="Price1Raw" style="text-align: right; padding-right:2px;" type="text" value="0.00" />
</div>
<span id="Price1Additional" style="color:#626363;display:inline-block;*display:inline;*zoom:1;line-height:22px;vertical-align:middle;">
USD
<input type="checkbox" id="checkPrice1" name="checkPrice1" style="margin-top:2px;width:16px;height:16px;vertical-align:middle;" onclick="onPriceCheckChanged(this)" />
<label for="checkPrice1" style="color: #626363;vertical-align:middle;">1 year rent</label>
</span>
<div>
<script type='text/javascript' id='validate_Price1Raw'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['Price1Raw',10,'Invalid price format. Please enter number',CheckProductPrice]);});mqGlobal.AddOnReady(function() {V.push(['Price1Raw',10,'Invalid price',CheckProductSubscribePriceValue]);}); /*]]>*/</script>
</div>
</div>
<div>
<input id="PriceValues" name="PriceValues" type="hidden" value="" />
<script type='text/javascript' id='validate_PriceValues'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['PriceValues',10,'Invalid price. Rent must be cheaper than purchase. Longer rent must have higher price.',validatePrices]);}); /*]]>*/</script>
</div>
<div class="uploadInfo" style="margin-top:8px;">
<div style="margin-bottom: 8px;"><span class="hint"></span>Published product's purchase and rent prices can be changed once per day.</div>
<div><p>The minimal price for all products in the Market is 30.00 USD. From this price the Market service charges 20% fee, i.e. when selling a Product for 100 USD the Seller will get 100 USD - 20% = 80 USD. Therefore, please properly consider the commission amount when determining a price for your Product.</p>
<p>Money for the sold Product are transferred to Seller's account immediately after purchase. The transferred amount shall be <a target="_blank" href="https://www.mql5.com/en/market/rules#part_VII">frozen for a week</a> for verification. If no payment violations are revealed during the verification procedure, the frozen amount will be automatically unlocked within the specified period and will become available for withdrawal.
</p>
<p>The entire Product sales and downloads data will be available in the Statistics section.</p></div>
</div>
</div>
</div>
<div class="line">
<div class="label">
<label for="MaxActivations">Activations:</label>
</div>
<div class="field_input">
<div class="inputWrapper" style="width: 50px;">
<input data-val="true" data-val-number="The field MaxActivations must be a number." data-val-required="The MaxActivations field is required." id="MaxActivations" name="MaxActivations" onchange="oldAct=this.value" style="text-align: right; padding-right:2px;display:none;" title="Please specify the number of activations. Minimal value is 5" type="text" value="5" />
<input disabled="disabled" id="MaxActivationsDisabled" name="MaxActivationsDisabled" style="display:inline;" type="text" value="" />
</div>
<div>
<script type='text/javascript' id='validate_MaxActivations'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['MaxActivations',14,'Please specify the number of activations. Minimal value is 5',5,2147483647]);}); /*]]>*/</script>
</div>
<div class="uploadInfo" style="margin-top:8px;">
Please specify the number of activations available for the buyers of your application. During the activation, your software product is bound to the buyer's hardware, so that the copy of the application cannot work on another PC. The application should be re-activated and downloaded again in order to launch it on another computer. This mechanism is designed to protect your application from unauthorized copying. The total amount of activations is specified here. If the activation limit is exceeded, the buyer will have to purchase the product again. The minimum number of activations is 5.
</div>
</div>
</div>
<div class="line">
<div class="label">
<label for="metaquotesId">Notifications:</label>
</div>
<div style="margin-left:130px;">
<div style="color:#626363;"><span class="metaquotesIdInfo">will be sent to MetaQuotes ID <b>5C9CC5E3</b></span></div>
</div>
</div>
<div class="iconed" style="margin:10px 10px 0 10px;padding: 10px; background-color: #EFEFEF;">
<p>Every Program sold at the Market is encrypted with a special key to protect the Product from illegal use. The encryption key is unique for every Buyer and it is bound to his computer, so that all the Products in the Market have automatic copy protection.</p>
<p>Purchased Product can be activated at least five times. This ensures the balance of interests between Buyers and Sellers. The number of available activations is set by the Seller.</p>
</div>
<div style="padding:10px;" class="ui">
<div class="agree-terms-developer">
<input type="checkbox" class="checkbox" id="AgreedMarketTermsDeveloper" onclick="onCheckboxChange();">
<input type="hidden" id="agreedTerms" name="agreedMarketTermsDeveloper" value="false">
<label for="AgreedMarketTermsDeveloper" onclick="onCheckboxChange();">I accept the terms of the <a href="/en/market/terms/developer" target="_blank">Market Developer Distribution Agreement</a></label>
</div>
<input type="submit" class="button button_green" disabled="disabled" id="buttonAdd" value="Add">
<input id="offlineBase" name="offlineBase" type="hidden" value="offline" />
<script type='text/javascript' id='validate_offlineBase'>/*<![CDATA[*/ mqGlobal.AddOnReady(function() {V.push(['offlineBase',13,'MQL5.com is upgrading... Do not refresh the page and try to save your changes a few minutes later.']);}); /*]]>*/</script>
</div>
<div class="clear-fix"></div>
</form>
</div>
</div>
</div>
<div class="clear-fix"></div>
</div>
</div>
<div class="footer desktop" id="footer">
<ul class="links links_desktop">
<li id="navFooterCommunity">
<b>MQL5.community</b>
<ul>
<li><a href="/en/trading">Online trading / WebTerminal</a></li>
<li><a href="/en/code">Free technical indicators and robots</a></li>
<li><a href="/en/articles">Articles about programming and trading</a></li>
<li><a href="/en/job">Order trading robots on the Freelance</a></li>
<li><a href="/en/market">Market of Expert Advisors and applications </a></li>
<li><a href="/en/signals">Follow forex signals</a></li>
<li><a href="/en/vps">Low latency forex VPS</a></li>
<li><a href="/en/forum">Traders forum</a></li>
<li><a href="/en/blogs">Trading blogs</a></li>
<li><a href="/en/charts">Charts</a></li>
</ul>
</li><!--
--><li id="navFooterMt5">
<b>MetaTrader 5</b>
<ul>
<li><a href="https://www.metatrader5.com"><span class="nobr">MetaTrader 5</span> Trading Platform</a></li>
<li><a href="https://www.metatrader5.com/en/releasenotes"><span class="nobr">MetaTrader 5</span> latest updates</a></li>
<li><a href="https://www.metatrader5.com/en/news">News, implementations and technology</a></li>
<li><a href="https://www.metatrader5.com/en/terminal/help"><span class="nobr">MetaTrader 5</span> User Manual</a></li>
<li><a href="/en/docs">MQL5 language of trading strategies</a></li>
<li><a href="https://cloud.mql5.com">MQL5 Cloud Network</a></li>
<li><a href="https://www.finteza.com/?utm_source=www.mql5.com&utm_medium=cpc&utm_term=cross-link&utm_content=visit.finteza.com&utm_campaign=0791.finteza.cross-link" target="_blank">End-to-End Analytics</a></li>
<li><a href="https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=korexindo.com&amp;utm_campaign=en.trading.sharing">Download <span class="nobr">MetaTrader 5</span></a></li>
<li><a href="https://www.metatrader5.com/en/terminal/help/start_advanced/installation">Install Platform</a></li>
<li><a href="https://www.metatrader5.com/en/terminal/help/start_advanced/deinstallation">Uninstall Platform</a></li>
</ul>
</li><!--
--><li id="navFooterWebsite">
<b >Website</b>
<ul>
<li><a href="/en/about">About</a></li><li><a href="/en/wall">Timeline</a></li><li><a href="/en/about/terms">Terms and Conditions</a></li>
<li><a href="/en/about/privacy">Privacy and Data Protection Policy</a></li>
<li><a href="/en/about/cookies">Cookies Policy</a></li>
<li><a href="/en/contact">Contacts and requests</a></li>
</ul>
</li><!--
--><li id="navFooterDownload">
<b>Join us — download <span class="nobr">MetaTrader 5!</span></b>
<ul>
<li class="icon windows"><a href="https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=korexindo.com&amp;utm_campaign=en.trading.sharing" title="Download MetaTrader 5 for Windows Free!">Windows</a></li><li class="icon ios"><a href="https://download.mql5.com/cdn/mobile/mt5/ios?hl=en&amp;utm_source=korexindo.com&amp;utm_campaign=en.trading.sharing" target="_blank" rel="nofollow" title="Download MetaTrader 5 for iPhone Free!">iPhone/iPad</a></li><li class="icon macos"><a href="/en/articles/619" target="_blank" title="How to install MetaTrader 5 on Mac OS">Mac OS</a></li><li class="icon android"><a href="https://download.mql5.com/cdn/mobile/mt5/android?hl=en&amp;utm_source=korexindo.com&amp;utm_campaign=en.trading.sharing" target="_blank" rel="nofollow" title="Download MetaTrader 5 Android from Google Play Free!"><span>Android</span></a></li><li class="icon linux"><a href="/en/articles/625" target="_blank" title="MetaTrader 5 on Linux"><span>Linux</span></a></li>
<li class="icon tradays"><a href="https://www.tradays.com/en/download?utm_source=korexindo.com&amp;utm_campaign=en.trading.sharing" target="_blank" title="Tradays Economic Calendar"><span>Tradays Economic Calendar</span></a></li>
</ul>
<div class="footer__other">
<div class="footer__not-a-broker">Not a broker, no real trading accounts</div>
<div class="copyright">Copyright 2000-2019, <span class="nobr">MQL5 Ltd.</span></div>
</div>
</li>
</ul>
</div>
<div class="layer" id="layer"></div>
</div>
<script type="text/javascript">
(function (a, b) { a[b] || (a.FintezaCoreObject = b, a[b] = a[b] || function () { (a[b].q = a[b].q || []).push(arguments) }, a[b].l = 1 * new Date); })(window, "fz");
window.fz("register", "website", {
id: "sqjxkxkswybhifrohpyooonwgbvsfzmayq",
trackLinks: true,
botDetector: true
});
mqGlobal.AddOnReady(function(){var siteUpdates=window.siteUpdates = new SiteUpdates('/en/updates',10,'en',[21],1563357178,0);});mqGlobal.AddOnReady(function () {
window.UserLinkMenu = new UserLinkMenu();
});mqGlobal.AddOnReady(function()
{
var localization = {
friendsHeader:"Friends",
newMessageHeader: "Add new message",
userToLabel: "Part of the user's name or login",
gotoMessages:"Go to messages list",
gotoMessage:"Go to chat",
otherUsersHeader:"Other users",
returnToList:"Return to messages list (ESC)",
closeChat:"Close chat",
attachedFilesHeader: "Attached files",
attachFileTitle: "Attach file",
sendMessageTitle: "Reply",
expandWindow:"Expand chat window",
minimizeWindow:"Reduce chat window",
searchUserPlaceholder:"Part of the user's name or login",
searchChannelPlaceholder:"Channels",
errorOccuredMessage:"An error occurred. Please try again later.",
systemYouInvited: "You have been invited to chat {0}",
systemUserInvited: "{0} invited {1}",
systemChatUserLeft: "{0} left the chat",
systemChatUserRemoved: "{0} removed {1} from chat",
systemChannelUserRemoved: "{0} removed {1} from channel",
systemChannelPublic: "{0} made the channel public",
systemChannelPrivate: "{0} made the channel private",
systemChatLimited: "{0} made the chat limited",
systemChatUnlimited: "{0} made the chat not limited",
systemChatClosed: "{0} closed the chat",
systemChannelClosed: "Channel is now closed",
systemChatReopened: "{0} reopened the chat",
systemChannelReopened: "Channel reopened",
systemChatRename: "{0} changed the chat name to {1}",
systemChannelRename: "Channel name changed to {0}",
systemChatCreate: "{0} created the chat {1}",
systemChannelCreate: "Channel {0} created",
subscribe: "Subscribe",
unsubscribe: "Unsubscribe",
ofSubscribers: "{0} subscribers",
ofUsers: "{0} members",
messages: "Messages",
users: "Users",
channels: "Channels",
unreadMessages: "Unread messages",
deleteChat: "delete",
deleteChatConfirm: "Are you sure want to delete chat?"
};
if(!ieVersion || ieVersion > 7)
{
window.ChatsData = new ChatWs('03a4a8b957db57a7f154af9013ed4cf28b5b3891c1a50da1fa90dabd7071167160b84a18e350f6bd574862f2053a927e835b9c177ef861f1b2befd970296e30c557bc82ca505ceec19ad91db2eb84b1623355d8293a6766f969fe03a8cda173a', 'msg1.mql5.com', window.OnChatWsFirstConnect, 'pije76', 'en', 18);
window.MessagesWidget = new chatWidget(555171, 'pije76', 'en', localization, "true", false, null, 0,128, [".gov.uk",".wikipedia.org",".zerohedge.com",".metatrader4.com",".metatrader5.com",".mql4.com",".mql5.com",".mql5.com",".mql5.dev",".metaquotes.net",".teamwox.com",".forex-tsd.com",".finteza.com",".adp.com",".bakerhughes.com",".bankofcanada.ca",".bankofengland.co.uk",".bba.org.uk",".boj.or.jp",".brc.org.uk",".cao.go.jp",".chicagofed.org",".cmhc-schl.gc.ca",".conference-board.org",".consilium.europa.eu",".customs.go.jp",".dallasfed.org",".ec.europa.eu",".ecb.europa.eu",".halifax.co.uk",".iea.org",".imf.org",".instituteforsupplymanagement.org",".ivey.uwo.ca",".kansascityfed.org",".markiteconomics.com",".meti.go.jp",".mhlw.go.jp",".mni-indicators.com",".mof.go.jp",".nahb.org",".nar.realtor",".newyorkfed.org",".niesr.ac.uk",".opec.org",".parliament.uk",".philadelphiafed.org",".rics.org",".stat.go.jp",".statcan.gc.ca",".us.spindices.com",".zew.de",".youtube.com",".lst.to",".tradays.com"],false,true);
}
});
if(!window.dateToTextLocalization) window.dateToTextLocalization = {'m1':'{0} minute ago','m2':'{0} minutes ago','m3':'{0} minutes ago','h1':'{0} hour ago','h2':'{0} hours ago','h3':'{0} hours ago','lang':'en'};mqGlobal.AddOnReady(function () {
window.LangMenu = new LangMenu();
});mqGlobal.AddOnLoad(function(){window.keywordMainFormSuggests = new Suggestions("keyword","https://search.mql5.com/api/suggest","en",function(){$('main_search_form').onsubmit();});});window.fz("show","bfogggabsofabcpxuzmgaibarmaxasdrj");function CheckProductPrice(input)
{
if(!input)
{
return true;
}
var price = parseFloat(input.value,10);
if($('priceFree').checked || price === NaN || price >= 30000)
{
return true;
}
return false;
}var pMin = 30;
var pMax = 30000;
var sMin = 10;
var sMax = 30000;
var actMin = 5;
function CheckProductPriceValue(input)
{
if(!input || input.disabled)
{
return true;
}
var oldPrice = input.getAttribute('data-old');
var price = parseFloat(input.value,10);
if(price === NaN || (price <= pMax && price >= pMin) || (price == oldPrice))
{
return true;
}
return false;
}
function CheckProductSubscribePriceValue(input)
{
if (!input || input.disabled)
{
return true;
}
var oldPrice = input.getAttribute('data-old');
var price = parseFloat(input.value, 10);
if (price === NaN || (price <= sMax && price >= sMin) || (price == oldPrice))
{
return true;
}
return false;
}
function CheckProductPrice(input)
{
if(!input || input.disabled)
{
return true;
}
var price = parseFloat(input.value,10);
if(priceValues === NaN)
return false;
input.value = price.toFixed(2);
return true;
}
function CheckMaxActivations(input)
{
if(!input)
return true;
if($('priceFree').value == 'true')
return true;
var value = input.value;
if(!/\d+/.test(value))
return false;
var act = parseInt(value);
if(act < actMin)
{
return false;
}
return true;
}
function validatePrices()
{
var periods = ["",1,2,3,4];
var availPrices = [];
for(var i=0;i<periods.length;i++)
{
if($("checkPrice" + periods[i]).checked)
{
availPrices.push(parseFloat($("Price" + periods[i] + "Raw").value));
}
}
for(i = 1; i < availPrices.length; i++)
{
if(availPrices[i] >= availPrices[i - 1])
return false;
}
return true;
}
function CheckProductSubtype(input)
{
if(($("subtype_1").style.display === "none")
&& ($("subtype_2").style.display === "none")
&& ($("subtype_7").style.display === "none")
)
return true;
return parseInt(input.value) !== 0;
}function onCheckboxChange() {
if ($('AgreedMarketTermsDeveloper').checked) {
$('buttonAdd').disabled = null;
$('agreedTerms').value = true;
}
else {
$('buttonAdd').disabled = "disabled";
$('agreedTerms').value = false;
}
}
var mCat = [{name:"",value:0},{name:"Magazines",value:101}];
var pCat = [{name:"",value:0},{name:"Experts",value:1},{name:"Indicators",value:2},{name:"Panels",value:3},{name:"Libraries",value:5},{name:"Analyzers",value:6},{name:"Utilities",value:7}];
var oldPriceValue = 0;
var oldFee = 0;
var oldAct = 5;
var priceValues = {
"PriceRaw" : "0.00",
"Price1Raw" : "0.00",
"Price2Raw" : "0.00",
"Price3Raw" : "0.00",
"Price4Raw" : "0.00"
};
function checkPriceCheck(checkPrice)
{
if(!checkPrice) return;
var id = checkPrice.id;
if(id.length <= 5) return;
id = id.substring(5) + "Raw";
var element = $(id);
if(!element) return;
if(checkPrice.checked)
{
element.disabled = null;
element.readOnly = null;
element.value = priceValues[id] || "0.00";
}
if(!checkPrice.checked)
{
priceValues[id] = element.value;
element.value = "";
element.disabled = "disabled";
element.readOnly = "readonly";
}
}
mqGlobal.AddOnReady(function ()
{
onPriceCheckChanged();
});
function onPriceCheckChanged(priceCheck)
{
var readonly = !priceCheck;
var any = readonly || priceCheck.id == "priceFree";
var checked = readonly || (any ? !priceCheck.checked : priceCheck.checked);
var anyChecked = false;
for(var i = 0; i < 5; i++)
{
var pc = $("checkPrice" + (i || ""));
if(any || pc.id == priceCheck.id)
{
if(!readonly)
pc.checked = checked;
checkPriceCheck(pc);
}
if(pc.checked)
anyChecked = true;
}
if(!readonly && priceCheck.id !== "priceFree" && priceCheck.checked)
{
$("priceFree").checked = false;
}
var actObj = $('MaxActivations');
var actObjD = $('MaxActivationsDisabled');
var feeObj = $('AffilationFee');
if(!anyChecked)
{
if(feeObj)
{
oldFee = feeObj.value;
feeObj.value = 0;
feeObj.disabled = "disabled";
feeObj.readonly = "readonly";
}
if(actObj && actObjD)
{
oldAct = actObj.value;
actObj.value = 10;
actObj.style.display = "none";
actObjD.style.display = "inline";
}
}
else
{
if(feeObj)
{
feeObj.value = oldFee;
feeObj.disabled = null;
feeObj.readonly = null;
}
if(actObj && actObjD)
{
actObj.value = oldAct;
actObj.style.display = "inline";
actObjD.style.display = "none";
}
}
}
function SubtypeSwitch(t)
{
var v = $("Subtype").value ^ t.getAttribute("data-flag");
var i = v - ((v >> 1) & 0x55555555);
i = (i & 0x33333333) + ((i >> 2) & 0x33333333);
i = (((i + (i >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24;
if(i < 4 || !t.checked)
{
$("Subtype").value = v;
}
else
{
t.checked = false;
}
}
function ProductCategoryChange(t)
{
var newval = (t.value || t.options[t.selectedIndex].value);
var isExpert = newval === "1";
var isIndi = newval === "2";
var isUtil = newval === "7";
$("subtype_1").style.display = isExpert ? "block" : "none";
$("subtype_2").style.display = isIndi ? "block" : "none";
$("subtype_7").style.display = isUtil ? "block" : "none";
var hints = t.parentElement.querySelectorAll("span[id|=hint]");
if(hints)
{
var hintId = "hint-" + newval;
for(var i = 0; i < hints.length; i++)
{
var h = hints[i];
h.style.display = h.id !== hintId ? "none" : "inline";
}
}
var subt = $("subtype_" + newval);
var nv = 0;
if(subt)
{
var chs = subt.querySelectorAll("input[type=checkbox]");
for(var i = 0; i < chs.length; i++)
{
if(chs[i].checked)
nv |= chs[i].getAttribute("data-flag");
}
}
$("Subtype").value = nv;
var pt = $("Type");
if(pt)
{
var opts = pt.querySelectorAll("option");
var any = false;
var v;
switch(parseInt(newval))
{
case 1:
v = "0";
break;
case 2:
v = "1";
break;
case 7:
v = "0";
break;
default:
any = true;
v = pt.value;
break;
}
for(var i = 0; i < opts.length; i++)
{
var op = opts[i];
op.style.display = (any || op.value === v) ? "block" : "none";
op.style.visibility = (any || op.value === v) ? "visible" : "hidden";
if(any || op.value === v)
op.removeAttribute("disabled");
else
op.setAttribute("disabled","disabled");
}
pt.value = v;
}
}var selectedTab = '';
var tabManager;
window.OnTabSelect = function () {};
mqGlobal.AddOnReady(function()
{
var tabs = ["base","logo","description","additional","files"];
var tabsInfo = new Array();
selectedTab = window.hashParams.Get("tab") || selectedTab || "base";
if(selectedTab.indexOf('/') > 0)
selectedTab = selectedTab.substring(0,selectedTab.indexOf('/'));
for(var i=0;i<tabs.length;i++)
{
tabsInfo[tabsInfo.length] = {
"content_id" : "content_" + tabs[i],
"selected" : (selectedTab == tabs[i]) || (selectedTab == '' && (i == 0)),
"tab_id" : "tab_p_" + tabs[i],
"tag" : tabs[i]
};
}
tabManager = new Tabs();
tabManager.Create(tabsInfo,OnTabSelect);
});
function ShowMessage(container,message,error)
{
if(!message || message.length == 0)
message = error ? 'Error ocured. Try save product later.' : 'Saved.';
var messageBlockContainer = createElement(undefined,'div',{id:"pc_result_message"});
messageBlockContainer.style.margin="10px 10px 0 10px;";
var messageBlock = createElement(messageBlockContainer,'div',{className:error?'resultError':'resultMessage',innerHTML:message});
prependElement(container,messageBlockContainer);
}mqGlobal.AddOnReady(function ()
{
new FloatVerticalPanel('This website uses cookies. Learn more about our <a href="/en/about/cookies">Cookies Policy</a>.','cookie_accept');
});
window.globalStorageDomain = "https://c.mql5.com";
mqGlobal.AddOnLoad(function () {
Mql5Cookie.init('mql5.com', '5D2EEFFA-DDD3',null);
});
if(typeof Attach !== "undefined")
Attach.setAcceptFilter(".gif,.png,.jpg,.jpeg,.zip,.txt,.log,.mqh,.ex5,.mq5,.mq4,.ex4,.mt5,.set,.tpl");
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "https://www.mql5.com",
"logo": "https://c.mql5.com/i/community/logo_mql5.png",
"sameAs": [
"https://www.facebook.com/mql5.community",
"https://www.twitter.com/mql5com",
"https://www.youtube.com/user/MetaQuotesOfficial"
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "MQL5.Community",
"url": "https://www.mql5.com",
"potentialAction": {
"@type": "SearchAction",
"target": "https://www.mql5.com/en/search?keyword={keyword}",
"query-input": "required name=keyword"
}
}
</script>
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"ItemList","itemListElement":[{"@type":"SiteNavigationElement","position":1,"name":"WebTerminal","description":"WebTerminal for the MetaTrader trading platform","url":"https://www.mql5.com/en/trading"},{"@type":"SiteNavigationElement","position":2,"name":"Documentation","description":"MetaQuotes Language 5 (MQL5) Reference - Documentation on MQL5.com","url":"https://www.mql5.com/en/docs"},{"@type":"SiteNavigationElement","position":3,"name":"Calendar","description":"","url":"https://www.mql5.com/en/economic-calendar"},{"@type":"SiteNavigationElement","position":4,"name":"CodeBase","description":"Download trading robots, technical indicators and scripts with source code - MQL5 Code Base for MetaTrader 5","url":"https://www.mql5.com/en/code"},{"@type":"SiteNavigationElement","position":5,"name":"Articles","description":"","url":"https://www.mql5.com/en/articles"},{"@type":"SiteNavigationElement","position":6,"name":"Freelance","description":"Order trading robots, technical indicators and automated trading applications - Freelance on MQL5.com","url":"https://www.mql5.com/en/job"},{"@type":"SiteNavigationElement","position":7,"name":"Market","description":"MetaTrader Market - a Market of trading robots, indicators, trading books and magazines","url":"https://www.mql5.com/en/market"},{"@type":"SiteNavigationElement","position":8,"name":"Signals","description":"Social trading, copy trading and account monitoring with MetaTrader - Trading Signals on MQL5.com","url":"https://www.mql5.com/en/signals"},{"@type":"SiteNavigationElement","position":9,"name":"VPS","description":"","url":"https://www.mql5.com/en/vps"},{"@type":"SiteNavigationElement","position":10,"name":"Forum","description":"Discussions of trading strategies and automated trading","url":"https://www.mql5.com/en/forum"}]}
</script>
</body>
</html>
<!-- Generated in 5.2779 ms -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment