Announcement

Collapse
No announcement yet.

Plot a 24 hour study on pit session chart

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

  • Plot a 24 hour study on pit session chart

    Hello All,

    I have an ES chart (tick) pit hours .. 9:30-4:15 and would like to plot a 200 period SP 5 minute 24 hour data. Can I do that?

    Thanks

  • #2
    For example ....

    var n200MA5min = offsetSeries( sma(200, sym("SP #F, 5")), 0);
    if ( n200MA5min.getValue(0) != null ) {
    var n200MA5Plot = n200MA5min.getValue(0).toFixed(2);
    drawTextRelative(5,n200MA5Plot,"2oo 5min",Color.blue,null, Text.VCENTER|Text.CENTER|Text.BOLD,"Courier",6, "n200MA5Dot");
    drawLineRelative( -5 , n200MA5Plot, 5, n200MA5Plot, PS_SOLID, 2, Color.blue, "n200MA5");
    }

    this plots 1200 or so on the pit chart and 1193 or so this morning on the 24 hour chart ... 1193 iw what I would like but on a pit chart

    Comment

    Working...
    X