Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Automated Trading System | Forex indicator download- MT4/MT5 resources

author EAcpu | 3 reads | 0 comments |
I hope this will become a popular sub-forum. I think automated trading systems are very popular (and profitable), especially for people who don't have time to look at a monitor all day and wait for market moves. I am using GFT trading platform and I am interested in using Parabolic SAR indicator for automated trading system but I don't know now how to create Parabolic SAR indicator as Automation strategy .

For those who know how to do this, I would be very grateful if someone could write me this strategy.

Below this is just the Parabolic SAR indicator (GFT Trading Platform):

Indicator Parabolic_SAR;
Enter af_inc = 0.02, af_max = 0.20;
drawLine("parabola", points);
vars i(number), islong(Boolean), af(number), extreme(number), sar(number);
start if after(close)>=before(close) then start long:= true;
af := af_max;
extreme:= high[previous(closing)];
sar := low[front(close)];
row[pre(close)] := sar;
for i := front(close) + 1 to back(close) start
sar := sar + af * (extreme - sar);
If long then start if low[i] < sar
long:=false;
af := af_inc;
sar := extreme;
extreme:=low[i];
end or start
If Extreme < high[i] then start
extreme:= high[i];
af := af + af_inc;
if af > af_max then
af := af_max;
ending;
Finish
else {if not long}
If high[i] > sar then start
long:= true;
af := af_inc;
sar := extreme;
extreme:= high[i];
end or start
If Extreme > low[i] then start
extreme:=low[i];
af := af + af_inc;
if af > af_max then
af := af_max;
ending;
ending;
row[i] := sar;
ending;
ending;
The end.

📦 Summary of post attachments (1)

Below are all the files shared in the reply (1).

Verification code Refresh