Error Message while strategy running

How to create strategies and indicators
Message
Author
Phil_Trade
Posts: 94
Joined: Tue Jan 31, 2012 5:14 am
Contact:

Error Message while strategy running

#1 Postby Phil_Trade » Thu Jun 14, 2012 10:34 am

Hello

when testing my strategy in different period, I receive this error message after a period where trading is ok ?
I have rebuild my ticks idem. What can i do ?

2010.06.17 12:00:00 Reason: No tick data available
2010.06.17 12:01:15 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:01:15 Reason: No tick data available
2010.06.17 12:02:00 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:02:00 Reason: No tick data available
2010.06.17 12:03:00 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:03:00 Reason: No tick data available
2010.06.17 12:04:30 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:04:30 Reason: No tick data available
2010.06.17 12:05:00 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:05:00 Reason: No tick data available
2010.06.17 12:06:00 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:06:00 Reason: No tick data available
2010.06.17 12:07:30 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:07:30 Reason: No tick data available
2010.06.17 12:08:30 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:08:30 Reason: No tick data available
2010.06.17 12:09:00 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
2010.06.17 12:09:00 Reason: No tick data available
2010.06.17 12:10:00 Can not place instant order (, sell, lot: 0.10, price: 0.00, sl: 0.00, tp: 0.00)
my live account - 8 based pairs with optimized parameters : +188%
http://www.myfxbook.com/members/Philipp ... jpg/519044
TradeSlide : http://bit.ly/14R9Nf6

to be informed about Windev/MT4 services : a04486-tradingsignal@yahoo.fr

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Sat Jun 16, 2012 2:04 pm

Hello Philippe,

It seems that you are trying to open an order for "" currency so the currency name is empty, please check your code and make sure that you set valid symbol name.
Check our other product here:
http://www.forexcopier.com

Phil_Trade
Posts: 94
Joined: Tue Jan 31, 2012 5:14 am
Contact:

#3 Postby Phil_Trade » Sat Jun 16, 2012 2:19 pm

FT Support wrote:Hello Philippe,

It seems that you are trying to open an order for "" currency so the currency name is empty, please check your code and make sure that you set valid symbol name.


Strange ! I already have this test PaireDevise[i]<>'' and have to add Bid*Ask>0 to be sure no bid or ask price equal to 0 ?

if (TradeOK = true) and (PaireDevise[i]<>'') and (Bid*Ask>0) then
begin

if SendInstantOrder( PaireDevise[i], op_Sell, LotToTrade , NewSL, NewTP ,Commentaire, MonMagicNumber , OrderHandle) then
my live account - 8 based pairs with optimized parameters : +188%

http://www.myfxbook.com/members/Philipp ... jpg/519044

TradeSlide : http://bit.ly/14R9Nf6



to be informed about Windev/MT4 services : a04486-tradingsignal@yahoo.fr

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#4 Postby FT Support » Mon Jun 18, 2012 8:11 am

Philippe,

Please add "Print(PaireDevise[i]);" log, maybe this will help you to find a problem.
Check our other product here:
http://www.forexcopier.com


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 12 guests