stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

MPTM's new home
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=64
Page 19 of 57
Author:  takijedensuchy [ Fri Dec 28, 2012 5:01 am ]
Post subject:  Re: MPTM's new home

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:
Author:  whitefang2013 [ Fri Jan 04, 2013 4:41 pm ]
Post subject:  Re: MPTM's new home

Any idea why my my trades immediately goes to stop out?
Author:  sydap2003 [ Sat Jan 12, 2013 7:12 am ]
Post subject:  Re: MPTM's new home

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
Author:  profuse [ Sun Jan 13, 2013 12:36 pm ]
Post subject:  Re: MPTM's new home

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
Author:  profuse [ Sun Jan 13, 2013 4:27 pm ]
Post subject:  Re: MPTM's new home

That would be great Global!

Thanks in advance!
Author:  dudest [ Sat Jan 19, 2013 8:18 am ]
Post subject:  Re: MPTM's new home

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
Author:  akintinoyea [ Sat Jan 19, 2013 1:12 pm ]
Post subject:  Re: MPTM's new home

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
Author:  KevinT [ Sat Jan 19, 2013 2:23 pm ]
Post subject:  Re: MPTM's new home

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:
Author:  SteveHopwood [ Sat Jan 19, 2013 4:47 pm ]
Post subject:  Re: MPTM's new home

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
Author:  dudest [ Sat Jan 19, 2013 6:17 pm ]
Post subject:  Re: MPTM's new home

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!
All times are UTC Page 19 of 57