Jump to content

Help modifying Indo Run please


fabfive

Recommended Posts

Hey

 

I have no MQL4 or programming experience except for HTML :)

 

What I need is quite simple. I need the EA "Indo Run" which always opens 2 orders at the same time to delay them by 16 sec.

So after opening the first order there must be a delay of 16 seconds until the second order is being opened. The same with trades. If it opens 2 trades at the same time there should be a delay between the opening of 16 seconds.

 

Can anyone do this for me please? It should not be much work. Just inserting a few lines of codes. I appreciate any help!

 

Indo Run can be found here in the forum: http://indo-investasi.com/showthread.php/9951-Indo-Run-%28First-post-will-be-updated-with-new-versions-setfiles-etc.%29

 

Version 1.5: http://www.multiupload.com/SMEBG30U5T

Edited by fabfive
Link to comment
Share on other sites

Hey stovedude

 

Thank you for your help. I have inserted the command before the second OrderSend command but it seems like I am doing something wrong. There is no delay of 16 sec. Could you please kindly doublecheck for me?

 

}

if (SingleOrderSL == 0) SL = 0;

if (SingleOrderTP == 0) TP = 0;

while (!IsTradeAllowed()) Sleep(100);

Sleep(16000);

int ticket = OrderSend(Symbol(), Mode, MarketLot, price, SlippageOrder, SL, TP, EAName, Magic, 0, ColorSet);

Print("MarketLot: "+MarketLot);

if (ticket == -1)

{

Link to comment
Share on other sites

  • 4 years later...

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