Indicator Buffer

<< <%SKIN-STRTRANS-SYNTOC%> >>

Navigation:  Indicator Workspace >

Indicator Buffer

Every indicator has one or more buffers that define the indicator style. For example, an indicator displaying blue and red arrows has one buffer for blue arrows and a second buffer for red arrows. An indicator displaying a single line over the price chart has just one buffer – the line.

 

To define when the indicator buffer (e.g., an arrow) is displayed, click on Add condition.

Various conditions are explained in the Add condition topic.

 

To define the display style of the indicator (i.e., line or arrow, color, size, etc.), click on the Display style icon.

 

clip0008

 

Follow the video How To Create Indicators to learn how to create a simple indicator that shows up and down arrows based on the Stochastic Oscillator. This is a good starting point for creating your own indicators. You can add as many conditions as you want and you can mix different indicators in the conditions.

 

 

Example: Display arrows (as seen in the video tutorial)

 

clip0013

 

 

Example: Line indicator

 

Let's draw a simple moving average with period 34 that changes color:

 

•to green when the price is above the moving average;

•to red when the price is below the moving average.

 

clip0009

 

This means we need two indicator buffers: one for the green line and one for the red line. Add the following condition to define when to draw the green line:

 

•Candlestick Close is above Moving Average (Period: 34)

 

clip0405

 

Please note that we have used the Candlestick tab instead of Price because Price returns the most recent price while Candlestick returns the historical price. Read more about candlesticks in the Candlestick topic.

 

Next, define the Display style:

 

clip0012

 

Create the opposite condition for the red buffer, and this is what our final indicator looks like:

 

clip0011

 

clip0004Tip: If you choose Arrow Type: Custom, see the list of arrow codes.