mentalRock19315

Orders Blocks [TK]

This indicator draw only valid orders blocks on your 1 minute Chart

An order block is created when :
A bullish candle engulf a previous bearish candle
A bearish candle engulf a previous bullish candle

Once the order block is created, a zone is stretched to the actual bar

If the price goes into the order block zone, the zone is reduced accordingly
If the price cross the order block zone, the order block and its zone are deleted

This way, you will have on your screen only the orders blocks nevers crossed

You can choose the color of the bearish and of the bullish order block zone in the settings

NB :
  • Order block older that 5000 bars are deleted
  • This indicator works only in the 1 minute timeframe
發布通知:
V1.2
The script work on every time frame and will draw the orders blocks from the same timeframe
The code is more efficient and with comments
發布通知:
v1.3 : Add max bar back for the time variable to avoid pinescript run time error
發布通知:
Correction : Multiple orders blocks can now be deleted by only one huge price move
發布通知:
You can choose to alway show the order block of the 1D (One day) timeframe, even if your chart is in a inferior timeframe.
Correction of a minor bug.
發布通知:
Modify max_bars_back for the non premium account
發布通知:
V2.0 : You can now force the view of the Order Block from the 1 day and/or 1 hour timeframe if you are in a smaller timeframe
The script draw all the Order Blocks inside the lowest and highest value of the price drawn in the user screen,
and only 1 order block is drawn outside this price range.
The script adapt the number of order blocks to draw if the user change the view.

The way of storing the data is more effective

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?