| / | Forum |
|
enoch_global
2008.07.08 20:22
Please, I need help from members to kindly solve some problems in Expert Advisor with an #Include file. A compiled MetaEditor result indicate the following messages: .
Description Compiling 'Exp_8.mq4'... Function "DeleteOrder1" is not referenced and will be removed from exp-file
Description Compiling 'Lite_EXPERT1.mqh'... Function "CloseOrder1" is not referenced and will be removed from exp-file Function "DeleteOrder1" is not referenced and will be removed from exp-file Function "Make_TreilingStop" is not referenced and will be removed from exp-file A) Start function not found and cannot be run. 1) How can I solve this problem so that the START FUNCTION can be found and RUN ? 2) And where in the program can I effect this correction ? 3) Is it in the Exp_8.mq4 Expert Advisor or #Include Lite_EXPERT1.mqh file ?
B) Function "OpenBuyOrder1" is not referenced and will be removed from exp-file 1) How can I reference the "OpenBuyOrder1" function to avoid removal from the exp-file ? 2) And where in the program can I effect this correction 3) Is it in the Exp_8.mq4 Expert Advisor or #Include Lite_EXPERT1.mqh file ? The remaining questions falls under section B and appaers to have similar solution. I do not actually need all the functions.
EXPERT ADVISORS BASED ON POPULAR TRADING SYSTEMS AND ALCHEMY OF TRADING ROBOT OPTIMIZATION CONT.....Article 4 EXPERTS.Zip (“Exp_8.mq4” Expert Advisor) and INCLUDE.Zip (“Lite_EXPERT1.mqh” #Include file). Ref: MQL4, Articles, Page 2, article No 4, Parabolic SAR Expert Advisor.
THE 'Exp_8.mq4' Expert Advisor #property copyright "Copyright © 2008, Nikolay Kositsin" //---- Checking the correctness of Timeframe_Dn variable value double SAR1, SAR2, CLOSE1, CLOSE2; --- continuation similar to uptrend
THE #Include 'Lite_EXPERT1.mqh' file
int LastTime; --- continuation similar to OpenBuyOrder() |
|
Jury Session Record of the 25th of October 2007 At the session, the Jury discussed some Participants' disqualification. Four more Participants dropped out of the competition. |
|
enoch_global
2008.07.08 20:34
“Lite_EXPERT1.mqh” #Include file
|
|
phy
2008.07.08 22:33
1. There is no need to compile the mqh separately 2. Change #include <Lite_EXPERT1.mqh> #include <"Lite_EXPERT1.mqh"> |