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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明