Skip to content

The aim of this study was develop an expert adviser based on parabolic SAR indicator. However, it is necessary to find a trend tracer to combine with this indicator. It was tested diferent moving averages with different periods as trend tracers. Data of different tests are shown and discussed.

License

Notifications You must be signed in to change notification settings

Andre-Luis-Lopes-da-Silva/Developing-an-expert-adviser-based-on-Parabolic-SAR-indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Developing-an-expert-adviser-based-on-Parabolic-SAR-indicator

The aim of this study is develop an expert adviser based on parabolic SAR indicator. However, it is necessary to find a trend tracer to combine with this indicator. It was tested diferent moving averages with different periods as trend tracers. Data of different tests are shown and discussed.

INTRODUCTION

The parabolic SAR indicator was developed by J. Wells Wilder. This indicator is used by traders to determine trend direction and potential reversals in price. The indicator uses a trailing stop and reverse method called "SAR," or stop and reverse, to identify suitable exit and entry points. Traders also refer to the indicator as to the parabolic stop and reverse or simplely, parabolic SAR.

Table 1. Results of the expert adviser using only the parabolic SAR as a buy signal in ITUB4 during 2018-01-01 until 2023-06-09. Only buys made. Table 1

Table 4. Effects of the type and period of moving average in ITUB4 during 2018-01-01 until 2023-06-09. Only buys made. Moving average was used as trend tracer together parabolic SAR. Table 4

This alteration on code resulted in a small improvement on trades:

bool compra_SAR = velas[1].high > SARValue && mm_Buffer[0]>mm_Buffer[x] && close_atual<Limite;

x corresponding the period of the candle, the distance between the current candle (i.e., mm_Buffer[0]) and previous candle.

See Table 6.

Table 6. Results of the expert adviser in BBAS3 (bank sector) during 2018-01-01 until 2023-06-09 using parabolic SAR and smoothed moving average with 21 periods. Only buys made. Table 6

About

The aim of this study was develop an expert adviser based on parabolic SAR indicator. However, it is necessary to find a trend tracer to combine with this indicator. It was tested diferent moving averages with different periods as trend tracers. Data of different tests are shown and discussed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages