Announcement

Collapse
No announcement yet.

Making PRICE/Indicators larger

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

  • Making PRICE/Indicators larger

    Hello folks,

    I use a line chart along with EMA and moving linear regression line. Here is what my setup looks like:



    Basically, if you look at that screenshot, the lines are very very small. I've also included the edit studies to show that I can click the "override" button, however, it changes everything in that EFS to whatever color and whatever thickness i choose.

    Is there anyway I can get in the EFS and change how thick the lines are?

    What about price?

  • #2
    KuJax
    You can do that through the use of Function Parameters (see sample code enclosed below).
    For more information on Function Parameter functions see this article in the EFS KnolwledgeBase
    Alex

    PHP Code:
    function preMain() {

        
    //usual statements here

        
    var fp1 = new FunctionParameter("vColor1"FunctionParameter.COLOR);
        
    fp1.setName("Color1");        
        
    fp1.setDefault(Color.lime);
        
        var 
    fp2 = new FunctionParameter("vColor2"FunctionParameter.COLOR);
        
    fp2.setName("Color2");        
        
    fp2.setDefault(Color.red);
        
        var 
    fp3 = new FunctionParameter("vThick1"FunctionParameter.NUMBER);
        
    fp3.setName("Thickness1");        
        
    fp3.setDefault(2);
        
        var 
    fp4 = new FunctionParameter("vThick2"FunctionParameter.NUMBER);
        
    fp4.setName("Thickness2");        
        
    fp4.setDefault(3);
    }


    function 
    main(vColor1,vColor2,vThick1,vThick2) {//add the variables here

        //use vColor1, vColor2, vThick1, etc variables here
        //for example
        
        
    setBarFgColor(vColor1)
        
    setBarThickness(vThick1)
        
    //or
        
    drawLineRelative(-10,high(-10),0,high(0),PS_SOLID,vThick2,vColor2,"test");

        return 
    high();

    Comment


    • #3
      Okay I figurd out how to make the other stuff thicker, how about price?
      Last edited by KuJaX; 05-10-2005, 08:38 AM.

      Comment


      • #4
        KuJaX
        As far as I can see the efs is already set up to allow changing the thickness and color of the returned plots (ie not the channel but the Linear Regression and the Moving Average). You can modify them in Edit Studies.
        As to the thickness of the price line you can change that using the Increase Bar Width icon in the Advanced Chart Toolbar
        Alex


        Originally posted by KuJaX
        Alex,

        Thanks for the reply, but i'm pretty "new" to EFS type stuff. I use JasonK's EFS that he made for Mel Raimen found here:

        MR_MovLinReg2.efs

        How can I get each of those indicators (other than the channel) and the price to be thicker

        Comment


        • #5
          Thanks for your time. I believe when e-signal first started up I got rid of the toolbar to make the price thicker, i'll look around. thank you very much for your time!

          Comment


          • #6
            KuJaX
            To show the toolbar select View->Advanced Chart Toolbar from the main menu
            Alex

            Comment

            Working...
            X