Announcement

Collapse
No announcement yet.

Pivot Line Studies

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

  • Pivot Line Studies

    Pivot Studies
    Can someone out there help me configure the pivot "all" study to just display the pivot lines for today instead of the pivot lines (with their associated ramps) over sefveral days? I want to be able to view several days of data (candles) with the pivot lines applied to just today. Those ramps between days really mess up 60 minute and daily charts.

  • #2
    Hello jmspiecker,

    One option is to modify your formula's return value to use the plot type, PLOTTYPE_FLATLINES. That will still show previous day's pivots, but without the ramps. In preMain(), add the following for each of the pivots.

    PHP Code:
    setPlotType(PLOTTYPE_FLATLINES0);
    setPlotType(PLOTTYPE_FLATLINES1); 
    The ",0" or ",1" is the index number for the pivot value being returned to your chart. So if you have 5 pivots, add three more lines with ,2 ,3 ,4.
    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
      You can also try the PivotConsole script which is located in File Share.

      Link:

      http://share.esignal.com/groupconten...ts&groupid=114

      Chris

      Comment

      Working...
      X