ProTrader Trading Platform Official  Forum


Go Back   ProTrader Trading Platform Official Forum > Bugs

Bugs Reports of any bugs and issues

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-07-2010, 11:03 PM
marekj marekj is offline
ProTrader Silver member
 
Join Date: Feb 2010
Posts: 34
Rep Power: 0
marekj is on a distinguished road
Default EL word 'time'

If my EL strategy is using statement

if time < 1600 then
...;

compilation is fine. If I set the breakpoint and run strategy in PTL Builder, I'm getting an error: "Input string was not in correct format".

Removing word 'time' from strategy makes everything running ok (but with missed functionality I need by using word 'time').

Please let me know your thoughts.

Last edited by marekj : 02-08-2010 at 01:54 PM.
Reply With Quote
  #2  
Old 02-08-2010, 11:55 AM
strel strel is offline
ProTrader Silver member
 
Join Date: Mar 2009
Posts: 17
Rep Power: 0
strel is on a distinguished road
Default

if time < 1300 then
Print(time);,
I got result:
308
309
310
311
312
313
314
315

Last edited by strel : 02-08-2010 at 12:01 PM.
Reply With Quote
  #3  
Old 02-08-2010, 03:38 PM
marekj marekj is offline
ProTrader Silver member
 
Join Date: Feb 2010
Posts: 34
Rep Power: 0
marekj is on a distinguished road
Default

I'm using 1 tick chart. in my case, it doesn't work.
Reply With Quote
  #4  
Old 02-09-2010, 11:48 AM
Support Support is offline
ProTrader Gold member
 
Join Date: Mar 2009
Posts: 196
Rep Power: 2
Support is on a distinguished road
Default

Quote:
Originally Posted by marekj View Post
If my EL strategy is using statement

if time < 1600 then
...;

compilation is fine. If I set the breakpoint and run strategy in PTL Builder, I'm getting an error: "Input string was not in correct format".

Removing word 'time' from strategy makes everything running ok (but with missed functionality I need by using word 'time').

Please let me know your thoughts.
We've tested, everything works fine with Zen Fire on ticks for ESH0:CME

Are you using only Zen Fire connection?

Could you decribe us details? It would be great if you contact us through the Skype (support.pfsoft), online support is Available from 8:00 AM till 4:00 PM GMT.

Last edited by Support : 02-09-2010 at 11:52 AM.
Reply With Quote
  #5  
Old 02-12-2010, 01:14 AM
marekj marekj is offline
ProTrader Silver member
 
Join Date: Feb 2010
Posts: 34
Rep Power: 0
marekj is on a distinguished road
Default

My strategy:

[IntrabarOrderGeneration = false]

Variable: todayLow(0);
Variable: todayHigh(0);


if todayHigh = 0 or Close > todayHigh then
begin
todayHigh = Close;
end;

if todayLow = 0 or Close < todayLow then
begin
todayLow = Close;
end;
{
if todayLow > 0 then
Buy next bar todayLow - 30.00 limit;


if todayHigh > 0 then
SellShort next bar todayHigh + 30.00 limit;
}

Print(time);

I'm using only Zen-Fire connection, 1 tick resolution, ESH0:CME, PTL Bulider v2.0.50727. I do run strategy from PTL Builder ('Run' button in toolbar). After I compile and click o 'Run' button, I'm getting (last line) following output:

------ Compiling started: Module: Quant_Test, Time: 6:05:44 PM ------
Compiling Quant_Test...
====== Compiling completed Module: Quant_Test, Time: 6:05:44 PM ======
Input string was not in a correct format.;

If I comment out Print(time); from my strategy, everything works fine.
Reply With Quote
  #6  
Old 02-13-2010, 04:26 AM
marekj marekj is offline
ProTrader Silver member
 
Join Date: Feb 2010
Posts: 34
Rep Power: 0
marekj is on a distinguished road
Default

Can someone answer if issue was duplicated, or only strel will create revenue for PFSoft by buying licenses (everything works for him - developer and nothing works for me - customer)?
Reply With Quote
  #7  
Old 02-15-2010, 08:03 AM
Support Support is offline
ProTrader Gold member
 
Join Date: Mar 2009
Posts: 196
Rep Power: 2
Support is on a distinguished road
Default

We have discovered the problem it is caused by regional settings format in Windows.

Fix will be included in the next release.

Thanks!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Follow pfsoft on Twitter

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.