PureBytes Links
Trading Reference Links
|
Fellow forumers..
Please can you help...
This code is reading a file "c:\CCIa.csv" that contains the data.
When ploting this receive code, I get just a straight line across the
center of the screen and the scale increments at this mid-way point
does correspond with the last data value..
Can anyone please take a look at this and let me know what I'm
doing wrong... I am simply trying to overlay a CCI plot from "A" chart
to this "B" chart.
TIA, and will really appricate any help...
Regards
Dave...
<"B" Chart>
Inputs: RecvCCI("c:\CCIa.csv");
Vars: MyInput(0);
if currentbar = 1 then begin
DefineDllFunc: "c:\hashnums32\hashclient32.dll",INT,"openReadCSV",
LPSTR, LPSTR;
DefineDllFunc: "c:\hashnums32\hashclient32.dll",INT,"readNextCSV",
LPSTR;
DefineDllFunc: "c:\hashnums32\hashclient32.dll",FLOAT,"getAt", LPSTR,
LPSTR;
openReadCSV("CCIOut",RecvCCI);
end;
readNextCSV("CCIOut");
MyInput = getAt("CCIOut","CCI");
Plot1(MyInput,"CCI");
|