stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Spider: an auto-trader for spiderforex's VQ system
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=18
Page 7 of 12
Author:  rebeljedi [ Sat Jan 14, 2012 1:30 am ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

I loaded the 3 test Simple Spider EAs on both MetaQuotes and Cowboy IBFX and all are showing the info screens now.

I did the same with GFT demo but there is a specific error (please see attachment) for all 3 test EAs that "Indicator VQ7.ex4 is missing", but I have VQ7.mq4 and VQ7.ex4. I went back to this 1st page of this topic, re-downloaded VQ7.mq4 and compiled again.
But the same error message still appears.
For some reason, it keeps looking for specific "VQ7.ex4".

I tried to create a new "Indicator VQ7.mq4" and compiled it. But the same error message appears.
Author:  rebeljedi [ Sat Jan 14, 2012 1:40 am ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

Hi George,
pls see the expert logs:
Cowboy IBFX

Code: Select all

08:58:00 VQ7 EURUSDm,M1: loaded successfully
08:58:00 Simple Spider (2) EURUSDm,M1: loaded successfully
08:58:00 Simple Spider (2) EURUSDm,M1 inputs: gen="----General inputs----"; Lot=0.01; StopTrading=false; TradeLong=true; TradeShort=true; MagicNumber=325; TradeComment="Spider"; CriminalIsECN=false; MaxSpread=40; te="----Trade exit inputs----"; FirstTradeTakeProfit=90; SubsequentTakeProfit=30; StopLoss=30; vq="----VQ inputs----"; VqTimeFrame=0; VqLength=8; VqMethod=3; VqSmoothing=1; VqFilter=5; mi="====Martingale inputs----"; UseMartingale=true; MartingaleLotMultiplier=2; MaxLotsAllowed=0.32; amc="----Available Margin checks----"; sco="Scoobs"; UseScoobsMarginCheck=false; fk="ForexKiwi"; UseForexKiwi=true; FkMinimumMarginPercent=1500; tt="----Trading hours----"; Trade_Hours="Set Session Trading Hours"; Trade_Hoursi="Use 24 hour, Server time"; Trade_Hours_E="Europe Session 7:00-12:00"; Start_TimeE="7:00"; End_TimeE="12:00"; Trade_Hours_U="US Session 13:00-16:00"; Start_TimeU="13:00"; End_TimeU="17:00"; Trade_Hours_A="Asia Session 23:00-4:00"; Start_TimeA="23:00"; End_TimeA="4:00"; spt="----Specific time inputs----"; StartTime=0; 
08:58:00 VQ7 EURUSDm,M1: initialized
08:58:01 Simple Spider (2) EURUSDm,M1: Found dependencies
08:58:01 Simple Spider (2) EURUSDm,M1: ReadingIndicatorValues
08:58:01 VQ7 EURUSDm,M1: loaded successfully
08:58:01 VQ7 EURUSDm,M1: initialized
08:58:01 Simple Spider (2) EURUSDm,M1: VQ Trend = None
08:58:01 Simple Spider (2) EURUSDm,M1: Starting DisplayUserFeedback()
08:58:01 Simple Spider (2) EURUSDm,M1: Displaying user feedback
08:58:01 Simple Spider (2) EURUSDm,M1: Done For The Day In Use
08:58:01 Simple Spider (2) EURUSDm,M1: DFTD - Beginning Balance: 25000
08:58:01 Simple Spider (2) EURUSDm,M1: Post DoneForTheDay()
08:58:01 Simple Spider (2) EURUSDm,M1: initialized
08:58:07 VQ7 EURUSDm,M1: uninit reason 5
08:58:07 VQ7 EURUSDm,M1: initialized
09:03:02 VQ7 EURUSDm,M1: uninit reason 1
09:03:02 VQ7 EURUSDm,M1: removed
09:07:07 Cowboy IBFX terminal info EURUSDm,H1: loaded successfully
09:07:07 Cowboy IBFX terminal info EURUSDm,H1: initialized
09:07:07 Cowboy IBFX terminal info EURUSDm,H1: loaded successfully
09:07:07 Cowboy IBFX terminal info EURUSDm,H1: initialized
09:07:09 Cowboy IBFX terminal info EURUSDm,H1: deinitialized
09:07:09 Cowboy IBFX terminal info EURUSDm,H1: uninit reason 3
09:07:09 Cowboy IBFX terminal info EURUSDm,M1: initialized
09:07:11 Cowboy IBFX terminal info EURUSDm,H1: deinitialized
09:07:11 Cowboy IBFX terminal info EURUSDm,H1: uninit reason 3
09:07:11 Cowboy IBFX terminal info EURUSDm,M1: initialized
09:07:13 Cowboy IBFX terminal info EURUSDm,M1: deinitialized
09:07:13 Cowboy IBFX terminal info EURUSDm,M1: uninit reason 1
09:07:13 Cowboy IBFX terminal info EURUSDm,M1: removed
09:07:27 Cowboy IBFX terminal info EURUSDm,M1: deinitialized
09:07:27 Cowboy IBFX terminal info EURUSDm,M1: uninit reason 1
09:07:27 Cowboy IBFX terminal info EURUSDm,M1: removed
09:07:32 Simple Spider (1) EURUSDm,M1: loaded successfully
09:07:42 Simple Spider (1) EURUSDm,M1 inputs: gen="----General inputs----"; Lot=0.01; StopTrading=false; TradeLong=true; TradeShort=true; MagicNumber=325; TradeComment="Spider"; CriminalIsECN=false; MaxSpread=40; te="----Trade exit inputs----"; FirstTradeTakeProfit=90; SubsequentTakeProfit=30; StopLoss=30; vq="----VQ inputs----"; VqTimeFrame=0; VqLength=8; VqMethod=3; VqSmoothing=1; VqFilter=5; mi="====Martingale inputs----"; UseMartingale=true; MartingaleLotMultiplier=2; MaxLotsAllowed=0.32; amc="----Available Margin checks----"; sco="Scoobs"; UseScoobsMarginCheck=false; fk="ForexKiwi"; UseForexKiwi=true; FkMinimumMarginPercent=1500; tt="----Trading hours----"; Trade_Hours="Set Session Trading Hours"; Trade_Hoursi="Use 24 hour, Server time"; Trade_Hours_E="Europe Session 7:00-12:00"; Start_TimeE="7:00"; End_TimeE="12:00"; Trade_Hours_U="US Session 13:00-16:00"; Start_TimeU="13:00"; End_TimeU="17:00"; Trade_Hours_A="Asia Session 23:00-4:00"; Start_TimeA="23:00"; End_TimeA="4:00"; spt="----Specific time inputs----"; StartTime=0; 
09:07:42 Simple Spider (1) EURUSDm,M1: Found dependencies
09:07:42 Simple Spider (1) EURUSDm,M1: ReadingIndicatorValues
09:07:42 VQ7 EURUSDm,M1: loaded successfully
09:07:42 VQ7 EURUSDm,M1: initialized
09:07:42 Simple Spider (1) EURUSDm,M1: VQ Trend = None
09:07:42 Simple Spider (1) EURUSDm,M1: initialized
09:07:43 Simple Spider EURUSDm,M1: loaded successfully
09:07:47 Simple Spider EURUSDm,M1 inputs: gen="----General inputs----"; Lot=0.01; StopTrading=false; TradeLong=true; TradeShort=true; MagicNumber=325; TradeComment="Spider"; CriminalIsECN=false; MaxSpread=40; te="----Trade exit inputs----"; FirstTradeTakeProfit=90; SubsequentTakeProfit=30; StopLoss=30; vq="----VQ inputs----"; VqTimeFrame=0; VqLength=8; VqMethod=3; VqSmoothing=1; VqFilter=5; mi="====Martingale inputs----"; UseMartingale=true; MartingaleLotMultiplier=2; MaxLotsAllowed=0.32; amc="----Available Margin checks----"; sco="Scoobs"; UseScoobsMarginCheck=false; fk="ForexKiwi"; UseForexKiwi=true; FkMinimumMarginPercent=1500; tt="----Trading hours----"; Trade_Hours="Set Session Trading Hours"; Trade_Hoursi="Use 24 hour, Server time"; Trade_Hours_E="Europe Session 7:00-12:00"; Start_TimeE="7:00"; End_TimeE="12:00"; Trade_Hours_U="US Session 13:00-16:00"; Start_TimeU="13:00"; End_TimeU="17:00"; Trade_Hours_A="Asia Session 23:00-4:00"; Start_TimeA="23:00"; End_TimeA="4:00"; spt="----Specific time inputs----"; StartTime=0; 
09:07:47 VQ7 EURUSDm,M1: loaded successfully
09:07:47 VQ7 EURUSDm,M1: initialized
09:07:47 Simple Spider EURUSDm,M1: initialized
09:36:19 Simple Spider (2) EURUSDm,M1: deinitialized
09:36:19 Simple Spider (2) EURUSDm,M1: uninit reason 4
09:36:19 VQ7 EURUSDm,M1: uninit reason 1
09:36:19 VQ7 EURUSDm,M1: removed
09:36:19 Simple Spider (2) EURUSDm,M1: removed
09:36:19 Simple Spider (1) EURUSDm,M1: deinitialized
09:36:19 Simple Spider (1) EURUSDm,M1: uninit reason 4
09:36:19 VQ7 EURUSDm,M1: uninit reason 1
09:36:19 VQ7 EURUSDm,M1: removed
09:36:19 Simple Spider (1) EURUSDm,M1: removed
09:36:19 Simple Spider EURUSDm,M1: deinitialized
09:36:19 Simple Spider EURUSDm,M1: uninit reason 4
09:36:19 VQ7 EURUSDm,M1: uninit reason 1
09:36:19 VQ7 EURUSDm,M1: removed
09:36:19 Simple Spider EURUSDm,M1: removed
There is no more "zero divide"!

MetaQuotes

Code: Select all

08:58:00 Simple Spider (2) EURUSD,M1: loaded successfully
08:58:00 Simple Spider (2) EURUSD,M1 inputs: gen="----General inputs----"; Lot=0.01; StopTrading=false; TradeLong=true; TradeShort=true; MagicNumber=325; TradeComment="Spider"; CriminalIsECN=false; MaxSpread=40; te="----Trade exit inputs----"; FirstTradeTakeProfit=90; SubsequentTakeProfit=30; StopLoss=30; vq="----VQ inputs----"; VqTimeFrame=0; VqLength=8; VqMethod=3; VqSmoothing=1; VqFilter=5; mi="====Martingale inputs----"; UseMartingale=true; MartingaleLotMultiplier=2; MaxLotsAllowed=0.32; amc="----Available Margin checks----"; sco="Scoobs"; UseScoobsMarginCheck=false; fk="ForexKiwi"; UseForexKiwi=true; FkMinimumMarginPercent=1500; tt="----Trading hours----"; Trade_Hours="Set Session Trading Hours"; Trade_Hoursi="Use 24 hour, Server time"; Trade_Hours_E="Europe Session 7:00-12:00"; Start_TimeE="7:00"; End_TimeE="12:00"; Trade_Hours_U="US Session 13:00-16:00"; Start_TimeU="13:00"; End_TimeU="17:00"; Trade_Hours_A="Asia Session 23:00-4:00"; Start_TimeA="23:00"; End_TimeA="4:00"; spt="----Specific time inputs----"; StartTime=0; 
08:58:00 Simple Spider (2) EURUSD,M1: Found dependencies
08:58:00 Simple Spider (2) EURUSD,M1: ReadingIndicatorValues
08:58:19 VQ7 EURUSD,M1: loaded successfully
08:58:19 VQ7 EURUSD,M1: initialized
08:58:19 Simple Spider (2) EURUSD,M1: VQ Trend = None
08:58:19 Simple Spider (2) EURUSD,M1: Starting DisplayUserFeedback()
08:58:19 Simple Spider (2) EURUSD,M1: Displaying user feedback
08:58:19 Simple Spider (2) EURUSD,M1: Done For The Day In Use
08:58:19 Simple Spider (2) EURUSD,M1: DFTD - Beginning Balance: 5000
08:58:19 Simple Spider (2) EURUSD,M1: Post DoneForTheDay()
08:58:19 Simple Spider (2) EURUSD,M1: initialized
09:05:56 Simple Spider (1) EURUSD,M1: loaded successfully
09:05:56 Simple Spider (1) EURUSD,M1 inputs: gen="----General inputs----"; Lot=0.01; StopTrading=false; TradeLong=true; TradeShort=true; MagicNumber=325; TradeComment="Spider"; CriminalIsECN=false; MaxSpread=40; te="----Trade exit inputs----"; FirstTradeTakeProfit=90; SubsequentTakeProfit=30; StopLoss=30; vq="----VQ inputs----"; VqTimeFrame=0; VqLength=8; VqMethod=3; VqSmoothing=1; VqFilter=5; mi="====Martingale inputs----"; UseMartingale=true; MartingaleLotMultiplier=2; MaxLotsAllowed=0.32; amc="----Available Margin checks----"; sco="Scoobs"; UseScoobsMarginCheck=false; fk="ForexKiwi"; UseForexKiwi=true; FkMinimumMarginPercent=1500; tt="----Trading hours----"; Trade_Hours="Set Session Trading Hours"; Trade_Hoursi="Use 24 hour, Server time"; Trade_Hours_E="Europe Session 7:00-12:00"; Start_TimeE="7:00"; End_TimeE="12:00"; Trade_Hours_U="US Session 13:00-16:00"; Start_TimeU="13:00"; End_TimeU="17:00"; Trade_Hours_A="Asia Session 23:00-4:00"; Start_TimeA="23:00"; End_TimeA="4:00"; spt="----Specific time inputs----"; StartTime=0; 
09:05:58 Simple Spider (1) EURUSD,M1: Found dependencies
09:05:58 Simple Spider (1) EURUSD,M1: ReadingIndicatorValues
09:05:58 VQ7 EURUSD,M1: loaded successfully
09:05:58 VQ7 EURUSD,M1: initialized
09:05:58 Simple Spider (1) EURUSD,M1: VQ Trend = None
09:05:58 Simple Spider (1) EURUSD,M1: initialized
09:06:19 Simple Spider EURUSD,M1: loaded successfully
09:06:19 Simple Spider EURUSD,M1 inputs: gen="----General inputs----"; Lot=0.01; StopTrading=false; TradeLong=true; TradeShort=true; MagicNumber=325; TradeComment="Spider"; CriminalIsECN=false; MaxSpread=40; te="----Trade exit inputs----"; FirstTradeTakeProfit=90; SubsequentTakeProfit=30; StopLoss=30; vq="----VQ inputs----"; VqTimeFrame=0; VqLength=8; VqMethod=3; VqSmoothing=1; VqFilter=5; mi="====Martingale inputs----"; UseMartingale=true; MartingaleLotMultiplier=2; MaxLotsAllowed=0.32; amc="----Available Margin checks----"; sco="Scoobs"; UseScoobsMarginCheck=false; fk="ForexKiwi"; UseForexKiwi=true; FkMinimumMarginPercent=1500; tt="----Trading hours----"; Trade_Hours="Set Session Trading Hours"; Trade_Hoursi="Use 24 hour, Server time"; Trade_Hours_E="Europe Session 7:00-12:00"; Start_TimeE="7:00"; End_TimeE="12:00"; Trade_Hours_U="US Session 13:00-16:00"; Start_TimeU="13:00"; End_TimeU="17:00"; Trade_Hours_A="Asia Session 23:00-4:00"; Start_TimeA="23:00"; End_TimeA="4:00"; spt="----Specific time inputs----"; StartTime=0; 
09:06:20 VQ7 EURUSD,M1: loaded successfully
09:06:20 VQ7 EURUSD,M1: initialized
09:06:20 Simple Spider EURUSD,M1: initialized
09:36:27 Simple Spider (2) EURUSD,M1: deinitialized
09:36:27 Simple Spider (2) EURUSD,M1: uninit reason 4
09:36:27 VQ7 EURUSD,M1: uninit reason 1
09:36:27 VQ7 EURUSD,M1: removed
09:36:27 Simple Spider (2) EURUSD,M1: removed
09:36:27 Simple Spider (1) EURUSD,M1: deinitialized
09:36:27 Simple Spider (1) EURUSD,M1: uninit reason 4
09:36:27 VQ7 EURUSD,M1: uninit reason 1
09:36:27 VQ7 EURUSD,M1: removed
09:36:27 Simple Spider (1) EURUSD,M1: removed
09:36:27 Simple Spider EURUSD,M1: deinitialized
09:36:27 Simple Spider EURUSD,M1: uninit reason 4
09:36:27 VQ7 EURUSD,M1: uninit reason 1
09:36:27 VQ7 EURUSD,M1: removed
09:36:27 Simple Spider EURUSD,M1: removed
Same! No more "zero divide"!
Author:  gaheitman [ Sat Jan 14, 2012 2:10 am ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

rebeljedi wrote:I loaded the 3 test Simple Spider EAs on both MetaQuotes and Cowboy IBFX and all are showing the info screens now.

I did the same with GFT demo but there is a specific error (please see attachment) for all 3 test EAs that "Indicator VQ7.ex4 is missing", but I have VQ7.mq4 and VQ7.ex4. I went back to this 1st page of this topic, re-downloaded VQ7.mq4 and compiled again.
But the same error message still appears.
For some reason, it keeps looking for specific "VQ7.ex4".

I tried to create a new "Indicator VQ7.mq4" and compiled it. But the same error message appears.
The file should be in the normal directory and named vq7.mq4 and vq7.ex4. If you can drag and drop it on the chart, it should be fine.
Author:  rebeljedi [ Sat Jan 14, 2012 2:19 am ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

gaheitman wrote: The file should be in the normal directory and named vq7.mq4 and vq7.ex4. If you can drag and drop it on the chart, it should be fine.
Thanks George, I am able to drag and drop VQ7 on the chart and the indicator window does appear.
I will monitor the GFT demo next week to see if it can take a trade.

It's a mystery why the info screen only appears today when I log in. :roll:
Author:  rebeljedi [ Mon Jan 16, 2012 4:34 pm ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

Hi George,
3 unusual scenarios from 3 different demos for the same Test Simple Spider today:

GFT demo
the Test Simple Spider on GFT demo will not work because it could not find VQ7.ex4.
I wonder if this is because GFT Empty4 is powered by Boston Technologies and the EA is then affected by the bridge?
Anyway you can review this?

Forex.com demo
Whereas for Forex.com demo, the error message differs:
order sell 0.01 EURUSD opening at 0.00000 sl: 0.00000 tp: 0.00000 failed [Trade is disabled]
order sell market 0.01 EURUSD sl: 0.00000 tp: 0.00000
Any idea why it is behaving like that?

Cowboy IBFX demo
Spider is taking trades and I am still waiting for it to confirm DFTD. No wins yet (low liquidity due to US holiday).
Author:  gaheitman [ Mon Jan 16, 2012 5:47 pm ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

rebeljedi wrote:Hi George,
3 unusual scenarios from 3 different demos for the same Test Simple Spider today:

GFT demo
the Test Simple Spider on GFT demo will not work because it could not find VQ7.ex4.
I wonder if this is because GFT Empty4 is powered by Boston Technologies and the EA is then affected by the bridge?
Anyway you can review this?
Can you tell me the full path to the vq7.ex4 file for this installation. Also, how are you launching terminal.exe? Are you using a shortcut you've created, are you browsing to the directory and directly launching terminal.exe?
rebeljedi wrote: Forex.com demo
Whereas for Forex.com demo, the error message differs:
order sell 0.01 EURUSD opening at 0.00000 sl: 0.00000 tp: 0.00000 failed [Trade is disabled]
order sell market 0.01 EURUSD sl: 0.00000 tp: 0.00000
Any idea why it is behaving like that?
No idea. Can you place a manual trade, or do any other EAs place trades? "Trade is disabled" suggest that either the account can't open trades, or something is set in Empty4 to prevent it. Is that error from the experts tab or the journal? Do you have corresponding messages in the other tab?
rebeljedi wrote: Cowboy IBFX demo
Spider is taking trades and I am still waiting for it to confirm DFTD. No wins yet (low liquidity due to US holiday).
Yeah, not an easy day for forward testing.

George
Author:  rebeljedi [ Tue Jan 17, 2012 1:22 am ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

gaheitman wrote: Can you tell me the full path to the vq7.ex4 file for this installation. Also, how are you launching terminal.exe? Are you using a shortcut you've created, are you browsing to the directory and directly launching terminal.exe?
The full path is c:\program files (x86)\GFT Empty4 - No2\experts\indicators.
I am launching the GFT Empty4 from a shortcut from terminal.exe.
I tried replacing the code from:

Code: Select all

bool CheckDependency(string filename,string URL) {
   if (!FileExists("./experts/indicators/"+filename)) {
      if (MessageBox("Indicator "+filename+" not found.  Would you like to return to the forum to download the file?","File Not Found",MB_YESNO|MB_ICONQUESTION) == IDYES)
         ShellExecuteA(0,0,URL,0,0,1);
      return(false);
   }//if (!FileExists("./experts/indicators/"+filename)) 
   return(true);  
to

Code: Select all

bool CheckDependency(string filename,string URL) {
   if (!FileExists("c:/program files (x86)/GFT Empty4 - No2/experts/indicators/"+filename)) {
      if (MessageBox("Indicator "+filename+" not found.  Would you like to return to the forum to download the file?","File Not Found",MB_YESNO|MB_ICONQUESTION) == IDYES)
         ShellExecuteA(0,0,URL,0,0,1);
      return(false);
   }//if (!FileExists("./experts/indicators/"+filename)) 
   return(true);  
And then it started trading.
I can only deduce it is because GFT uses a bridge (BT). Any ideas how to resolve this?
gaheitman wrote: No idea. Can you place a manual trade, or do any other EAs place trades? "Trade is disabled" suggest that either the account can't open trades, or something is set in Empty4 to prevent it. Is that error from the experts tab or the journal? Do you have corresponding messages in the other tab?
Just found out that the EA has to be set on EURUSDFXF chart instead of EURUSD chart.
I am resetting the test on EURUSDFXF.
rebeljedi wrote: Cowboy IBFX demo
Spider is taking trades and I am still waiting for it to confirm DFTD. No wins yet (low liquidity due to US holiday).
gaheitman wrote: Yeah, not an easy day for forward testing.

George
I will get back to you on Cowboy IBFX later.
Author:  rebeljedi [ Tue Jan 17, 2012 1:36 am ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

rebeljedi wrote: Just found out that the EA has to be set on EURUSDFXF chart instead of EURUSD chart.
I am resetting the test on EURUSDFXF.
Now comes the bummer, VQ7's code needs to be modified to accept suffix FXF (EURUSDFXF chart) in Forex.com Empty4.
George, can you advise me how to tweak the code?
Sorry for causing much inconvenience! :oops:
Author:  gaheitman [ Tue Jan 17, 2012 7:34 am ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

rebeljedi wrote:
gaheitman wrote: Can you tell me the full path to the vq7.ex4 file for this installation. Also, how are you launching terminal.exe? Are you using a shortcut you've created, are you browsing to the directory and directly launching terminal.exe?
The full path is c:\program files (x86)\GFT Empty4 - No2\experts\indicators.
I am launching the GFT Empty4 from a shortcut from terminal.exe.
Try this version, it is a little smarter about determining where you are running terminal.exe from. The previous code relied on your current directory being where terminal.exe is, but that doesn't have to be the case.
Author:  gaheitman [ Tue Jan 17, 2012 7:34 am ]
Post subject:  Re: Spider: an auto-trader for spiderforex's VQ system

rebeljedi wrote:
rebeljedi wrote: Just found out that the EA has to be set on EURUSDFXF chart instead of EURUSD chart.
I am resetting the test on EURUSDFXF.
Now comes the bummer, VQ7's code needs to be modified to accept suffix FXF (EURUSDFXF chart) in Forex.com Empty4.
George, can you advise me how to tweak the code?
Sorry for causing much inconvenience! :oops:
What happens when you drop VQ7 on the chart?
All times are UTC Page 7 of 12