Jump to content

Recommended Posts

  • Replies 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Posted
it is not that difficult

define your variable (e.g. string) string MaginNo = "111";

follow the code

search for the place u see sendorder ( something...);

there is the place u have to add your magic no

 

good, but without managing open orders correctly, there is no much sense do that...

Posted
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

Posted
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

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