OPEN-SOURCE SCRIPT

Strategy Gaussian Anomaly Derivative

Concept behind this Strategy :

Considering a normal "buy/sell" situation, an asset would be bought in average at the median price following a Gaussian like concept. A higher or lower average trend would significate that the current perceived value is respectively higher or lower than the current median price, which mean that the buyers are evaluating the price underpriced or overpriced.

This behaviour would be even more relevent depending on its derivative evolution.

Therefore, this Strategy setup is based on this Gaussian like concept anomaly of average close positionning compare to high-low average derivative, such as the derivative of the following ploted basic signal : 1-(high+low)/(2*close).

This Strategy can actually be used like a trend change and continuation strength indicator aswell.

In the Setup Signal part :
  • You can define the filtering of the basis signal "1-(high+low)/(2*close)" on EMA or SMA as you wish.
  • You can define the corresponding period and the threathold as a mutiply of the average 1/3 of all time value of the basis signal.
  • You can define the SMA filtering period of the Derivative signal and the corresponding threathold on the same mutiply of the average 1/3 of all time value of the derivative.


In the Setup Strategy part :
  • You can set up your strategy assesment based on Long and/or Short. You can also define the considered period.


The most successful tuned strategies I did were based on the derivative indicator with periods on the basis signal and the derivative under 30, can be 1 to 3 of te derivative and 7 to 21 for the basis signal. The threathold depends on the asset volatility aswell, 1 is usually the most efficient but 0 to 10 can be relevent depending on the situation I met. You can find an example of tuning for this strategy based on Kering's case hereafter.

I hoping that you will enjoy using this Strategy, don't hesitate to comment, to question, to correct or complete it ! I would be very curious about similar famous approaches that would have already been made.

Thank to you !
averageclosederivativegaussianhighlowMoving AveragesOscillatorsstatisticsstrategytriggeredtuning

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?

Pernyataan Penyangkalan