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 »

garyfritz wrote:
garyfritz wrote:Hm, if I double-click on a function name in the lower-right pane, it jumps to the end of the file instead of taking me to that function. Any guesses?
It's not consistent. I realized I could jump to the first two functions in the file I was editing, but double-clicking on any other functions went to the end. I tried a second file and double-clicking on the functions didn't do ANYthing. I tried a third file and the function navigation worked fine. Then I went back and tried the first two files and THEY worked fine. ?? I restarted SciTE and everything worked fine. So... mystery bug. I'll let you know if I can characterize it better.
I find this most often if some but not all of my functions are folded. I find it consistent if all are folded or unfolded.

Clearly is a bit of a bug, but one I can live with.

: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.
AnotherBrian

Re: Just made an IDE for MQL4

Post by AnotherBrian »

NeoTrader wrote:hi AnotherBrain
AnotherBrian wrote:Doesn't work for me on Win7. I have to drag the EA onto the chart again to make it reload.
I've confirmed by file time stamp that the compiler puts the file in the correct location.
What to do.....
This works for me in Win7 64bit without problems...but my MTcrap directory is in the root of C:\ and not in "Program Files(x86)" for the update of MTcrap after a compile I also needed to download the C++ Redistributable from Microsoft...link is here.

happy weekend,

NeoTrader
Nope - didn't do it for me :(
For me its not really a big deal as I don't code that much... but I'd still like to figure this out!!
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

AnotherBrian wrote:
NeoTrader wrote:hi AnotherBrain
AnotherBrian wrote:Doesn't work for me on Win7. I have to drag the EA onto the chart again to make it reload.
I've confirmed by file time stamp that the compiler puts the file in the correct location.
What to do.....
This works for me in Win7 64bit without problems...but my MTcrap directory is in the root of C:\ and not in "Program Files(x86)" for the update of MTcrap after a compile I also needed to download the C++ Redistributable from Microsoft...link is here.

happy weekend,

NeoTrader
Nope - didn't do it for me :(
For me its not really a big deal as I don't code that much... but I'd still like to figure this out!!
What broker do you use? Would you provide what's the title text on the Empty4 window, similar to what Steve took on previous post?
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

OK, I've registered features / defects everyone reported here to http://code.google.com/p/scite-mql/issues/list. Now I'll tackle it one by one...

If anybody finds anything or have anything to add feel free to post it here or create a new issue on google code.
garyfritz

Re: Just made an IDE for MQL4

Post by garyfritz »

Great work, w633!

Question: I didn't want all the .ex4 files to show up in the file browser. I tried editing the "*.*" at the top to "*.mq4" but that doesn't seem to filter the files. I looked in SciTEGlobal.properties and tried changing line 406 (if PLAT_WIN ; all.files=All Filess(*.*)|*.*|) to *.mq4, and that didn't change anything that I saw.

Does/can the file browser filter files like that, and if so, how do I get it to work? If not, no worries, this is a minor complaint. Not worth you trying to fix.
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

garyfritz wrote:Great work, w633!

Question: I didn't want all the .ex4 files to show up in the file browser. I tried editing the "*.*" at the top to "*.mq4" but that doesn't seem to filter the files. I looked in SciTEGlobal.properties and tried changing line 406 (if PLAT_WIN ; all.files=All Filess(*.*)|*.*|) to *.mq4, and that didn't change anything that I saw.

Does/can the file browser filter files like that, and if so, how do I get it to work? If not, no worries, this is a minor complaint. Not worth you trying to fix.
yes it can, it's just not very intuitive. On the file list, select any .mq4 file and do right click, you'll see a context menu pop-up, one of the selection is "Only current ext", select it and you are done.

Obviously the editor needs some rework to not look so corny, but... it'll be a while
User avatar
NeoTrader
Trader
Posts: 436
Joined: Wed Apr 04, 2012 2:52 pm
Location: small Village at Lake Chiemsee, Bavaria, Germany

Re: Just made an IDE for MQL4

Post by NeoTrader »

w633 wrote:yes it can, it's just not very intuitive. On the file list, select any .mq4 file and do right click, you'll see a context menu pop-up, one of the selection is "Only current ext", select it and you are done.
Yep...works like a charm...
w633 wrote:Obviously the editor needs some rework to not look so corny, but... it'll be a while
you see that the primary target group for this editor is not the ordinary computer user...more the geek or coder...;)


happy Sunday,


NeoTrader

-
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: Just made an IDE for MQL4

Post by lucklogic »

w633 wrote:OK, I've registered features / defects everyone reported here to http://code.google.com/p/scite-mql/issues/list. Now I'll tackle it one by one...

If anybody finds anything or have anything to add feel free to post it here or create a new issue on google code.


One feature request - Can we have a undo and redo button as the original editor. These are really useful especially when an error is made and you can reverse until all is well again


I am have great difficulty in opening some target files. It seems to be ignoring some mq4 designated files and opening them in a monochrome green colour (no colour difference)

It then will not save as a MQ4 file. So it is not recognising the file as the correct type

In the terminal editor, the same files can be opened and saved without problem

Now why is that ? :?
garyfritz

Re: Just made an IDE for MQL4

Post by garyfritz »

Perfect! Thanks w633!

lucklogic, you do know that Ctrl-Z and Ctrl-Y work for undo/redo, right?
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

lucklogic wrote: One feature request - Can we have a undo and redo button as the original editor. These are really useful especially when an error is made and you can reverse until all is well again
The undo / redo button actually is available under "Tool Bar", if you go to View -> Tool Bar, then the tool bar will appear. Personally I use keyboard shortcuts CTRL + Z for undo and CTRL + Y for redo and it's way faster than moving the cursor and click click click...
lucklogic wrote: I am have great difficulty in opening some target files. It seems to be ignoring some mq4 designated files and opening them in a monochrome green colour (no colour difference)

It then will not save as a MQ4 file. So it is not recognising the file as the correct type

In the terminal editor, the same files can be opened and saved without problem

Now why is that ? :?
Would you mind provide the file & file name that this editor always fails to recognize it as MQL file?
Post Reply

Return to “Coders Hangout”