paintbar easylanguage tutorial cover

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email
Table of Contents

In this tutorial, we will show you how to create a PaintBar indicator with EasyLanguage.
This type of indicator is very useful, and at the same time, the procedure to create it is very simple.

As you will know, in our examples and tutorials we often use the RSI indicator. So also, in this case, we will create a PaintBar indicator based on the relative strength index.

First of all, in the TradeStation EasyLanguage Editor Choose New – PaintBar



MORE FREE EASYLANGUAGE TUTORIALS HERE

How PaintBar Algorithm works

To better understand how the algorithm that creates the PaintBars works, we will try to make a small change to the code.

We will increase the high by 0.05% and reduce the low by 0.05%.
As you can see the algorithm modifies not only the color but also the body of the candle.

Example of EasyLanguage Code:

High_PB = High + (High*0.05);
Low_PB = Low – (Low*0.05);

Paint Bar Chart TradeStation example 2
Paint Bar Chart TradeStation example 3

Finally, we can use this PaintBar EasyLanguage indicator to draw an area in the chart.

Variables: Top(0), Bottom(0);

Top = BollingerBand(Close, 14, 2);
Bottom = BollingerBand(Close, 14, -2);

If ADX(14) < 25 Then
PlotPaintBar(Top, Bottom, "Area", Blue);

More from Finance Strategy System

What are the Options – Article for beginner

Options Liquidity and Open Interest

How to use the multiplier with options

5 best sites with free options volume scanner

Momentum Indicator Oscillator || 2020 Tutorial

The American Association of Individual Investors (AAII)

Intermarket Analysis || Stock Market – Bond Market – Commodities

Accumulation Distribution Indicator

CONNORS RSI STRATEGY

Bollinger Bands Indicator Volatility Breakout and Squeeze

Pivot Points || Essential Tutorial 2020


ABOUT US

logo homepage finance strategy system

 Financial Strategy System was   created to share what we have   learned in the last 11 years in   the market.

 In this site we talk about trading,   finance, trading platform,   strategies, indicators,   automated trading systems and   programming.

 You can find dozens of free   tutorials and many technical   indicators to download for free.

error: Alert: Content is protected !!