• 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
New 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 417 times 909 Bytes
sell_market.mq4 Downloaded 377 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
New 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 629 times 3.96 KiB
Sell Market.mq5 Downloaded 617 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: Banzai's [MT4] [MT5] [Python] Personal AI Trad
Forex Terminals version 2.04 I plan to add in a B
Banzai, Mon Nov 02, 2026 12:36 pm
User avatar
Re: Something interesting please post here (Metatr
Looks good, keep going... for inspiration, here
Pucmola, Mon Nov 02, 2026 12:18 pm
User avatar
Re: Trend Indicators for MT4
ASCTrend Oscillator + MTF Histogram for MT4
ujtrader, Mon Nov 02, 2026 9:16 am
User avatar
Re: Moving Average indicators for MT4
Wow, that was a fast reply! Thank you so much, b
ujtrader, Mon Nov 02, 2026 8:49 am

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

Login




Register