Announcement

Collapse
No announcement yet.

DMI alert

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

  • #16
    Hi Alex,

    how would I have to modify the ADX color efs to just show the ADX and not PDI/NDI ?

    Furthermore, all I want it to do is give me a red cursor data input reading if it goes to >=20.

    As always, your help is much appreciated.

    Matt

    Comment


    • #17
      Matt
      The attached revision should do what you asked.
      In Edit Studies you can set the color threshold by changing the value for Level
      FYI I have only commented out parts of the original script should you want to restore it.
      Alex
      Attached Files

      Comment


      • #18
        Great !

        Thanks Alex.
        Could you look at the attached pic. It seems at times it does not change color at 20 exact.

        I did try to get the blue line changed to white and overwrote blue with white wherever I could find it :-). Yet it is still blue ?!?

        Matt
        Attached Files

        Comment


        • #19
          Matt
          The reason why it may appear not to change color exactly at 20 is because the prior point was below 20 and the next point is well above it. The color of the line is defined from the last point forward.
          For a slightly more detailed explanation see this thread.
          To change the default blue to white add the following in preMain
          setDefaultBarFgColor(Color.white,0);
          Hope this helps
          Alex

          Comment


          • #20
            Love it !

            Talk about speedy service.

            Our "forum guardian angel" !

            Take care,

            Matt

            Comment

            Working...
            X