Announcement

Collapse
No announcement yet.

Where are AGET studies documented

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

  • Where are AGET studies documented

    I was wondering if there is better documentation for the AGET studies than what's in the EFS knowledge base.

    I'm trying to code some strategies using the studies and it would be great to know what they return under various conditions. I have some code I got from the file share area that helps on some of the studies, but other ones are not used.

    What some of the methods return is obvious from their chart usage, but things like GetElliotTriggerStudy don't have a corresponding chart study.

    Specifially I would like more information on GetElliotTriggerStudy and what it's methods return. The GetElliotStudy WAVE, W5PROJECTION1, W5PROJECTION2 return values, and the GetPivotsStudy PIVOTS return value.

    Thanks,

    Steve

  • #2
    Steve

    I was wondering if there is better documentation for the AGET studies than what's in the EFS knowledge base.
    As far as I know that is all there is currently available however it is my understanding that eSignal is working on expanding it.

    What some of the methods return is obvious from their chart usage, but things like GetElliotTriggerStudy don't have a corresponding chart study.
    Actually the Elliott Trigger is a chart study available under Chart Options-> AdvancedGET Studies.
    You can see an example in the following screenshot in which I am also plotting the enclosed script that uses the GetElliottTriggerStudy() function.
    Note that there is an issue with this function at this time. It is supposed to take one parameter to set the Term but this is not implemented. As far as I know eSignal's developers are aware of this and a fix should be implemented in one of the next releases.
    Alex



    PHP Code:
    function preMain(){
        
    setStudyTitle("Elliott Trigger");
        
    setCursorLabelName("Trigger");
    }

    var 
    TriggerStudy null;

    function 
    main(){

        if(
    TriggerStudy==nullTriggerStudy = new GetElliottTriggerStudy();
        
    addBand(0,PS_SOLID,1,Color.black,"0");
        
        var 
    nTriggerValue TriggerStudy.getValue(GetElliottTriggerStudy.TRIG);
        if(
    nTriggerValue==null) return;

        return 
    nTriggerValue;

    Comment


    • #3
      Steve

      Specifially I would like more information on GetElliotTriggerStudy and what it's methods return. The GetElliotStudy WAVE, W5PROJECTION1, W5PROJECTION2 return values, and the GetPivotsStudy PIVOTS return value.
      For the GetElliottTriggerStudy see my prior message. For the other functions here is the information I have together with some examples.

      - The GetElliotStudy.WAVE method returns the following [on the bar on which the wave is identified)
      1, 2, 3, 4 and 5 for up waves 1 through 5 and corresponding negative values for down waves 1 through 5
      7, 8, 9 for up waves A, B and C and corresponding negative values for down waves A, B and C
      Here is a code example and resulting chart
      PHP Code:
      function preMain() {
          
      setPriceStudy(true);
          
      setStudyTitle("wave ColorBgBar");
          
      setShowCursorLabel(false);
      }
       
      var 
      ElliottWave = new GetElliottStudy(3000505350);
       
      function 
      main() {
       
          var 
      nWave ElliottWave .getValue(GetElliottStudy.WAVE);
          
          
      debugPrintln(getCurrentBarIndex()+"  "+nWave);
          
          if(
      nWave==1setBarBgColor(Color.RGB(221,254,204));
          if(
      nWave==2setBarBgColor(Color.RGB(105,254,33));
          if(
      nWave==3setBarBgColor(Color.RGB(47,221,20));
          if(
      nWave==4setBarBgColor(Color.RGB(49,148,0));
          if(
      nWave==5setBarBgColor(Color.RGB(27,85,0));
          
          if(
      nWave==-1setBarBgColor(Color.RGB(255,212,212));
          if(
      nWave==-2setBarBgColor(Color.RGB(255,161,161));
          if(
      nWave==-3setBarBgColor(Color.RGB(255,100,100));
          if(
      nWave==-4setBarBgColor(Color.RGB(255,10,10));
          if(
      nWave==-5setBarBgColor(Color.RGB(191,0,0));
          
          if(
      nWave==7setBarBgColor(Color.RGB(195,195,255));
          if(
      nWave==8setBarBgColor(Color.RGB(63,63,255));
          if(
      nWave==9setBarBgColor(Color.RGB(0,0,178));
          
          if(
      nWave==-7setBarBgColor(Color.RGB(255,229,89));
          if(
      nWave==-8setBarBgColor(Color.RGB(242,204,0));
          if(
      nWave==-9setBarBgColor(Color.RGB(182,154,0));
          
          return;



      In any script that makes use of the GetElliottStudy() you will need to take into consideration that the wave recognition is dynamic which means that the waves could be renumbered in real time as the market evolves.

      - The GetElliotStudy W5PROJECTION1, W5PROJECTION2 return the values of the two wave 5 projections. The wave projections are marked on the chart with a number enclosed by dashes eg -5- or -4-
      Here is a code example and the resulting chart

      PHP Code:
      function preMain() {
          
      setPriceStudy(true);
          
      setStudyTitle("wave 5 Projections");
          
      setShowCursorLabel(false);
      }
       
      var 
      ElliottWave = new GetElliottStudy(3000505350);
       
      function 
      main() {
       
          var 
      nWaveProj5_1 ElliottWave.getValue(GetElliottStudy.W5PROJECTION1);
          var 
      nWaveProj5_2 ElliottWave.getValue(GetElliottStudy.W5PROJECTION2);
          
          if(
      nWaveProj5_1==null||nWaveProj5_2==null) return;
          
          
      drawTextRelative(3nWaveProj5_1formatPriceNumber(nWaveProj5_1), Color.bluenull
                          
      Text.VCENTER|Text.BOLD"Arial"11"Proj1");
          
      drawTextRelative(3nWaveProj5_2formatPriceNumber(nWaveProj5_2), Color.bluenull
                          
      Text.VCENTER|Text.BOLD"Arial"11"Proj2");
          
          return;



      Hope this helps in the mean time
      Alex

      Comment


      • #4
        Steve

        Specifially I would like more information on GetElliotTriggerStudy and what it's methods return. The GetElliotStudy WAVE, W5PROJECTION1, W5PROJECTION2 return values, and the GetPivotsStudy PIVOTS return value.
        Lastly here is some information and example on the GET Pivots study
        The method returns the values of 1 through 4 for upper Primary, Major, Intermediate and Minor Pivots and negative values 1 through 4 for the corresponding lower Pivots

        PHP Code:
        function preMain() {
            
        setPriceStudy(true);
            
        setStudyTitle("Pivots")
            
        setShowCursorLabel(false);
            
        setDefaultFont("Arial",11,Color.blue,Text.CENTER|Text.BOLD)
        }

        var 
        Pivots = new GetPivotsStudy();

        function 
        main() {

            var 
        nPivots Pivots.getValue(GetPivotsStudy.PIVOTS);
            if(
        nPivots==null) return;
            
            if(
        nPivots==1drawText("P"AboveBar1Color.bluenull"PrimaryU"+getCurrentBarCount());
            if(
        nPivots==2drawText("J"AboveBar1Color.bluenull"MajorU"+getCurrentBarCount());
            if(
        nPivots==3drawText("I"AboveBar1Color.bluenull"InterU"+getCurrentBarCount());
            if(
        nPivots==4drawText("M"AboveBar1Color.bluenull"MinorU"+getCurrentBarCount());

            if(
        nPivots==-1drawText("P"BelowBar1Color.rednull"PrimaryD"+getCurrentBarCount());
            if(
        nPivots==-2drawText("J"BelowBar1Color.rednull"MajorD"+getCurrentBarCount());
            if(
        nPivots==-3drawText("I"BelowBar1Color.rednull"InterD"+getCurrentBarCount());
            if(
        nPivots==-4drawText("M"BelowBar1Color.rednull"MinorD"+getCurrentBarCount());
            
            return ;



        The above screenshot shows a comparison between the hard coded GET Pivots study (top chart) and the enclosed script
        Hope this helps
        Alex

        Comment


        • #5
          Thanks Alex,

          That information is very helpful and just what I was looking for.

          Steve

          Comment


          • #6
            Steve
            You are most welcome
            Alex

            Comment

            Working...
            X