Gamestudio Links
Zorro Links
Newest Posts
About auto hide invisible entitiesl
by Superku
40 minutes 20 seconds ago
LotAmount and PipCost
by tradingest
Today at 15:17
Bump with detail?
by Superku
Today at 15:16
New Zorro version 1.88
by DdlV
Today at 14:33
CCI and SMA Pullback Strategy
by Materz
Today at 13:34
Position Close not possible
by Paul_der_Zweite
Today at 11:28
by Paul_der_Zweite
Today at 10:43
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
16 registered (AndrewAMD, Jason_Rogers, alibaba, 20BN, 3run, Dalla, MatPed, kvm, 2 invisible), 444 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
egkachai, cepturion, Mon3y, vincitytaymo, just
18058 Registered Users
Topic Options
Rate This Topic
#471663 - 03/13/18 13:41 external data in trade logic
maurice1973 Offline

Registered: 03/13/18
Posts: 1
hi all, am having some problems with utilising external data, hope someone can help out;

i figured out on this forum how to succesfully parse csv data,
but cannot call it succesfully in my script.

my data consists of dates + 1 column containing a value

string Format = "%Y-%m-%d %H:%M:%S,f";
int RecordsEUR1H = dataParse(1,Format,example.csv);

specifically, my questions are: do i call todays column value to incorporate in my logic, for example:
if (todays column value == 100)
enterLong(); do put the column values in an array/series, so i can calculate a moving average?

i know the function dataFind has to be used, but how?

best, Maurice

#471668 - 03/13/18 18:18 Re: external data in trade logic [Re: maurice1973]
jcl Offline

Chief Engineer

Registered: 07/22/00
Posts: 26491
Loc: Frankfurt
Yes, it's dataFind. Look into contract.c: There is the code of dataFromCSV that gets an indicator out of external data.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at)