10points 3.mq4 - page 2

 

Thank you John

That`s what I get, I want to test with Neuimex:

'OrderClosePri' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (120, 58)

'OrderClosePri' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (121, 59)

'Poi' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (178, 48)

'nt' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (178, 52)

'Po' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (193, 96)

'(' - variable expected C:\Programme\Lea\experts\10 pips.mq4 (193, 102)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (193, 136)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (194, 9)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (207, 34)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (209, 44)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (210, 28)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (212, 24)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (213, 24)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (214, 25)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (215, 32)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (216, 20)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (217, 21)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (220, 39)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (221, 52)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (221, 64)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (222, 39)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (223, 52)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (223, 64)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (225, 22)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (228, 39)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (229, 52)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (229, 64)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (230, 39)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (231, 52)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (231, 64)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (238, 38)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (239, 68)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (242, 25)

'slip' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (244, 47)

'page' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (244, 52)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (244, 63)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (246, 9)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (250, 17)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (252, 19)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (254, 170)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (257, 38)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (259, 48)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (263, 18)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (265, 19)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (267, 18)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (270, 32)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (272, 17)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (272, 58)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (273, 43)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (276, 16)

'slipp' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (277, 46)

'age' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (277, 52)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (277, 74)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (278, 9)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (282, 38)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (284, 48)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (288, 18)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (290, 19)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (292, 18)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (294, 32)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (296, 17)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (296, 58)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (297, 43)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (300, 16)

'slippag' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (301, 44)

'e' - variable not defined C:\Programme\Lea\experts\10 pips.mq4 (301, 52)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (301, 73)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (302, 9)

')' - unbalanced right parenthesis C:\Programme\Lea\experts\10 pips.mq4 (307, 9)

phoenix, do you have an idea? This is the first EA who makes trouble.

 
 

10points 3-1

The EA is still working and it needs deep pockets when it escalates.

The file below shows GBPUSD escalate from .1 units right up to 12.8 units all buys and when it was successful all the rest of the same pair were closed.

What beats me is why it then opened as sell because currently I am back to 3.2 unit trades, if it had continued buys there would have been no need for any escalation.

I decided to let it run through the news announcements and the FOMC caused the current problem.

John

Files:
 

Try this, it may fix the problem nerd)

under this part of the code:

if (OrderType()==OP_BUY)

Should Read:

OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderClosePrice()+TakeProfit*Point+TrailingStop*Point,800,Yellow);

return(0);

I'm new at this and could be wrong, but it is working for me on interbankFX.

I also changed the date code.

MKH

Files:
10points_3.mq4  10 kb
 
G-Riper:
Try this, it may fix the problem nerd)

under this part of the code:

if (OrderType()==OP_BUY)

Should Read:

OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderClosePrice()+TakeProfit*Point+TrailingStop*Point,800,Yellow);

return(0);

I'm new at this and could be wrong, but it is working for me on interbankFX.

I also changed the date code.

MKH

Hello lomme, thanks for your helping.

Hello G-Riper, that`s the solution! Now it works without errors.

Thanks a lot for both for supporting

 

10-points 3-1

Still successfully trading in profit continuously over the news announcements.

Currently the highest trade is .8 units.

Files:
 

not often but every once in a while it seems to have an *extremely* high draw down even with small lot size so be careful

 
lowphat:
not often but every once in a while it seems to have an *extremely* high draw down even with small lot size so be careful

Can you show it to us with a statement?

 

10points 3-1

after 3 days of watching this EA I have a couple of observations,

It can be very dangerous and could create margin calls but given a large enough account it can recover easily.

I have attached a chart showing the period when GBPUSD lost 110 pips causing the trade to escalate from .1 up to 12.8 units but then closed after a gain of 17 pips that more than covered the losses involved and overall showed a profit of $165.

Looking at the volatility I have noticed that this EA if used on a mini account would best be used on USDCHF.

GBPUSD had 24 trades during the measured period and the highest trade was 12.8 units twice

EURUSD had 12 trades with a highest trade of 1.6 units twice.

USDCHF had 10 trades with a highest trade of .8 units once.

USDJPY had 4 trades with a highest trade of .4 units once.

John

Files:
gbpusd_4.gif  57 kb
 

10points 3-1

Still going strong now showing a profit of $5470 in 4 days with floating profit of $58.

John

Files:
Reason: