Announcement

Collapse
No announcement yet.

Data1 And Data2 in EasyLanguage

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

  • Data1 And Data2 in EasyLanguage

    Hello Alex,

    I hope you will help me out in this code

    The code below is for Arms Index(indicator) for TS 2Ki , when I tried to insert this indicator to the chart it give me error.
    " Arms Index(TRIN) is missing data2, pl setup your chart data"

    {************************************************* ******************
    Description : This Indicator plots Arms Index or Trading Index (TRIN)
    Provided By : Omega Research, Inc. (c) Copyright 1999
    ************************************************** ******************}

    Inputs: AdvIssues(Close of Data1), AdvVolume(Volume of Data1), DecIssues(Close of Data1), DecVolume(Volume of Data2), AvgLength(4), OverBought(.7), OverSold(1.25);

    Plot1(ArmsIndex(AdvIssues, AdvVolume, DecIssues, DecVolume), "Arms Index");
    Plot2(Average(Plot1, AvgLength), "AI Avg");
    Plot3(OverBought, "OBought");
    Plot4(OverSold, "OSold");

    {Alert Criteria}
    If Plot1 > Plot3 Then
    Alert("Arms Index is in overbought territory")
    Else
    If Plot1 < Plot3 Then
    Alert("Arms Index is in oversold territory");

    {Expert Commentary}
    #BeginCmtry
    Commentary(ExpertTrin(Plot1, Plot2, Plot3, Plot4));
    #End;
    sukh

  • #2
    Sukh
    While this forum is dedicated to TradeStation it is not intended to provide support for specific TradeStation issues such as this one but only for issues related to data and/or connectivity with eSignal.
    Having said that all you need to do is right click the chart select Insert Symbol, select the required symbol and plot it in Subgraph Two
    Alex

    Comment


    • #3
      Thanks Alex,

      i got it
      sukh

      Comment

      Working...
      X