Announcement

Collapse
No announcement yet.

EFS Help please

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

  • EFS Help please

    Hi folks
    I have recently upgraded my esignal version from 7,5(build628) to 7,6(build636A) and the following formula which was working just fine before the upgrade, now for some or other reason just will not work. Could you please assist me to get it working again as I find it very helpful.
    The formula is as follows:

    function preMain(){
    setPriceStudy(true);
    setStudyTitle("PPoint");
    setCursorLabelName("PP");
    setDefaultBarThickness(1,0);
    setDefaultBarStyle(PS_SOLID);
    }
    function main(){
    var vClose = getValueAbsolute("Close",-1,",1");
    var vHigha = getValueAbsolute("High",",30");//30min
    var vLowa = getValueAbsolute("Low",",30");
    var vOpena = getValueAbsolute("Open",",30");
    var vHighb = getValueAbsolute("High",-1,",30");//Prev.30min
    var vLowb = getValueAbsolute("Low",-1,",30");
    var vCloseb = getValueAbsolute("Close",-1,",30");
    var vMida = (vHigha+vLowa+vClose)/3;
    var vMidb = (Math.max(vHigha,vHighb)+Math.min(vLowa,vLowb))/2;
    //30min Average
    drawLineRelative(-1,vMida,1,vMida,PS_SOLID,3,close(0)>vMida?Color.gr een:Color.red,"Line1");
    //Prev 30min Average
    drawLineRelative(-12,vMidb,-8,vMidb,PS_SOLID,3,close(0)>vMidb?Color.green:Colo r.red,"Line2");
    //30min High
    drawLineRelative(-4,vHigha,1,vHigha,PS_SOLID,3,close(0)>=vHigha?Colo r.blue:Color.black,"Line3");
    //30min Low
    drawLineRelative(-4,vLowa,1,vLowa,PS_SOLID,3,close(0)<=vLowa?Color.b lue:Color.black,"Line4");
    //30min Open
    drawLineRelative(-4,vOpena,-2,vOpena,PS_SOLID,2,Color.blue,"Line5");
    //Prev.30min High
    drawLineRelative(-10,vHighb,-5,vHighb,PS_SOLID,3,close(0)>=vHighb?Color.blue:Co lor.black,"Line6");
    //Prev.30min Low
    drawLineRelative(-10,vLowb,-5,vLowb,PS_SOLID,3,close(0)<=vLowb?Color.blue:Colo r.black,"Line7");
    //Prev.30min Close
    drawLineRelative(-7,vCloseb,-5,vCloseb,PS_SOLID,2,Color.blue,"Line8");

    return ;}

    //Would sincerely appreciate your help
    Regards Kevan

  • #2
    Kevan
    Not sure this is what is supposed to display but your efs appears to be working here on build 636a
    BTW that is a very neat shortcut for an if,then,else statement.
    Alex

    Comment


    • #3
      Re EFS

      Hi Alex,
      That is exactly what I want to display on my charts but for some unknown reason I just cannot get it to work and I do not know why. Any suggestions would be appreciated.
      Regards Kevan

      Comment


      • #4
        Problem solved

        Hi Alex, I reloaded the software and voila she is working again.
        Once again I thank you for you assistance.
        Many thanks Kevan

        Comment


        • #5
          EFS ?

          Hi Kevan

          I was curious, what exactly does your EFS do? It looks interesting, I saw it yesterday and looking at it today has my curiosity up.
          Thank for your time.
          Mark

          Comment


          • #6
            Question on indicator

            Hi Mark, I use this indicator to put the current bar plus one bar previous of the high/low/close + pivot points of the 30 minute chart onto a lesser time frame such as a 5 minute chart for quick reference purposes. The colors warn me when certain points have been reached.
            I hope this helps you.
            Regards Kevan
            Last edited by KEVANV; 07-29-2004, 02:27 PM.

            Comment


            • #7
              Hi Kevan

              Thanks so much for getting back to me, it is really great that everyone shares their EFS and knowledge here in an open forum.
              I wish you the best.
              Mark

              Comment

              Working...
              X