How to run "Closeall" scipt in my indicator ?

 
Hallo,
I want to add my "close all trades" script to my indicator,
can someone explain how to add the codes to my indicator ?

thanks
 
You can't add the "close all trades" script into an indicator, you can only put "close all trades" into an EA.
 

Thank you for your quick reply.

So how to add "closealltrades.mq4" script to an EA ?

can you show me the codes ?


hatur nuhun

 
didatsd: So how to add "closealltrades.mq4" script to an EA ? can you show me the codes ?
  1. Put the function in the EA. Call it when you want to.
  2. learn to code it, or pay (Freelance) someone to code it. We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using SRC) and the nature of your problem.
 
didatsd:

Thank you for your quick reply.

So how to add "closealltrades.mq4" script to an EA ?

can you show me the codes ?


hatur nuhun

Could you attach the closealltrades.mq4 & your EA in this forum? Then I will add the script in your EA.
Reason: