View Single Post
  #3 (permalink)  
Old 04-07-2007, 12:34 AM
witchazel witchazel is offline
Junior Member
 
Join Date: May 2006
Posts: 20
witchazel is on a distinguished road
Quote:
Originally Posted by jhernandez
Move the code in your script to an include file in the "experts\include" folder.

You can then include this script in your EA by adding the following line to the top of your EA file:

PHP Code:
#include <MySampleScript.mqh> 
From there you can call whatever function you need from your include file.
Thank you! will this allow it to run autonomously? i have a buy/sell script as well as an exit script i would like to run almost as a "multithread" so my EA doesnt get bogged down.
Reply With Quote