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

MPTM's new home
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=64
Page 35 of 57
Author:  sakisf [ Mon Nov 18, 2013 8:29 am ]
Post subject:  Re: MPTM's new home

I am having some issue with MPTM on my broker (Bully Pepperstone) - AU,GU,EU 5 digits after comma, XAU 2 digits, UJ & XAG 3 digits. It handles most pairs I am on (EU,GU,AU,UC) just fine, but when it comes to UJ,XAU,XAG it closes the trades as soon as there is one pip move. This is an example I got from UJ from alerts: Stop loss hit. Close of USDJPY ticket no ###### failed with error (4108) : invalid ticket.

Attached is my set file in case you wish to examine if perhaps one of my settings that causes the issue. I have searched both on FF and here and didn't find any information on this error. Perhaps I should add two instances of MPTM, one on EU to handle 5 digit currencies and one on UJ for 3 digit and run it with 'manage specific pairs'?
Author:  dudest [ Mon Nov 18, 2013 8:41 am ]
Post subject:  Re: MPTM's new home

jako wrote:EXAMPLE.
How do I change the setting to:
PT = 50% (0.5) ATR (period 20, TF 1440)
SL = PT
Shift SL BE after reaching 25% (0.25) ATR (period 20, TF 1440)
...
sep1
BreakEven = true;
BreakEvenProfit = 0;


sep3
UseBreakEvenPercentageATR = true;
AtrBePeriod = 20;
AtrBeTimeFrame = 1440;
BreakEvenPercentAtr = 25;
MinimumBeAtrPips = 5;


sep14
AddMissingStopLoss = true;
UseSlAtr = true;
AtrSlPeriod = 20;
AtrSlTimeFrame = 1440;
AtrSlMultiplier = 0.5;

sep15
AddMissingTakeProfit = true;
UseTpAtr = true;
AtrTpPeriod = 20;
AtrTpTimeFrame = 1440;
AtrTpMultiplier = 0.5;

.
Author:  dudest [ Mon Nov 18, 2013 8:44 am ]
Post subject:  Re: MPTM's new home

sakisf wrote:I am having some issue with MPTM on my broker (Bully Bully Pepperstone) - AU,GU,EU 5 digits after comma, XAU 2 digits, UJ & XAG 3 digits. It handles most pairs I am on (EU,GU,AU,UC) just fine, but when it comes to UJ,XAU,XAG it closes the trades as soon as there is one pip move. This is an example I got from UJ from alerts: Stop loss hit. Close of USDJPY ticket no ###### failed with error (4108) : invalid ticket.

Attached is my set file in case you wish to examine if perhaps one of my settings that causes the issue. I have searched both on FF and here and didn't find any information on this error. Perhaps I should add two instances of MPTM, one on EU to handle 5 digit currencies and one on UJ for 3 digit and run it with 'manage specific pairs'?
Hallo,

Which version of MPTM are you using? Is it the one from the first post of this thread?



== Reason I ask ==

MPTM factors in 3,4,5-digit pairs, including JPYs, Gold and Silver. It should be working OK.
If you're not using the MPTM in post #1 of this thread, try it then holla back if the problem is still there.
double PFactor(string pair)
{
double Pipfactor=10000; // correct factor for most pairs

if (StringFind(pair,"JPY",0) != -1 || StringFind(pair,"XAG",0) != -1)
Pipfactor = 100; // if jpy or silver

if (StringFind(pair,"XAU",0) != -1)
Pipfactor = 10; // if gold

return (Pipfactor);

}
==

Cheers
Author:  sakisf [ Mon Nov 18, 2013 8:57 am ]
Post subject:  Re: MPTM's new home

Just figured it. Removed BE and left JS with hidden JS on. Enabled one click trading (my bad, forgot it was off!) and now everything works as intended. Placed both GU & UJ trades and it works fine.

Update: It seems to be broken with UJ when you are on the sell side, same must apply for other non 5-digit currencies/metals. Works fine with the 5-digit ones on both buy/sell sides.
Author:  jako [ Mon Nov 18, 2013 6:07 pm ]
Post subject:  Re: MPTM's new home

dudest wrote:
jako wrote:EXAMPLE.
How do I change the setting to:
PT = 50% (0.5) ATR (period 20, TF 1440)
SL = PT
Shift SL BE after reaching 25% (0.25) ATR (period 20, TF 1440)
...
sep1
BreakEven = true;
BreakEvenProfit = 0;


sep3
UseBreakEvenPercentageATR = true;
AtrBePeriod = 20;
AtrBeTimeFrame = 1440;
BreakEvenPercentAtr = 25;
MinimumBeAtrPips = 5;


sep14
AddMissingStopLoss = true;
UseSlAtr = true;
AtrSlPeriod = 20;
AtrSlTimeFrame = 1440;
AtrSlMultiplier = 0.5;

sep15
AddMissingTakeProfit = true;
UseTpAtr = true;
AtrTpPeriod = 20;
AtrTpTimeFrame = 1440;
AtrTpMultiplier = 0.5;

.
sep 1
BreakEven = true
BreakEvenProfit = 0
sep 2
UseBreakEvenPercentageTP = false
sep 3
BreakEvenPercentageATR = true
BreakEvenPercentAtr = 25
sep 6
TrailingStop = false
sep 9
UseTigheningStop = false
sep 10
UseTsPercentageTp = false
sep 11
UseTrailJumpStopPercentageTP = false
sep 14
AddMissingStopLoss = true
sep 15
AddMissingTakeProfit = true
UseTpAtr = true
AtrTpMultiplier = 0.5

Unwanted functions I set to false. Variables that are correct in setting OOTB I missed.
Author:  sakisf [ Mon Nov 18, 2013 10:49 pm ]
Post subject:  Re: MPTM's new home

Btw Steve, you should put some disclaimer in the code that the EA is free and if anyone bought it they should request a refund:

http://www.ebay.com/itm/Forex-Excellent ... 1141397178

Would help reporting such sellers with ebay or paypal, which they use to sell EA's.
Author:  SteveHopwood [ Mon Nov 18, 2013 10:59 pm ]
Post subject:  Re: MPTM's new home

sakisf wrote:Btw Steve, you should put some disclaimer in the code that the EA is free and if anyone bought it they should request a refund:

http://www.ebay.com/itm/Forex-Excellent ... 1141397178

Would help reporting such sellers with ebay or paypal, which they use to sell EA's.
I know, but the sellers would remove it.

I do make the occasional desultory attempt to get in touch with ebay but their bloody site rejects every attempt I make to log on. Not a clue how to do so and ebay appears to have no way of recovering logon details. If logging on is necessary to use ebay. Don't know - tis about 8 years since I last bought anything there and have never sold anything.

If anyone has any idea how to stop these bastards flogging my free software for a profit to themselves, do please let me know how it is done. ebay clearly couldn't give a shit so long as they are making their money.

Cheers
Author:  kwittusen [ Tue Nov 19, 2013 8:32 am ]
Post subject:  Re: MPTM's new home

SteveHopwood wrote:
sakisf wrote:Btw Steve, you should put some disclaimer in the code that the EA is free and if anyone bought it they should request a refund:

http://www.ebay.com/itm/Forex-Excellent ... 1141397178

Would help reporting such sellers with ebay or paypal, which they use to sell EA's.
I know, but the sellers would remove it.

I do make the occasional desultory attempt to get in touch with ebay but their bloody site rejects every attempt I make to log on. Not a clue how to do so and ebay appears to have no way of recovering logon details. If logging on is necessary to use ebay. Don't know - tis about 8 years since I last bought anything there and have never sold anything.

If anyone has any idea how to stop these bastards flogging my free software for a profit to themselves, do please let me know how it is done. ebay clearly couldn't give a shit so long as they are making their money.

Cheers
I have an idea for you about this, so if you answer my question that i posted long time ago and as a reminder here it is again:
I wonder if it's possible to set up the following senario: I want to set brake even to 130pips, and then it should secure 80pips and i want to use trail stop when i reach 150pips, and then i want to trail with 35pips.

So to explain it easy, when i reach 130pips in profit, it should move BE/SL to 90pips, then when i reach 150pips it should use trail stop with 35pips.

Is this possible to set up ?


I will hand you the answer anyway :-), why not go in and dump the price on ebay with exactly the same headline as they have, they are selling it for $99, why not sell the same for $9.99 and explain that ur the codewrite behind it, this way all the ones who have bought it for $99 will have to ask they fckheads why they had to pay that much.
Author:  sakisf [ Tue Nov 19, 2013 9:16 am ]
Post subject:  Re: MPTM's new home

I am still having the issue of MPTM closing down all my short trades immediately upon placing them, so I would appreciate if someone could take a look at it.

11:06:29 '100027': order was opened : #5962606 sell 0.01 GBPUSD at 1.60996 sl: 0.00000 tp: 0.00000
11:06:29 Publisher: starting
11:06:29 '100027': close order #5962606 sell 0.01 GBPUSD at 1.60996 sl: 0.00000 tp: 0.00000 at price 0.00000
11:06:29 '100027': request was accepted by server
11:06:29 '100027': request in process
11:06:29 Publisher: ok
11:06:29 '100027': order #5962606 sell 0.01 GBPUSD at 1.60996 sl: 0.00000 tp: 0.00000 closed at price 1.60998

11:06:29 Multi purpose trade manager EURUSD,H4: close #5962606 sell 0.01 GBPUSD at 1.60996 at price 1.60998
11:06:29 Multi purpose trade manager EURUSD,H4: Alert: Stop loss hit. Close of GBPUSD ticket no 5962606
11:06:29 Multi purpose trade manager EURUSD,H4: unknown ticket 5962606 for OrderModify function
11:06:29 Multi purpose trade manager EURUSD,H4: Alert: GBPUSD SL insertion failed with error(4108) : invalid ticket
11:06:29 Multi purpose trade manager EURUSD,H4: GBPUSD SL insertion failed with error(4108) : invalid ticket
11:06:29 Multi purpose trade manager EURUSD,H4: unknown ticket 5962606 for OrderModify function
11:06:29 Multi purpose trade manager EURUSD,H4: Alert: GBPUSD TP insertion failed with error(4108) : invalid ticket
11:06:29 Multi purpose trade manager EURUSD,H4: GBPUSD TP insertion failed with error(4108) : invalid ticket
Author:  milanese [ Tue Nov 19, 2013 9:30 am ]
Post subject:  Re: MPTM's new home

sakisf wrote:I am still having the issue of MPTM closing down all my short trades immediately upon placing them, so I would appreciate if someone could take a look at it.

...................
try it without hiding something.., maybe there is the problem..

Cheers :)

Tommaso
All times are UTC Page 35 of 57