OPEN-SOURCE SCRIPT

HOTT and LOTT

已更新
A brand new indicator adaptation via ott from OTT developer Anıl Özekşi.

Optimized Trend Tracker, OTT is an indicator that provides traders to find an existing trend or in another words to ser which side of the current trend we are on. Kıvanç Özbilgiç coded OTT from the matrix program and adapted it to tradingview.

This indicator adaptation works with patch logic. Ott is created with the support of 10 bars Highest High and Lowest Low. The settings that the creator uses are the standard existing settings.

Here is the HighestOTT (HOTT) Line,
In general, what you need to see here is that prices tend to touch prices as they go up.
快照

If the prices are rising, it tries to go below them, if it cannot, at least it tries to move within it.
快照

When the price is flat or falling, it stays above the prices without touching them. This shows that our patch can do its job, which we wanted at the beginning, to protect us from horizontals and falls during purchase.
快照

Here is the LowestOTT (LOTT) Line,
快照
As you can notice, it uses similar construction as a structure. The only difference is that what we just did with Highest High, we are now trying to bring out the opposite effect by doing it with Lowest Low.

Now let's see hott and lott together. The places I want to draw your attention to are that prices are always above LOTT where they are on the up and sideways, and below HOTT when they are on the downtrend.
快照

In this case, you must have understood the working principles of our patches.

If the prices are above the blue line, that is, HOTT, our buying door is opened, and as long as it is below, the buying door will remain closed.
快照

Likewise, if the prices are below the purple line, that is, LOTT, our sales door is opened, and as long as it is above the sales door will remain closed.
快照

Bar colors are also designed accordingly.

There is an Extra Plot Candle option in the settings tab of the indicator. This option is designed so that you can use bar colors efficiently while using normal candles. In order to use this option properly, you need to turn off the candle, border and wick colors in the symbol section of the graphic settings.

Built in Moving Average type defaultly set as VAR but users can choose from 8 different Moving Average types like:

SMA : Simple Moving Average
EMA : Exponential Moving Average
WMA : Weighted Moving Average
TMA : Triangular Moving Average
VAR : Variable Index Dynamic Moving Average a.k.a. VIDYA
WWMA : Welles Wilder's Moving Average
ZLEMA : Zero Lag Exponential Moving Average
TSF : True Strength Force

Best regards to Anıl Özekşi and Kıvanç Özbilgiç.



版本注释
Buy and Sell Alarms are added.
anilozeksiBands and ChannelsMoving AveragesOTTTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明