Announcement

Collapse
No announcement yet.

Edit Pirce Scale in Advanced Charts

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

  • Edit Pirce Scale in Advanced Charts

    Is there a way to edit the price scale on an advanced chart to truncate low digit(s). For example, on ER2 the price scale on the right will display an actual price of $567.50 as 56750. It's much easier to use if it's displayed as 5675. If that's not possible in 7.6 , would you please add this request to the 7.7 list.

    Many thanks,
    Bob A.

  • #2
    Hello Bob,

    You could enter a spread symbol to move the decimal over one place to the right. Enter the symbol as "0.1ER2" and you should get the result your looking for.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      Now why didn't I think of that!? Thanks, Jason.

      Regards,
      Bob

      Comment


      • #4
        Hi Jason,

        As per your suggestion, I used 0.1AB #F on all my charts and it made the price scale truncate exactly as I wanted. However, after a while the moving averages/ bollinger bands on each chart detatched themselves from price and headed off in their own direction! I set everything back to AB #F and all's well again but I'd still like the capability to truncate the price scale. You may want to pass this on as a bug re spreads and/or add a request for a different solution to address this in 7.7..

        Regards, Bob

        Comment


        • #5
          I may be experiencing a related problem. I'm trying to set some alerts on spreads, like AB #F - $RUT. I'm trying to set 2 alerts. One for Last is higher than -20 and the other for Last is lower than -200. I've tried moving the decimal, but still can't get the alert to work. Any suggestions?

          Comment


          • #6
            Jason,

            Sort of along the same lines. It would be handy to have an option to set the scale on the Y-axis so that it would remain constant without giving up the automatic tracking. For example, set the scale to a 5 tic grid and keep the last bar centered on the scale. Of course would need a smoothing algorithm to keep it from being jumpy.

            Comment


            • #7
              efremiv
              Try the enclosed efs on the AB #F -$RUT spread
              It will sound one ding when the spread goes below -2.0 or above -0.20
              Alex

              PHP Code:
              var nLastRawTime
              function 
              preMain() {
                  
              setPriceStudy(true);
                  
              setStudyTitle("Alert");
                  
              setShowCursorLabel(false);
              }
              function 
              main() {
              if (
              getValue("rawtime",0) != nLastRawTime) { 
                  if(
              close(-1)<-0.20&&close()>-0.20){
                      
              Alert.playSound("ding.wav");
                      
              nLastRawTime=getValue("rawtime",0);
                  }
                  if(
              close(-1)>-2.00&&close()<-2.00){
                      
              Alert.playSound("ding.wav");
                      
              nLastRawTime=getValue("rawtime",0);
                  }
              }
              return ;

              Comment


              • #8
                That's great. Thanks, Alex!

                Comment

                Working...
                X