Jump to content

Indo Run 1.5 - help me to add this code in to indo run ...


Recommended Posts

Posted

Indo run keeps opening new orders, to save the account being blown by Draw Down, I want to limit it, when the Margin is greater than 10% of Account balance, new orders should not be sent, so I created a code but it seems to be not working , indo run disables when I put it .. can you tell me where to put this code. and is this code correct ? Thanks friends. :)

 

if (!(AccountMargin >= (AccountBalance/10) ))

 

{

 

order executing code here

 

}

  • 1 year later...
Posted

if (!(AccountFreeMargin() >= (AccountBalance()/10) ))

 

{// very low free margin

 

order executing code here

 

} else { // good margin}

 

 

 

AccountBalance() and AccountFreeMargin() are functions

  • 4 months later...
Guest FloridaTrader
Posted
Indo run keeps opening new orders, to save the account being blown by Draw Down, I want to limit it, when the Margin is greater than 10% of Account balance, new orders should not be sent, so I created a code but it seems to be not working , indo run disables when I put it .. can you tell me where to put this code. and is this code correct ? Thanks friends. :)

 

if (!(AccountMargin >= (AccountBalance/10) ))

 

{

 

order executing code here

 

}

 

any one ??

 

New guy, you don't need to bump the thread if no one replied to your thread 4 hours later. Read the rules on post inflation count and learn patience. X_X

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