Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Is the ` tdm() trading-day-of-month function broken? #446417
10/14/14 17:14
10/14/14 17:14
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Hi

Getting a compile error when I try to use tdm(0) in run();

Tried a number of the other time/date functions and they all work as advertised. But if I call tdm() on its own or in a comparison or assignment, with or without the optional offset, I get the same compile error:

Code:
@tdm_00886(): syntax error
< printf("\nTDM: %i", tdm(0));
 >.



Is this a bug or am I having a brainfart? I've had a look at functions.h and the prototype is present and correct.

Re: Is the ` tdm() trading-day-of-month function broken? [Re: scotpip] #446437
10/15/14 11:57
10/15/14 11:57
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
False alarm - it works on my other PC so it seems I have some kind of corruption on my install.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1