Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

Lobo.Trader

Members
  • Content Count

    1
  • Joined

  • Last visited

Personal Information

  • First Name
    Wolfgang
  • Last Name
    Schmitz
  • Country
    Germany

Trading Information

  • Vendor
    No
  1. Based on your code : Inputs: FileName ( "C:\ADE\Data\My_Brain.txt" );// File location Vars: DataMap(ListN.New) ,// Create List of numeric values named "Datamap" Ergebnis (0) ,// Variable for the content || result Counter(0) ;// just to count up Counter = Counter+1 ;// Barcounter one up (for debugg only) if CurrentBar > 1 then begin // all bars in chart but the current if ELC.PathExists(FileName) then begin // in case file is found value1 = ListN.ReadFile(DataMap, FileName);// read file into list "DataMap" Ergebnis = ListN.Get(DataMap,1) ;// pick first data in list and make it Ergebnis Print (Counter, " Gefunden = ",Ergebnis);// print it for debugging only end // else // print ( Counter , "Kein File vorhanden") ;// File not found end ;// value1 = ListN.Clear(DataMap) ;// Clear List and free memory The bug you have is in value3 = ListN.Get(code, 1); The variable "code" is no list but a variable as you declared it => NumericSimple Lobo
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.