Загрузка страницы

MT5 Custom Order Panel

How to create a custom order panel in MT5 to set volume and execute trades.

There is already a panel like this on the chart but the code here can be expanded to do more than the existing trade panel, like changing the volume from simple lot based to a percentage of equity for risk based trading, or automatically adding take profit and stop loss.

This is really just a coding example and not intended as a working trading tool. The video includes a short demonstration of a similar expert that expands on this concept. The expert in the demonstration is available for download (ex4 and ex5 only, no code, and only for use on demo accounts and licenced live accounts) link below.

MT4 Version: https://youtu.be/43DctY4zyiA

The code from this video is available for download: https://orchardforex.com/mt5-custom-order-panel/

Earlier videos referenced:
Handling chart events: https://youtu.be/IakYgQqgBG0
Buttons: https://youtu.be/1Yq499RpoZ0

Download the expert demonstrated:
https://orchardforex.com/level-trade-assistant/

If you are looking for a broker with good leverage, spreads and product range and want to help out our channel try OX Securities. We do receive commission from this broker.
https://orchardforex.com/live-account

00:00 - Start
00:06 - Introduction
01:29 - Example
03:32 - Coding Start
05:06 - MT5 Specific Code
06:30 - OpenTrade function
07:00 - Constants
12:29 - OnInit
12:44 - OnDeinit
13:13 - OnChartEvent
17:25 - SetVolume function
18:22 - CreatePanel function
22:23 - EditCreate and ButtonCreate
24:02 - Conclusion
24:38 - Level Trade Expert

Видео MT5 Custom Order Panel канала Orchard Forex
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
22 октября 2022 г. 12:00:06
00:30:51
Другие видео канала
Weekly Forex Forecast (27/09- 1/10) Choppy trade ahead?  US$/majors, Indices, WTI, MetalsWeekly Forex Forecast (27/09- 1/10) Choppy trade ahead? US$/majors, Indices, WTI, MetalsWeekly Forex Forecast (24 -31 Aug); US$ vs majors, S+P, Nasdaq, ASX, Gold, Silver, Oil, AudNzdWeekly Forex Forecast (24 -31 Aug); US$ vs majors, S+P, Nasdaq, ASX, Gold, Silver, Oil, AudNzd18 June: Orchard Forex Daily Video Outlook; UsdJpy, EurJpy, EurUsd, DXY, Audusd18 June: Orchard Forex Daily Video Outlook; UsdJpy, EurJpy, EurUsd, DXY, Audusd27 July:Weekly Outlook: Forex / Stocks/Commodities; Euro, Jpy, Aud$, Nasdaq, ASX, Silver, Gold, Oil27 July:Weekly Outlook: Forex / Stocks/Commodities; Euro, Jpy, Aud$, Nasdaq, ASX, Silver, Gold, OilComparing time ranges in MT4 - 3 waysComparing time ranges in MT4 - 3 waysWriting a Managed EA for Metatrader Step by Step - OOP Part 10Writing a Managed EA for Metatrader Step by Step - OOP Part 10Weekly FX/Stock Market Outlook (29/06-03/07); S+P, ASX, Euro, Gbp, Gold, OilWeekly FX/Stock Market Outlook (29/06-03/07); S+P, ASX, Euro, Gbp, Gold, OilWeekly Forex Outlook(5/11 June). US$/majors, Indices, Gold, Oil Technical view following the US NFP.Weekly Forex Outlook(5/11 June). US$/majors, Indices, Gold, Oil Technical view following the US NFP.MQL4 Quick Answers - Using iMAOnArrayMQL4 Quick Answers - Using iMAOnArrayDaily FX/Forex Outlook; S+P, Gold, EurUsd, AudUsd, GbpAudDaily FX/Forex Outlook; S+P, Gold, EurUsd, AudUsd, GbpAudWhat does & and const mean in MQL4/MQL5 functionsWhat does & and const mean in MQL4/MQL5 functionsThings you need to know about using encryption in Metatrader programmingThings you need to know about using encryption in Metatrader programmingLaguerre RSI Scalper Test - Double your account overnight? Maybe not.Laguerre RSI Scalper Test - Double your account overnight? Maybe not.Weekly Forex Forecast: (19/26 Oct) DXY, EurUsd, GbpUsd, AudUsd, AudJpy, ASX SPI, S+P, Gold, CalendarWeekly Forex Forecast: (19/26 Oct) DXY, EurUsd, GbpUsd, AudUsd, AudJpy, ASX SPI, S+P, Gold, CalendarWeekly Forex Forecast (3-10 Aug); US$ vs majors. Stocks, Gold, Silver, OilWeekly Forex Forecast (3-10 Aug); US$ vs majors. Stocks, Gold, Silver, OilMQL4 / MQL5 Trailing Entry RobotMQL4 / MQL5 Trailing Entry RobotWeekly Forex Forecast: (1/7 March) US$ strength ahead? + Aud, Eur, Jpy, Stocks, Gold, Oil, CalendarWeekly Forex Forecast: (1/7 March) US$ strength ahead? + Aud, Eur, Jpy, Stocks, Gold, Oil, Calendar11 May: Video outlook. Risk Sentiment looking positive - For now!11 May: Video outlook. Risk Sentiment looking positive - For now!OCO (One Cancels the Other) Part 2 for MQL4OCO (One Cancels the Other) Part 2 for MQL4Raise a Metatrader Alert on Price Movement in a BarRaise a Metatrader Alert on Price Movement in a BarWeekly Forex Forecast (25/31Jan) US$/Majors, S+P500, ASX, Gold, Silver, Oil (WTI), CalendarWeekly Forex Forecast (25/31Jan) US$/Majors, S+P500, ASX, Gold, Silver, Oil (WTI), Calendar
Яндекс.Метрика