A little code is compiling, but
- All variables are kept grey (usually, pink)
- The study does not appear in the Study List
Code: Select all
//Collect Data for statistic
var:
ResultString (""),
Comma ("'"),
Synch (False),
IsAPivot(False);
If Barstatus = 2 then begin
If synch = true then begin
If Time < (2359) then begin
If SL or SH then begin
ResultString = ResultString + "True" + Comma;
end
else Begin
ResultString = Resultstring + "False" + Comma;
end;
end
If Time = (0000) then begin
ResultString = ResultString + Newline;
FileAppend("C:\temp\filetest",ResultString);
End
else begin
If dayofweek(date) = 0 and time = (0000) then synch = true;
end;
end;
This will then be studied in Excel
Any reason why it show that it compiled successfully, but does not appearing in the study list?
Martin
** SH and SL or internal function and not causing any problem
Martin