• Login
  • Register
    • Unanswered topics
    • Active topics
    • Forex Calendar
  1. Home
  2. Board index
  3. MetaTrader Forum
  4. MT5 Indicators

Convert MT4 script to MT5

Post Reply Attachments 6
  1. Home
  2. Board index
  3. MetaTrader Forum
  4. MT5 Indicators
2 posts
Display posts from previous
Sort by
  • Print view
User avatar
matfx
Inactive Member
Posts:
38
Joined:
June 2017
Location:
Malaysia
Platform:
MT4
Indicator:
Ichimoku Kinko Hyo
Dolly Graphics
BrainTrend
Chart Patterns
Been thanked:
34 times

Convert MT4 script to MT5

1 by matfx
Hi guys,

I need help to convert these MT4 scripts, Buy Market and Sell Market script which i use frequently in MT4 and now i would like it to convert to MT5.

Script file attached.

Thanks.
buy_market.mq4 Downloaded 311 times 909 Bytes
sell_market.mq4 Downloaded 273 times 909 Bytes
Rule No.1: Never lose money. Rule No.2: Never forget rule No.1.
  • Quote
  • Thu Mar 30, 2023 6:07 pm


User avatar
matfx
Inactive Member
Posts:
38
Joined:
June 2017
Location:
Malaysia
Platform:
MT4
Indicator:
Ichimoku Kinko Hyo
Dolly Graphics
BrainTrend
Chart Patterns
Been thanked:
34 times

Re: Convert MT4 script to MT5

2 by matfx
I have found the code i needed. Attached here the 2 scripts for buy and sell, with stoploss and take profit features.
Buy Market.mq5 Downloaded 508 times 3.96 KiB
Sell Market.mq5 Downloaded 494 times 3.96 KiB
Just drop the script on the chart, set your sl and tp position will be open.
sample buy sript.png
sample sell script.png
Rule No.1: Never lose money. Rule No.2: Never forget rule No.1.
  • Quote
  • Fri Mar 31, 2023 3:18 pm
2 posts
Post Reply Attachments 6

Return to “MT5 Indicators”

User avatar
Re: MT4 - MetaQuotes issue (s)
MetaTrader 5 BETA build 5540 - Launch 23 Jan 2026
Tsar, Fri Jan 23, 2026 2:33 pm
User avatar
Re: MT4 - MetaQuotes issue (s)
MetaTrader 5 build 5518 - 22 Jan 2026 Update...
Tsar, Fri Jan 23, 2026 2:28 pm
Sutatong
Re: Convert MT4 indicators to MT5
Mrtools, if you had spare time please convert to m
Sutatong, Fri Jan 23, 2026 12:38 pm
User avatar
Re: Volume Indicators for cTrader
Free Volume Profile v2.0 Volume Profile is a Ho
Tsar, Fri Jan 23, 2026 10:58 am

  • Home
  • Who are we?
  • Media Kit
  • All times are UTC+11:00
  • It is currently Fri Jan 23, 2026 2:58 pm
Powered by phpBB® & Gramziu - Web Ops By SiteSplat, Forex Station ©2016 - 2026Your data is secure with us

Login




Register