Thursday, May 19, 2011

the value of your indicator

Guide to development
eSignal Indicators
the value of your indicator

Place the cursor window Title:

setCursorLabelName ("Indicator Value 1");

You will also need to define the label "restore" the value of your indicator. If your indicator is returned more than one value, you will need to add more setCursorLabelName said your preMain (). For each indicator value your returns, you will need to add a definition of setCursorLabelName statement ("0" for the first, "1" for second and so on. An example is below ..

setCursorLabelName ("Value1", 0);
setCursorLabelName ("Value2", 1);

The two statements above define "cursor window labels' for two values ​​that are returned by our EFS file. So, when our EFS indicator returns to the values, the first value will be displayed in Value1, and the second in Value2. If our indicator only returns one value, then the second line (or any other label template) are ignored.

No comments:

Post a Comment

Powered by Blogger.