Matthew Greenslet
 Idol
    Posts: 2077
Joined: 2/27/2006
User Profile |
Q: All of my custom indicators/systems/stops have disappeared. Where did they go?
A:
There are three Main folders. Indicators, Systems, and Stops. While these appear as three separate folders, they are all part of the same project. If any script within any of these folders fails to compile, all scripts within these three folders will fail to compiled. The "Global Project" consists of any OL script within the indicators, systems, or stops folder, color chart rules, OmniScan criteria, or any OmniScript code in a filter block or a trade plan block. When one fails, they all fail.
You can resolve this in two ways. First you can correct the offending script. When you hit the Compile button in the OmniLanguage window you must see Build (Global) Succeeded. Once the Global project compiles all your scripts should now return.
Secondly you can create your own projects within OmniLanguage. To Do this from the OL window (From the main window select Edit | OmniLanguage) click File | New | Project. Give the project some name such as "CompletedScripts". Now you can move any script into this project that is completed and that you will be using.
By creating a new project this keeps everything contained in it separate from the global project. As such when something is not coded correctly (again such as a filter block, OmniScan, OmniScript, or any OmniLanguage script under the Systems, Indicators, or Stops project) and the global project does not compile it will not affect the scripts contained within your own project.
[Edited by Matthew Greenslet on 10/9/2007 11:15 AM]
|