fikira

Educational: Fill

This script showcases the latest feature of colour fill between lines with gradient

There are 17 ema's, all with adjustable lengths.

In the settings there are 3 options: '1', '2', and '1 & 2':

  • Option '1'
    Here the highest - lowest lines are filled with a gradient colour,
    dependable where the 3rd highest/lowest ema is situated in regard of these 2 lines:

  • Option '2'
    Here the colour fill is applied between every ema and the one next to it.
    The gradient colour is dependable where the ema is situated in regard of the highest - lowest line:

  • Option '1 & 2'
    A combination of both options:

The setting 'switch colours at ema x' regulates the switch between bullish and bearish colours.
When close is above the chosen ema -> bullish colours, when below -> bearish colours.

Examples of other settings of 'switch colours at ema x':

Colour switch when close above/below:

  • ema 14
  • ema 11
  • ema 8
  • ema 5
  • ema 2

The colours can be set below, both for option '1' and '2'

Cheers!

LuxAlgo Dev: www.luxalgo.com
PineCoder: www.pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?