MQL4 - automated forex trading   /  

Forum

Interview with Stanislav Starikov: Features of New MQL5

Back to topics list  | << < 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 To post a new topic, please log in or register

avatar
Moderator
33783
Rosh 2009.05.22 08:18 
Enigma71fx wrote >>

- DEBUGGER!! lack of debugger is an incredible mistake; having to print variable values to the journal in MT4 or to files is really, really not handy and consumes precious time that could be used on writing code instead of manually searching for results or possible bugs in such ways


- as someone has already mentioned, TrailingStop() function should be included - why not make it available for the EA, if a trader has such functionality when trading manually on MT4


- waiting for a tick to arrive, especially during night hours, is really a bad thing - maybe there should be a possibility to request server time on demand or just use time from the local machine


- in case you are not planning to implement OOP, how about providing ability to create structures - as someone has mentioned, it would be much easier to have structures instead of having to create multiple arrays

Have you seen 'Tetris'? In addition I can tell a debugger will be too.


avatar
308
TheEconomist 2009.05.22 10:42 
Rosh wrote >>

Have you seen 'Tetris'? In addition I can tell a debugger will be too.

Instead of that Tetris you could have done an example with something linked to trading or backtesting...

However, if the language is so powerful now, probably direct compilation to EXE might give to MQL5 an aura of general allpurpose language with trading oriented functions, especially if you add also the possibility to create application windows or menus. Do you intend to transform MQL5 into a "Visual C++ Trading Edition" ?


avatar
4
Enigma71fx 2009.05.22 10:53 
Rosh wrote >>

Have you seen 'Tetris'? In addition I can tell a debugger will be too.

Yes, looks nice :)

I am not sure after reading this thread and other sources, so maybe you could shed a little light on it - is there going to be object programming in MQL5?


avatar
308
TheEconomist 2009.05.22 11:09 


@Enigma71fx

Well, I understood there will be object programming, but it will lack the inheritance.

@Rosh

When could we expect at least a beta release? Something to let start honing our skills with it ?


avatar
Moderator
33783
Rosh 2009.05.22 11:16 
TheEconomist wrote >>


@Enigma71fx

Well, I understood there will be object programming, but it will lack the inheritance.


Why have you done such conclusion?


avatar
308
TheEconomist 2009.05.22 11:23 
stringo wrote >>
1. You can use C++ BNF description (we cannot publish it because this form is hardcoded in our project)

The differences as compared to C++ are:

  • No class inheritance
  • No address arithmetic
  • No operators overload (it will probably be included later)
  • No 'goto' operator
  • No ternary operation expr ? op1 : op2; (it will probably be included later)

The syntax description will be embedded in MetaEditor help files.


2. No, we cannot as yet. You should consider the functionality described in MQL4. However, the functionality will be expanded considerably.

3. You should not worry about "cut-off" date for MQL4. The upward compatibility of the languages will be kept, with some rare exceptions.

4. You can use this thread for this purpose. Welcome.





avatar
Moderator
33783
Rosh 2009.05.22 11:30 
Ok, I see now. It has already changed a bit.
TheEconomist wrote >>

The differences as compared to C++ are:

  • No class inheritance
  • No address arithmetic
  • No operators overload (it will probably be included later)
  • No 'goto' operator
  • No ternary operation expr ? op1 : op2; (it will probably be included later)



avatar
4
Enigma71fx 2009.05.22 14:30 

Rosh:

That's great news!! :) Thanks a lot, MQL team :) If operators overload got included, it would be great :)

And how about the other stuff -> TrailingStop() function & a possibility to use server or local time instead of waiting for a tick? These 2 would really be useful.


avatar
Moderator
33783
Rosh 2009.05.22 14:45 

Enigma71fx wrote >>

...

And how about the other stuff -> TrailingStop() function & a possibility to use server or local time instead of waiting for a tick? These 2 would really be useful.

I think, you'll find some ways for these purposes in MQL5.


avatar
2462
phy 2009.05.22 23:35 

What kind of changes will occur on server-side with MT5?


There seem to be many deficiencies to overcome/workaround when a Dealer, or more specifically a Broker, attempts to integrate MT4 with their systems.

Back to topics list   | << < 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  

To add comments, please log in or register