MaryJane's resizer update

MaryJane's resizer update

Postby MaryJane » Sun Feb 09, 2014 12:27 am

matt_32 » Fri Feb 07, 2014 10:43 am wrote:Damn...... update.

It seems that MaryJane's (invaluable) resizer does not work anymore !!!

Matt


fixed :smile:
passing strings from/to user32.dll the quick and dirty way doesn't work with ansi winapi anymore.

unfortunately, i had to drop the infinite loop inside the ea.. new Empty4 builds behave very angry when calling winapi from within a loop, everything is fine if the crap is driven by ticks.. so if you insist on smooth operation independent of ticks coming from the price feed, you have to run some tick generator in background.. considering this, there is really no advantage in using the EA rather than the indicator, the reason for using the EA has been its independence on ticks, and that's gone.. i recommend to simply attach the indi version to any chart and run a ticker all the time.

InputResizer_600.mq4

InputResizerEA_600.mq4


NB: the attached versions won't work with older builds because of calling unicode winapi things.. so if you're still using 509 or below, stick to the original code.

cheers, J ;)

last edit: cleanup unused externs in code
You do not have the required permissions to view the files attached to this post.
MaryJane
 
Posts: 3
Joined: Sat Feb 08, 2014 5:47 pm

Re: MaryJane's resizer update

Postby milanese » Sun Feb 09, 2014 12:38 am

MaryJane » Sat Feb 08, 2014 6:06 pm wrote:fixed :smile:
passing strings from/to user32.dll the quick and dirty way doesn't work with ansi winapi anymore.

unfortunately, i had to drop the infinite loop inside the ea.. new Empty4 builds behave very angry when calling winapi from within a loop, everything is fine if the crap is driven by ticks.. so if you insist on smooth operation independent of ticks coming from the price feed, you have to run some tick generator in background.. considering this, there is really no advantage in using the EA rather than the indicator, the reason for using the EA has been its independence on ticks, and that's gone.. i recommend to simply attach the indi version to any chart and run a ticker all the time.

NB: the attached versions won't work with older builds because of calling unicode winapi things.. so if you're still using 509 or below, stick to the original code.

cheers, J ;)

Hi J

welcome here, and thank you for posting your update here :cheer:

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
milanese
 
Posts: 3390
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: MaryJane's resizer update

Postby SteveHopwood » Sun Feb 09, 2014 12:39 am

MJ, fantastic. Thanks.

Tommaso, you know what I am struggling with at the mo, so could you do me a favour please? Keep Mary's link location for me so I can change it in my signature etc when I get around to it. Thanks.

:xm:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the several thousand SHF members who wisely choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

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

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

Re: MaryJane's resizer update

Postby matt_32 » Sun Feb 09, 2014 7:13 am

Thank you MJ
That is fantastic

Matt
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC
User avatar
matt_32
 
Posts: 203
Joined: Tue Apr 03, 2012 8:51 am
Location: Crete, Greece

Re: MaryJane's resizer update

Postby MaryJane » Sun Feb 09, 2014 9:35 am

hey guys :D i just happened to come across your site after a rather long time to see what kind of trouble came with the latest build and how do top coders cope with it.. and saw matt_32's fresh (!) post about the resizer :D i had no idea the thing survived the past yrs.. haha, still seems to be of some use.. quite funny actually, given the sheer amount of changes they did since the resizer came out :P

i don't code much general stuff recently, but i'm spending a _lot_of_time_ on a weighted currency indices project.. classical offline charts stuff relying on .hst and a a few custom DLLs connected to a remote DB engine.. fortunately, i saw the changes coming with 509+ beta builds and was able to transit almost everything before the upgrade went public.

yeah, they messed up everything, forced upgrading and lack of an option to stay on the old road is unprecedentedly impertinent :D ..clearly a consequence of lacking competition (client) allowing MQ to tie brokerages down to a completely passive role (server).. remember, they're Russian, and Russians ain't dumb.. strategically, they always were, and still are, genial (a honest compliment, not a slightest bit of anything foul meant here!!!).

BUT on the other side (hey Steve, don't ban me for this, just my opinion, lol)... from what i see, the changes made to mql are definitily positive, and consider this: MT5 has definitely turned out to be a giant commercial flop because of total incompatibility with existing codebase. Maybe i'm a hopeless dreamer, but if they FINALLY added custom timeframes, non-time-based charts, 64bit and multicore support, and dropped the misfit MT5 completely, we could stay with the current mql flavour (and enjoy compatibility at source level) for years, perhaps another decade.. i'm betting a bit it's the way they chose, they simply can't cut the Empty4 base off and if i'm right, then the recent change is the last big one for a long time. They won't commit the same self-destructing crime again, as they did with MT5. Scratching MT5 is what the current mess is all about.. they have virtually no other option and the way they go is perhaps their only way out. I guess the current Empty4 version will slowly grow up to date technologically, and become MT6 in foreseeable time. Some (temporarily dropped) features in earlier pre-600 betas clearly confirm my hypothesis.. but time will tell.. it always does ;)

As a coder, I see minor problems with all that, as every single source code can be fixed rather easily.. for non-coding users, it's a major PITA right now. i really don't advocate MQ, in fact i hate their approach, but things must go forth, on all fronts.

ah, blabbered too much :P

great forum btw :) keep going!! :D J
MaryJane
 
Posts: 3
Joined: Sat Feb 08, 2014 5:47 pm

Re: MaryJane's resizer update

Postby Khalaad » Sun Feb 09, 2014 11:40 am

:hi:

Welcome to the Forum, Mary Jane.

In one of my last posts at the Forex Factory, I paid you a well deserved compliment. Let me repeat it:

To see things in the seed, that is genius.

One certainly hopes you are right. While Empty4 leaves a lot be desired, it certainly has facilitated the small trader participate in the Forex market in numbers it probably would not have been possible without it. And, in my opinion, for that reason alone one must accept it. :| At least until a viable alternative comes along.

Khalid
Ars longa, vita brevis, occasio praeceps, experimentum periculosum, iudicium difficile.
Khalaad
 
Posts: 832
Joined: Tue Nov 15, 2011 12:54 pm
Location: Lahore, Pakistan

Re: MaryJane's resizer update

Postby MaryJane » Sun Feb 09, 2014 12:13 pm

In one of my last posts at the Forex Factory, I paid you a well deserved compliment.

Hi Khalid :clap: thank you :oops:

life taught me to see things as they are, not as they should be in anyone's opinion, including mine.. and adapt to exploit new positives ;)

nevertheless, MQ painfully deserves some real competition.. the monopoly they enjoy stinks.

Glad to meet you here :D J
MaryJane
 
Posts: 3
Joined: Sat Feb 08, 2014 5:47 pm

MaryJane's resizer update

Postby MurphyMan » Fri Feb 28, 2014 9:27 pm

Thank you, MaryJane. I use the re-sizer all the time! :yahoo:

Sam
User avatar
MurphyMan
 
Posts: 337
Joined: Tue Nov 15, 2011 2:35 pm
Location: Southern Illinois, USA

Sticky?

Postby Radar » Wed Apr 23, 2014 6:25 am

Hey Admins,

I reckon this thread should be stickified before it sinks into oblivion...

Have fun!

Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
Radar
 
Posts: 445
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Sticky?

Postby milanese » Wed Apr 23, 2014 8:08 am

Radar » Wed Apr 23, 2014 6:25 am wrote:Hey Admins,

I reckon this thread should be stickified before it sinks into oblivion...

Have fun!

Radar =8^)

done thanks mate :)

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
milanese
 
Posts: 3390
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Next

Return to Automated trading systems

Who is online

Users browsing this forum: No registered users and 1 guest