Why automatic function not work properly in MT4?

 

Hi,

Could anyone explain ? When I develop a utility tool for partial close, SL to breakeven etc they work perfectly for MT5 but when I do it for MT4 they didn't work, FYI I use dreema to develop.

 
Manpreet Singh: Hi, Could anyone explain ? When I develop a utility tool for partial close, SL to breakeven etc they work perfectly for MT5 but when I do it for MT4 they didn't work, FYI I use dreema to develop.

If you are using a Code Generator, then please contact the author or use their forum. This is not the place for your questions about the code generated by the tool.

Also, please note that MT4 and MT5 are very different and are not compatible with each other, especially regarding trading functionality.

 
Manpreet Singh: FYI I use dreema to develop.

EA builder, EA Builder Pro, EATree, Etasoft forex generator, ForexEAdvisor, Forex Strategy Builder, ForexEAdvisor, ForexRobotAcademy.com, FX EA Builder, fxDreema, Forex Generator, FxPro, Molanis, Octa-FX Meta Editor, Online Forex Expert Advisor Generator, Strategy Builder FX, Strategy Quant, Visual Trader Studio, MQL5 Wizard, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.

  1. Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
    If we tell you what you need, you can't code it.
    If we give you the code, you don't know how to integrate it into yours.
    We are willing to HELP you when you post your attempt (using Code button) and state the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own.

  2. EA builder makes bad code:

    1. Counting up while closing multiple orders.
    2. Bars is unreliable (Max bars in chart), volume is unreliable (miss ticks.) Always use time.
    3. Not adjusting for 4/5 digit brokers, TP/SL and slippage.
    4. Not adjusting for ECN brokers. pre-Build 500)
    5. Not checking return codes.

  3. EATree uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.)

  4. FX EA Builder makes bad code:

    1. Not checking return codes.
    2. Loosing open tickets on terminal restart. No recovery (crash/power failure.)
    3. Not adjusting stops for the spread.
    4. Using OrdersTotal directly.

  5. FOREXEADVISOR STRATEGY BUILDER makes bad code:

    1. Non-updateing global variables.
    2. Compilation errors.
    3. Not checking return codes.

Learn to code it, or pay someone (Freelance) someone to code it.
          Hiring to write script - General - MQL5 programming forum #1 (2019)

 
William Roeder #:

EA builder, EA Builder Pro, EATree, Etasoft forex generator, ForexEAdvisor, Forex Strategy Builder, ForexEAdvisor, ForexRobotAcademy.com, FX EA Builder, fxDreema, Forex Generator, FxPro, Molanis, Octa-FX Meta Editor, Online Forex Expert Advisor Generator, Strategy Builder FX, Strategy Quant, Visual Trader Studio, MQL5 Wizard, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.

  1. Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
    If we tell you what you need, you can't code it.
    If we give you the code, you don't know how to integrate it into yours.
    We are willing to HELP you when you post your attempt (using Code button) and state the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own.

  2. EA builder makes bad code:

    1. Counting up while closing multiple orders.
    2. Bars is unreliable (Max bars in chart), volume is unreliable (miss ticks.) Always use time.
    3. Not adjusting for 4/5 digit brokers, TP/SL and slippage.
    4. Not adjusting for ECN brokers. pre-Build 500)
    5. Not checking return codes.

  3. EATree uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.)

  4. FX EA Builder makes bad code:

    1. Not checking return codes.
    2. Loosing open tickets on terminal restart. No recovery (crash/power failure.)
    3. Not adjusting stops for the spread.
    4. Using OrdersTotal directly.

  5. FOREXEADVISOR STRATEGY BUILDER makes bad code:

    1. Non-updateing global variables.
    2. Compilation errors.
    3. Not checking return codes.

Learn to code it, or pay someone (Freelance) someone to code it.
          Hiring to write script - General - MQL5 programming forum #1 (2019)

Thank you for your feed back.

 
Fernando Carreiro #:

If you are using a Code Generator, then please contact the author or use their forum. This is not the place for your questions about the code generated by the tool.

Also, please note that MT4 and MT5 are very different and are not compatible with each other, especially regarding trading functionality.

Thank you Fernando, problem fixed now. But yeah I have some knowledge of coding but only simple things, Mql have a lot in their in pandora box, most of the things gone over to my head. :)

I am working on it slowly.