Announcement

Collapse
No announcement yet.

convert tradestation study to efs study

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

  • convert tradestation study to efs study

    I've got a Tradestation study that I need converted to an efs study.

    Could some direct me to someone who could do this for me (for a fee would be just fine).

    Thanks.

    Bruce

    =================

    Price > x Bar Avg (PaintBar)

    Inputs: Price(Close),Length(15);

    IF Price > AverageFC(Price,Length) Then Begin
    PlotPaintBar(High, Low, "P > MovAvg");
    Alert("Price is greater than the Moving Average");
    End
    Else Begin
    {Both NoPlot statements must be included}
    NoPlot(1);
    NoPlot(2);
    End;

    Price < x Bar Avg (PaintBar)

    Inputs: Price(Close), Length(15);

    IF Price < AverageFC(Price,Length) Then Begin
    PlotPaintBar(High, Low, "P < MovAvg");
    Alert("Price is less than the Moving Average");
    End
    Else Begin
    {Both NoPlot statements must be included}
    NoPlot(1);
    NoPlot(2);
    End;

    AverageFC (Read-only Function)

    Inputs: Price(NumericSeries), Length(NumericSimple);
    Variables: Sum(0), Counter(0);

    If CurrentBar = 1 Then Begin
    Sum = 0;
    For counter = 0 To Length - 1 Begin
    Sum = Sum + Price[counter];
    End;
    End
    Else
    Sum = Sum + Price - Price[Length];

    If Length > 0 Then
    AverageFC = Sum / Length
    Else
    AverageFC = 0;

    {Force Series Function}
    If False Then
    value1 = AverageFC[1];

    ============

  • #2
    Hello Bruce,

    You can find a list of EFS Consultants in our EFS Help Center.
    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
      Bruce
      FWIW that code is to paint the price bars if the close is above/below a 15 period simple moving average.
      Alex



      Comment

      Working...
      X