Dynamic Momentum Index (DMI) Backtest This indicator plots Dynamic Momentum Index indicator. The Dynamic Momentum 
 Index (DMI) was developed by Tushar Chande and Stanley Kroll. The indicator 
 is covered in detail in their book The New Technical Trader.
 The DMI is identical to Welles Wilder`s Relative Strength Index except the 
 number of periods is variable rather than fixed. The variability of the time 
 periods used in the DMI is controlled by the recent volatility of prices. 
 The more volatile the prices, the more sensitive the DMI is to price changes. 
 In other words, the DMI will use more time periods during quiet markets, and 
 less during active markets. The maximum time periods the DMI can reach is 30 
 and the minimum is 3. This calculation method is similar to the Variable 
 Moving Average, also developed by Tushar Chande.
 The advantage of using a variable length time period when calculating the RSI 
 is that it overcomes the negative effects of smoothing, which often obscure short-term moves.
 The volatility index used in controlling the time periods in the DMI is based 
 on a calculation using a five period standard deviation and a ten period average 
 of the standard deviation.
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Tushar-chande
Qstick Indicator Backtest A technical indicator developed by Tushar Chande to numerically identify 
 trends in candlestick charting. It is calculated by taking an 'n' period 
 moving average of the difference between the open and closing prices. A 
 Qstick value greater than zero means that the majority of the last 'n' days 
 have been up, indicating that buying pressure has been increasing. 
 Transaction signals come from when the Qstick indicator crosses through the 
 zero line. Crossing above zero is used as the entry signal because it is indicating 
 that buying pressure is increasing, while sell signals come from the indicator 
 crossing down through zero. In addition, an 'n' period moving average of the Qstick 
 values can be drawn to act as a signal line. Transaction signals are then generated 
 when the Qstick value crosses through the trigger line.
 You can change long to short in the Input Settings
 WARNING:
  - For purpose educate only
  - This script to change bars colors.
Qstick IndicatorA technical indicator developed by Tushar Chande to numerically identify 
trends in candlestick charting. It is calculated by taking an 'n' period 
moving average of the difference between the open and closing prices. A 
Qstick value greater than zero means that the majority of the last 'n' days 
have been up, indicating that buying pressure has been increasing. 
Transaction signals come from when the Qstick indicator crosses through the 
zero line. Crossing above zero is used as the entry signal because it is indicating 
that buying pressure is increasing, while sell signals come from the indicator 
crossing down through zero. In addition, an 'n' period moving average of the Qstick 
values can be drawn to act as a signal line. Transaction signals are then generated 
when the Qstick value crosses through the trigger line.


