MPTM's new home

MPTM's new home
Locked
User avatar
takijedensuchy
Trader
Posts: 15
Joined: Sun Oct 07, 2012 6:09 am
Location: Toronto, Canada

Re: MPTM's new home

Post by takijedensuchy »

Until then I have figured out a way around it. Just so I don't have to watch each and every trade.
Set the BE at 40 WOW!!! Hopefully will work. Seems to be doing fine with some pennies on live for now. Very profitable actually. Just have to come back to it and give it some TLC. Ok So BE at 40.
TakeProfit at BE at 5 and a jumping stop of 30 to cover the forbidden zone of within price range.
Don't forget to show everything.Trying to hide the BE or JS flips it upside down.
At least with this broker. Finally, attach it to each and every pair individually. Worked different on Demo but Live it seems to like it individual. It seems so illegal but they do intentionally try to confuse all of us. I wil try it on a couple of other live accounts. So far InvestTechFX gets a 2 out of 10. Ok maybe a 1.5 just because of low spreads. Otherwise 0.000 !!!!!

On the flip side..120 pips in the Christmas hustle and bustle. Like never ever NEVER ever ever before. :)
Just have to say that this is as close to the Holy Grail as it gets at this time. This stuff works great. Combined with S/R this thing is the Pip Beast.

Anyhow. Got it to work on the InvestTechFX. Peace!!!

P.S. Does anyone have any PDFs on the MQL? :mrgreen:
whitefang2013
Posts: 2
Joined: Sun Jan 08, 2012 2:14 am

Re: MPTM's new home

Post by whitefang2013 »

Any idea why my my trades immediately goes to stop out?
sydap2003
Posts: 1
Joined: Tue Jan 08, 2013 4:53 am

Re: MPTM's new home

Post by sydap2003 »

Hi Steve
I love your MPTM. Great stuff. One request re the JumpProfit.
Is it possible to have the EA take profit every x pips jump, but leave the SL where it is? Eg I would like to take partial TP every 20 pips but I don't want the SL to jumpTrail that because I then get stopped out to quickly for what are medium term trades, on 4hr charts.. I want the SL to remain at its orginal setting - for me at -60 pips.
Hope you can help. I cannot code. Thx, Andrew
profuse
Trader
Posts: 14
Joined: Tue Jan 01, 2013 10:22 pm

Re: MPTM's new home

Post by profuse »

Hello,

My first reply in this forum.
Thanks to all that build these beautyfull EA's, indi's and scripts.

I just started to use the 10.3/10.2a tpl. plus the EA"S that come with it.
MPTM is one of them and I have the same problems with the SL hits tight after opening a trade.
The broker I'm demo-ing this sytem thusfar is Alpari UK

I'll try the AdMod version by Global now and will let you know how it goes.

Regards,

Ben
profuse
Trader
Posts: 14
Joined: Tue Jan 01, 2013 10:22 pm

Re: MPTM's new home

Post by profuse »

That would be great Global!

Thanks in advance!
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

Re: MPTM's new home

Post by dudest »

Hi guys,

Have an MPTM query regarding the Visual parameters.
I've read the manual a couple of times, but can't quite seem to wrap my head around those params :(

Here is an example:
BreakEven=1
BreakEvenPips=20
BreakEvenProfit=10
PipsAwayFromVisualBE=100

JumpingStop=1
JumpingStopPips=30
JumpAfterBreakevenOnly=1
PipsAwayFromVisualJS=100
Is my understanding below correct?

-> when trade is +20pips, SL will display +10pips, but real SL will be at -90pips (?)

-> when trade goes ok by a further +60pips, SL will display that it is at +40pips, when in reality, the real SL is at -60pips (?)


Thanks for your time!
Dudest
akintinoyea
Posts: 1
Joined: Sat Jan 12, 2013 12:09 pm

Re: MPTM's new home

Post by akintinoyea »

Hello,
I have been using your EA (Multi-purpose trade manager) and i find it so intresting and have been so usefull to me, thank you for your support.

I have a trading startegy that i want to start using for my trading which i know your EA can do for me because a similar option already available in the EA which is the " Hedge Trade Settings "

In the settings the EA will HedgeAtLossPips
I want you to add the option of HedgeAtprofitPips
User avatar
KevinT
Trader
Posts: 113
Joined: Fri Jan 06, 2012 4:23 am

Re: MPTM's new home

Post by KevinT »

akintinoyea wrote:Hello,
I have been using your EA (Multi-purpose trade manager) and i find it so intresting and have been so usefull to me, thank you for your support.

I have a trading startegy that i want to start using for my trading which i know your EA can do for me because a similar option already available in the EA which is the " Hedge Trade Settings "

In the settings the EA will HedgeAtLossPips
I want you to add the option of HedgeAtprofitPips
:idea: Maybe if YOU :mrgreen: S H A R E your strategy with us few felow members here WE might just might consider satisfying YOUR needs :twisted:
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: MPTM's new home

Post by SteveHopwood »

I finally got around to doing something about those rapidly-closing trades.

Guys, unless you have actually used this rubbish, you would not believe what utter, unmitigated appalling crap is mql4. Some of the stuff we coders have to do to work around this drivel is astonishing.

We turn an input into something that is the correct size for a particular pair by using the internal command Point, as in NewStop = OrderOpenPrice() - (StopLoss * Point);

Simple enough unless you are coding a multi-pair trader. In this case we need a variable that can represent Point for each pair, so we have something like
double point = MarketInfo(OrderSymbol(), MODE_POINT);

All well and good until you come across this fact: on some charts of some of the more ridiculously asinine, cretinious, twisted, morose, cabage-brained, turd-for-charisma crims, MarketInfo(OrderSymbol(), MODE_POINT); often returns zero. Fat lot of bloody use that is.

So, if MarketInfo(OrderSymbol(), MODE_POINT) is so unreliable, some of the cleverer people here came to the conclusion that Point could be similarly unreliable and came up with a routine to overcome this piece of dung.

All my recent EA's have a globally-declared variable, factor:
double factor;
Early in init() comes factor = PFactor(Symbol); where PFactor(Symbol) is a function that calculates the value of Point correctly. Lifesys was kind enough to add this to mptm a few months ago.

With me so far? This is where the fun of dealing with this heap of syphilitic Dingo's droppings really begins.

If, say, StopLoss is declared as an integer as in int StopLoss = 20:
double NewStop = NewStop = OrderOpenPrice() - (StopLoss * Point); is allowed and (StopLoss * Point) creates a 0.xxxxxxxx result.

The command using factor is OrderOpenPrice() - (StopLoss / factor); But, if StopLoss is an integer then the code (StopLoss / factor) returns a zero value.

What magnificent programming. One method of calculation that creates a < 0 result is allowed, whilst another is not. Therefore any pip value that is going to use factor to convert to the correct number of decimal places has to be declared as a double, not an integer.

A group of stupid sods somewhere in LoonyVille actually sat down and wrote this rubbish; it wasn't thrown together by a bunch of 8 year olds with a computer. A 16 year old computer science student would be severely bollocked for such a ball-brained- pre-infantile mistake.

All the pip values in mptm were declared as integers, so when interacting with factor resulted in 0 being added to whatever the bot was supposed to be doing, and so trades were closing prematurely. All that was needed was to convert them to doubles - something Paul forgot to do and that I did not notice.

So, fix is in post 1; sing out if I am barking at the wrong moon and the fix does not work.

: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.
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

Re: MPTM's new home

Post by dudest »

SteveHopwood wrote: ..
So, fix is in post 1; sing out if I am barking at the wrong moon and the fix does not work.

:D
Thanks Steve for sharing your time & genius, much appreciated!

Cheers!
Locked

Return to “Utilities Indicators and Scripts”