OPEN-SOURCE SCRIPT

Running Average [EXPERIMENT]

已更新
Predicting the future has nothing to do with trading, understanding your indicator and knowing how to use it does.

Probably not the most efficient code, oh well..
Let me know if it's useful :)
發布通知
UPDATE:
- Made it much more user friendly with options in the input tab

New Explanation:

Below you see 2 triangles on the chart. It takes the highest high and lowest low between current price and the triangles, the mid point will be the current moving average value.
快照

The offset (prediction) is calculated by giving it 1 length less than the previous, and an offset 1 more than the previous. This offset should always be true until a new high or new low is made out of the range between the triangles.
averageexperimentMoving AveragespredictionTrend Analysistrending

開源腳本

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

想在圖表上使用此腳本?

免責聲明