Just made an IDE for MQL4

Post Reply
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Just made an IDE for MQL4

Post by SteveHopwood »

NeoTrader wrote:If the MTcrap programmers used common sense.. ;)
Hehe. Don't be ridiculous. :lol: :lol: :lol: They do not even possess brains. :lol: :lol: :lol:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Just made an IDE for MQL4

Post by SteveHopwood »

Hi w633.

I have spent much of today using your IDE, and loving it more and more each time.

Two more requests:
  • 1) Can I have a hotkey to toggle all folded/all unfolded?
    2) I would love to be able to highlight and copy a fold so I can paste it into a different section of code or EA. For example, I was copying the pipfactor function into another ea tonight. It would be fantastic if I could simply highlight the folded
    • double PFactor(string pair)
      {
    and copy it to a new location so that all the code comes with it.
You have created your own monster here. Tell me to sod off when you cannot be bothered to incorporate my requests. Trust me, I do understand the feeling. :lol:

As a sweetner, your IDE is monumental, so far as I am concerned.

Cheers

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

SteveHopwood wrote:Hi w633.

I have spent much of today using your IDE, and loving it more and more each time.

Two more requests:
  • 1) Can I have a hotkey to toggle all folded/all unfolded?
    2) I would love to be able to highlight and copy a fold so I can paste it into a different section of code or EA. For example, I was copying the pipfactor function into another ea tonight. It would be fantastic if I could simply highlight the folded
    • double PFactor(string pair)
      {
    and copy it to a new location so that all the code comes with it.
You have created your own monster here. Tell me to sod off when you cannot be bothered to incorporate my requests. Trust me, I do understand the feeling. :lol:

As a sweetner, your IDE is monumental, so far as I am concerned.

Cheers

:D
Only you are requesting features and I am already feeling the heat. I can't imagine what you have been gone through 8-)

Anyway, I've worked too much on it, and the latest version is on project page now. This version 1.3 marks the end of the metaeditor.

The change of this version includes:
  • Once the code is compiled, Empty4 will be notified for the change and updates itself
  • Warning message from compiler now becomes orange instead of red like error message
  • Add Astyle code beautifier integration (java style though, change it in SciTEGlobal.properties to suit your own need)
  • Add shortcut Ctrl+Alt+F to toggle all fold/unfold of blocks
  • Integrate select_block.lua so by clicking on the line number of first line of the block, the whole block is selected. Same effect will be on when you use keyboard to highlight the whole first line of block.
Steve, I think everything on your wish list has been fulfilled, if not I'll pretend I've never seen it.

Cheers!
dietcoke
Trader
Posts: 162
Joined: Tue Nov 15, 2011 9:59 pm

Re: Just made an IDE for MQL4

Post by dietcoke »

w633,

I'd like to add my thanks for your effort on this. Unfortunately, I think this might be a bug reading a path...Seen when trying to compile.


C:\Program Files\Mark\FXCM Empty4 4\other\compile.bat "C:\Program Files\Mark\FXCM Empty4 4\experts\Forex Robot-v7.10_debug.mq4"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
>Exit code: 1
Image
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

dietcoke wrote:w633,

I'd like to add my thanks for your effort on this. Unfortunately, I think this might be a bug reading a path...Seen when trying to compile.


C:\Program Files\Mark\FXCM Empty4 4\other\compile.bat "C:\Program Files\Mark\FXCM Empty4 4\experts\Forex Robot-v7.10_debug.mq4"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
>Exit code: 1
looks like I forgot to enclose the batch file with a quote. you can either re-download 1.3.1 or just replace the attached "mql.properties" with the one in /langs/mql.properties

thx for pointing out the bug!
dietcoke
Trader
Posts: 162
Joined: Tue Nov 15, 2011 9:59 pm

Re: Just made an IDE for MQL4

Post by dietcoke »

w633 wrote:
dietcoke wrote:w633,

I'd like to add my thanks for your effort on this. Unfortunately, I think this might be a bug reading a path...Seen when trying to compile.


C:\Program Files\Mark\FXCM Empty4 4\other\compile.bat "C:\Program Files\Mark\FXCM Empty4 4\experts\Forex Robot-v7.10_debug.mq4"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
>Exit code: 1
looks like I forgot to enclose the batch file with a quote. you can either re-download 1.3.1 or just replace the attached "mql.properties" with the one in /langs/mql.properties

thx for pointing out the bug!

Thanks
Image
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Just made an IDE for MQL4

Post by SteveHopwood »

This will be unbelievably good once I have it running properly.

Is MSCVP100.dll a Microsoft library that I am missing?
Noname.jpg
I love the name of the file. :lol: :lol:

:D
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

SteveHopwood wrote:This will be unbelievably good once I have it running properly.

Is MSCVP100.dll a Microsoft library that I am missing?
Noname.jpg
I love the name of the file. :lol: :lol:

:D
I don't have much exp writing VC programs but it seems like it is depending on a microsoft package. try installing http://www.microsoft.com/en-us/download ... px?id=8328 and see if it works.

the name is cool, actually i get that name from this forum and loved it
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Just made an IDE for MQL4

Post by SteveHopwood »

Yep, downloading the C++ library did away with the error message. Thanks. Makes sense too, that Windows fails to recognise that there is a missing library that it needs and so fail to download it. After all, we cannot expect C++ for Windows to actually work when applications created by it are created using the software that should be there in the first place. Hey ho. Don't get me started about Microsoft.

Sorry to be a pain. it is only because I yearn for what you offer to work for me
These two functions are not working on my platform:
  • 1) Once the code is compiled, Empty4 will be notified for the change and updates itself
    2) Integrate select_block.lua so by clicking on the line number of first line of the block, the whole block is selected. Same effect will be on when you use keyboard to highlight the whole first line of block.
1) does not update the lot size display when I make a change in this input and recompile, so I assume there is no updating going on.
2) All I get when I highlight and copy the first line of the block is the first line of the block - makes no difference if I select the line number or the first line of the function. This is no biggy - I am just being lazy in wanting this to save time.

Cheers
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

SteveHopwood wrote: ..
1) does not update the lot size display when I make a change in this input and recompile, so I assume there is no updating going on.
2) All I get when I highlight and copy the first line of the block is the first line of the block - makes no difference if I select the line number or the first line of the function. This is no biggy - I am just being lazy in wanting this to save time.
i am afraid the first issue is due to different versions of Empty4, i'll try on more terminals later tonight.

regarding to the 2nd issue it's probably due to the different user experience. currently if you select the first line and place cursor to the 2nd line, the whole block will get selected. could you please try this and see if it works:
1. place the cursor the the beginning of the 1st line (first column of the line)
2. then press CTRL+Down (the down arrow key, not page down)
the whole block should be highlighted.

another way is to do a left click on the line number of the first line, it should also select the whole block. how do you usually do to select whole line?
Post Reply

Return to “Coders Hangout”