Automated Trading System

thread: Automated Trading System

  1. #1
    Junior Member annacucanya's Avatar
    22

    Automated Trading System

    It is my hope that this is becoming a favorite subforum. I supose it's popular(profitable) to have automated trading platform, especially for men and women who have no time to be all day looking in monitor, and awaiting market movement. I'm using GFT trading platform, and I'm interested using Parabolic SAR indior for automated trading platform, but I don't now how to create Parabolic SAR indior into automated egy.

    For those who know how to do so, I'll be very grateful if somebody can write me this egy.

    This below is only Parabolic SAR indior(GFT trading platform):

    indior Parabolic_SAR;
    enter af_inc = 0.02, af_max = 0.20;
    draw line(Parabolic, Points);
    vars I(number), islong(bool), af(number), extreme(number), sar(number);
    begin
    if back(close) gt;= entrance (close) then begin
    islong:= true;
    af:= af_max;
    extreme:= large [front(close)];
    sar:= reduced [front(close)];
    line[front(close)]:= sar;
    for I:= front(close) 1 to back(close) do begin
    sar:= sar af * (extreme - sar);
    if islong afterward
    if low[I] lt; sar then begin
    islong:= false;
    af:= af_inc;
    sar:= extreme;
    extreme:= low[I];
    end else begin
    if extreme lt; large [I] then begin
    extreme:= large [I];
    af:= af af_inc;
    if af gt; af_max afterward
    af:= af_max;
    end;
    finish
    else if not islong
    if high[I] gt; sar then begin
    islong:= true;
    af:= af_inc;
    sar:= extreme;
    extreme:= large [I];
    end else begin
    if extreme gt; low[I] then begin
    extreme:= low[I];
    af:= af af_inc;
    if af gt; af_max afterward
    af:= af_max;
    end;
    end;
    line[I]:= sar;
    end;
    ending;
    end.

  2. #2
    Your EA can call the indior.

    The control is iSAR.

    Attached is a EA I wrote to attach a parabolic monitoring stop to any busy order using the ticket number.

    I just updated the code and have not tested it, but it should be OK and may provide you ideas.
    https://www.cliqforex.com/attachment...291095550004.4

  3. #3
    Hello Palcom,

    Thank you for posting your egy.
    You may want to switch to MetaTrader4, I think it to be the best way to automated your egy. If you have to get this egy automated for MT4 https://www.cliqforex.com/trading-sy...ading-sma.html

    Take care.

  •