myRandom

EDFx1

Newbie
Sep 29, 2015
2
0
2
44
Hello,

Is there a new recoded version of myRandom EA? I'm interested in operating this EA, but with additional input and more enhanced functionality to current MT4 specs.

Thanks & Best Regards,

-EDFx1
 

EDFx1

Newbie
Sep 29, 2015
2
0
2
44
Thank you for your reply.

I'm in the process of developing a new propriety EA that is similar to yours. However, I'm looking for additional functionality to order placement, depending on what chart time frames used(M1, M5, M15, M30, H1, H4, & D1). Trade exit will happen on the same time frame but just before the next bar/candle would come up.

The random feature would be further randomized with additional functions & variables ... making it a truly random trade generator.

Please let me know if you'd like to collaborate on this EA development.

Thank You,

-ED.

The EA works perfectly with the latest build of MT4. Which new features would you like to see in it?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
I am not sure what you mean by "further randomized with additional functions & variables", but closing a trade just before the next bar is open is a million times more difficult than to closing a trade just after a new bar is open.
 

dunnoy

Trader
May 20, 2020
2
0
17
47
it z great EA,
but it takes orders in same direction
can u make it take buy sell or reverse every time?
 

dunnoy

Trader
May 20, 2020
2
0
17
47
i am trying to test it in strategy tester, but it doesn't take any order at all
?????????????????????????????????
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
i am trying to test it in strategy tester, but it doesn't take any order at all
?????????????????????????????????

Do you get any errors? I've just tried it and it tests fine:
Code:
2020.05.20 10:26:36.923    TestGenerator: current spread 1 used
2020.05.20 10:26:38.949    TestGenerator: unmatched data error (low value 1.09160 at 2020.04.13 21:15 is not reached from the least timeframe, low price 1.09170 mismatches)
2020.05.20 10:26:38.996    2020.04.01 00:00:00  myRandom inputs: Lots=0.1; Slippage=3; RandomEntryPeriod=80; StopLoss=90; TakeProfit=600; MaxPositions=4; ECN_Mode=0;
2020.05.20 10:26:38.996    2020.04.01 00:00:00  myRandom EURUSD,M5: open #1 sell 0.10 EURUSD at 1.1024 sl: 1.1114 tp: 1.0424 ok
2020.05.20 10:26:38.996    2020.04.01 06:40:00  myRandom EURUSD,M5: open #2 buy 0.10 EURUSD at 1.0932 sl: 1.0842 tp: 1.1532 ok
2020.05.20 10:26:38.996    2020.04.01 13:20:00  myRandom EURUSD,M5: open #3 buy 0.10 EURUSD at 1.0931 sl: 1.0841 tp: 1.1531 ok
2020.05.20 10:26:39.012    2020.04.01 20:00:00  myRandom EURUSD,M5: open #4 buy 0.10 EURUSD at 1.0952 sl: 1.0862 tp: 1.1552 ok
2020.05.20 10:26:39.012    2020.04.02 09:13:39  Tester: stop loss #4 at 1.0862 (1.0862 / 1.0863)
2020.05.20 10:26:39.012    2020.04.02 09:15:00  myRandom EURUSD,M5: open #5 buy 0.10 EURUSD at 1.0857 sl: 1.0767 tp: 1.1457 ok
2020.05.20 10:26:39.012    2020.04.02 09:55:03  Tester: stop loss #2 at 1.0842 (1.0841 / 1.0842)
2020.05.20 10:26:39.012    2020.04.02 09:55:03  Tester: stop loss #3 at 1.0841 (1.0841 / 1.0842)
2020.05.20 10:26:39.028    2020.04.02 15:55:00  myRandom EURUSD,M5: open #6 buy 0.10 EURUSD at 1.0856 sl: 1.0766 tp: 1.1456 ok
2020.05.20 10:26:39.028    2020.04.02 22:35:00  myRandom EURUSD,M5: open #7 buy 0.10 EURUSD at 1.0854 sl: 1.0764 tp: 1.1454 ok
2020.05.20 10:26:39.266    2020.04.23 06:02:05  Tester: stop loss #5 at 1.0767 (1.0767 / 1.0768)
2020.05.20 10:26:39.266    2020.04.23 06:05:00  myRandom EURUSD,M5: open #8 buy 0.10 EURUSD at 1.0773 sl: 1.0683 tp: 1.1373 ok
2020.05.20 10:26:39.266    2020.04.23 06:35:22  Tester: stop loss #6 at 1.0766 (1.0766 / 1.0767)
2020.05.20 10:26:39.266    2020.04.23 06:35:42  Tester: stop loss #7 at 1.0764 (1.0764 / 1.0765)
2020.05.20 10:26:39.266    2020.04.23 12:45:00  myRandom EURUSD,M5: open #9 buy 0.10 EURUSD at 1.0817 sl: 1.0727 tp: 1.1417 ok
2020.05.20 10:26:39.266    2020.04.23 19:25:00  myRandom EURUSD,M5: open #10 buy 0.10 EURUSD at 1.0780 sl: 1.0690 tp: 1.1380 ok
2020.05.20 10:26:39.281    2020.04.23 23:59:54  Tester: order #10 is closed
2020.05.20 10:26:39.281    2020.04.23 23:59:54  Tester: order #9 is closed
2020.05.20 10:26:39.281    2020.04.23 23:59:54  Tester: order #8 is closed
2020.05.20 10:26:39.281    2020.04.23 23:59:54  Tester: order #1 is closed
2020.05.20 10:26:39.281    EURUSD,M5: 815269 tick events (4855 bars, 816269 bar states) processed in 0:00:00.281 (total time 0:00:04.375)