MPTM_Global

MPTM's new home
Locked
shellsnail
Trader
Posts: 39
Joined: Sun Oct 21, 2012 11:04 pm
Location: United Kingdom

MPTM_Global

Post by shellsnail »

Hi,

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

Thanks.
You do not have the required permissions to view the files attached to this post.
Last edited by shellsnail on Tue Mar 10, 2015 5:36 pm, edited 4 times in total.
dietcoke
Trader
Posts: 162
Joined: Tue Nov 15, 2011 9:59 pm

MPTM_Global

Post by dietcoke »

I can't view that screenshot. The resolution is c**p.
Image
shellsnail
Trader
Posts: 39
Joined: Sun Oct 21, 2012 11:04 pm
Location: United Kingdom

MPTM_Global

Post by shellsnail »

dietcoke » Wed Mar 11, 2015 1:32 am wrote:I can't view that screenshot. The resolution is c**p.
Hi sorry, updated it.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

MPTM_Global

Post by milanese »

@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
You do not have the required permissions to view the files attached to this post.
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
shellsnail
Trader
Posts: 39
Joined: Sun Oct 21, 2012 11:04 pm
Location: United Kingdom

MPTM_Global

Post by shellsnail »

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.
You do not have the required permissions to view the files attached to this post.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

MPTM_Global

Post by milanese »

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
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
shellsnail
Trader
Posts: 39
Joined: Sun Oct 21, 2012 11:04 pm
Location: United Kingdom

MPTM_Global

Post by shellsnail »

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.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

MPTM_Global

Post by milanese »

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
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
global
Trader
Posts: 67
Joined: Wed Aug 15, 2012 2:16 am

MPTM_Global

Post by 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.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

MPTM_Global

Post by milanese »

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
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
Locked

Return to “Utilities Indicators and Scripts”