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

MPTM_Global
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1633
Page 12 of 14
Author:  shellsnail [ Tue Mar 10, 2015 5:02 pm ]
Post subject:  MPTM_Global

Hi,

I get the following error when trying to compile.
errorcompiling.jpg
Any idea how to fix this?

Thanks.
Author:  dietcoke [ Tue Mar 10, 2015 5:32 pm ]
Post subject:  MPTM_Global

I can't view that screenshot. The resolution is c**p.
Author:  shellsnail [ Tue Mar 10, 2015 5:36 pm ]
Post subject:  MPTM_Global

dietcoke » Wed Mar 11, 2015 1:32 am wrote:I can't view that screenshot. The resolution is c**p.
Hi sorry, updated it.
Author:  milanese [ Tue Mar 10, 2015 5:57 pm ]
Post subject:  MPTM_Global

@shellsnail post in future your pictures attached to your post, look there how to do this ----click---> http://www.stevehopwoodforex.com/phpBB3/kb.php?a=2

and attached the ex4 compiled with build 765...
MPTM_Global_6xx.ex4
Cheers :)

Tommaso
Author:  shellsnail [ Tue Mar 10, 2015 6:54 pm ]
Post subject:  MPTM_Global

milanese » Wed Mar 11, 2015 1:57 am wrote:@shellsnail post in future your pictures attached to your post, look there how to do this ----click---> http://www.stevehopwoodforex.com/phpBB3/kb.php?a=2

and attached the ex4 compiled with build 765...


Cheers :)

Tommaso
Thanks Tommaso for the EA and the advice on images,

Actually, I did that initially but the unexpanded one had crappy resolution and when expanded the image didn't fit on the screen. shrugs.

Can I check with you @milanese, whether the following settings will produce the desired results:
settings.png
I want to achieve a trailing stop that's based on 4H 20-period ATR. The trailing stop will have to be 2 times that ATR value.
Author:  milanese [ Tue Mar 10, 2015 7:29 pm ]
Post subject:  MPTM_Global

shellsnail » Tue Mar 10, 2015 6:54 pm wrote:
milanese » Wed Mar 11, 2015 1:57 am wrote:@shellsnail post in future your pictures attached to your post, look there how to do this ----click---> http://www.stevehopwoodforex.com/phpBB3/kb.php?a=2

and attached the ex4 compiled with build 765...


Cheers :)

Tommaso
Thanks Tommaso for the EA and the advice on images,

Actually, I did that initially but the unexpanded one had crappy resolution and when expanded the image didn't fit on the screen. shrugs.

Can I check with you @milanese, whether the following settings will produce the desired results:



I want to achieve a trailing stop that's based on 4H 20-period ATR. The trailing stop will have to be 2 times that ATR value.
if you do not need the specific % options MPTM global offers it would be easier to use the APTM --> http://www.stevehopwoodforex.com/phpBB3 ... =21&t=3482 for doing this ..
In this MPTM global you should the ATR multiplier to 2 and for the % settings read first post in thread...

Cheers :)

Tommaso
Author:  shellsnail [ Tue Mar 10, 2015 8:10 pm ]
Post subject:  MPTM_Global

milanese » Wed Mar 11, 2015 3:29 am wrote:
shellsnail » Tue Mar 10, 2015 6:54 pm wrote:
milanese » Wed Mar 11, 2015 1:57 am wrote:@shellsnail post in future your pictures attached to your post, look there how to do this ----click---> http://www.stevehopwoodforex.com/phpBB3/kb.php?a=2

and attached the ex4 compiled with build 765...


Cheers :)

Tommaso
Thanks Tommaso for the EA and the advice on images,

Actually, I did that initially but the unexpanded one had crappy resolution and when expanded the image didn't fit on the screen. shrugs.

Can I check with you @milanese, whether the following settings will produce the desired results:



I want to achieve a trailing stop that's based on 4H 20-period ATR. The trailing stop will have to be 2 times that ATR value.
if you do not need the specific % options MPTM global offers it would be easier to use the APTM --> http://www.stevehopwoodforex.com/phpBB3 ... =21&t=3482 for doing this ..
In this MPTM global you should the ATR multiplier to 2 and for the % settings read first post in thread...

Cheers :)

Tommaso
Thanks Tommaso,

I did look at APTM, but it doesn't say trailing stop anywhere, and I don't want initial stop-loss to be ATR-based, only the trailing stop is ATR based. Haha, I am troublesome I know.

I set it to multiplier = 1 because I set the TrailJumpStopPercentageATR = 200.0.

Does that work?

Edit: I guess it doesn't because of this line in the code

if (TrailAt85Percent < MinimumTsTrail) TrailAt85Percent = MinimumTsTrail;

when i set it to 0% it becomes 3 pips and that messes up everything.
Author:  milanese [ Tue Mar 10, 2015 8:24 pm ]
Post subject:  MPTM_Global

shellsnail » Tue Mar 10, 2015 8:10 pm wrote:
Thanks Tommaso,

I did look at APTM, but it doesn't say trailing stop anywhere, and I don't want initial stop-loss to be ATR-based, only the trailing stop is ATR based. Haha, I am troublesome I know.

I set it to multiplier = 1 because I set the TrailJumpStopPercentageATR = 200.0.

Does that work?

Edit: I guess it doesn't because of this line in the code

if (TrailAt85Percent < MinimumTsTrail) TrailAt85Percent = MinimumTsTrail;

when i set it to 0% it becomes 3 pips and that messes up everything.
you can set with APTM that only the moving SL would use ATR ist uses a jumping stop but that is in fact very simil to trailing..

Cheers :)

Tommaso
Author:  global [ Wed Mar 11, 2015 5:14 am ]
Post subject:  MPTM_Global

Hi Tommaso,

I attempted to do an update to MPTM_Global with more features but was unable to get it to compile without any warnings, plus when attempting to get it to manage all pairs with the Ea attached to only one chart it didn't function as expected. When I can spare more time I'll try to work out the bugs. I saw that you posted MPTM_Global_6xx.ex4 compiled with the latest Empty4 build. Were you able to get it to compile without any warnings? If so I would really like to see the mq4 file then I may be able to complete my upgrade without warnings.

I just realized that you programmed an AllPairTradeManager(APTM) with many features . Thanks, I'll give it a try.
Author:  milanese [ Wed Mar 11, 2015 7:28 am ]
Post subject:  MPTM_Global

global » Wed Mar 11, 2015 5:14 am wrote:Hi Tommaso,

I attempted to do an update to MPTM_Global with more features but was unable to get it to compile without any warnings, plus when attempting to get it to manage all pairs with the Ea attached to only one chart it didn't function as expected. When I can spare more time I'll try to work out the bugs. I saw that you posted MPTM_Global_6xx.ex4 compiled with the latest Empty4 build. Were you able to get it to compile without any warnings? If so I would really like to see the mq4 file then I may be able to complete my upgrade without warnings.

I just realized that you programmed an AllPairTradeManager(APTM) with many features . Thanks, I'll give it a try.
just pm me your mq4 and I will adapt it for the latest builds, in a way that that you will not have any longer warnings ecc..

Cheers :)

Tommaso
All times are UTC Page 12 of 14