Jump to content

Post Your EX4 Here -Part 2


Recommended Posts

  • Replies 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Somehow they want to interfere in each others trades. I thought a lack of magic number was the reason. How can we adjust so the open orders will be managed correctly?

 

here http://www.mediafire.com/?6lhh0v6320q5dg3 i've changed the magic # of. but w/o checking all of the code - just magic #s

another way is to put these on different mt4 instances but u already know that for sure

Link to comment
Share on other sites

http://depositfiles.com/files/1nw8j0t7i

 

Dear Musketeer can you please look into the MA ea and add a magic number please?

 

also an sl feature please!

 

Hi Halcyonn, it is true - it has magic number, and some trailing stop. I've added the initial SL. Bear in mind that is not ECN compatible...

 

 http://www.mediafire.com/?672x5qdrp1285a2 

Link to comment
Share on other sites

Hello Musketeer, could you give me a hint (or program lines), how to bring a "close all open Orders at ....time" in an EA? Is it difficult to do something like that?

 

try with

 in init:

   datetime currentBar = Time[0];


in start:

   // watch for new bar

   if (Time[0] > currentBar)

   {

       currentBar = Time[0];

       // close orders

   }

it will close @new bar coming

Link to comment
Share on other sites

as i remember it has mm already

show me consecutive loss in an year period and may try...

 

my expert now only get for example with 2000$ deposit

0.1 RISK -------> 0.01 lot

0.2 RISK -------> 0.01 lot

0.3 RISK --------> 0.1 LOT !!!

0.1 is too high and 0.01 is too low , i interesting insert "manuals lot" independent of risk

for example 0.03 lot .... can ?

 

thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...