Announcement

Collapse
No announcement yet.

MA of CCI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MA of CCI

    (MAofCCI) This is an existing efs. I want to change it to distinct colors for the CCI and it's MA. and would like to optionally turn off the CCI (leaving only the MA of CCI). I don't need these to be user selectable, just hardcoded is fine. I have looked at the efs and can't find the code to control these functions ( a newbie here)
    Thanks for any help
    Regards, Will

  • #2
    Will
    Look in the preMain() section of the efs and you should find two lines similar to the following
    setDefaultBarFgColor(Color.blue, 0);
    setDefaultBarFgColor(Color.red, 1);

    Those are the statements that control the colors of the plots on the chart. The number indicates to which plot the statement refers to (0 being the first element of the return Array, 1 the second, etc)
    For a list of the available "plain language" colors see here
    Alex

    Comment

    Working...
    X