Bearish Engulfing Backtest    This is a bearish candlestick reversal pattern formed by two candlesticks. 
    Following an uptrend, the first candlestick is a up candlestick which is 
    followed by a down candlestick which has a long real body that engulfs or 
    contains  the real body of the prior bar. The Engulfing pattern is the reverse 
    of the Harami pattern. 
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Backtest
(H-L)/C Histogram Backtest  This histogram displays (high-low)/close
  Can be applied to any time frame.
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
CMO & WMA Backtest ver 2.0    This indicator plots Chandre Momentum Oscillator and its WMA on the 
    same chart. This indicator plots the absolute value of CMO.
    The CMO is closely related to, yet unique from, other momentum oriented 
    indicators such as Relative Strength Index, Stochastic, Rate-of-Change, 
    etc. It is most closely related to Welles Wilder?s RSI, yet it differs 
    in several ways:
    - It uses data for both up days and down days in the numerator, thereby 
        directly measuring momentum;
    - The calculations are applied on unsmoothed data. Therefore, short-term 
        extreme movements in price are not hidden. Once calculated, smoothing 
        can be applied to the CMO, if desired;
    - The scale is bounded between +100 and -100, thereby allowing you to clearly 
        see changes in net momentum using the 0 level. The bounded scale also allows 
        you to conveniently compare values across different securities.
Trend Trader Bands Backtest This is plots the indicator developed by Andrew Abraham 
 in the Trading the Trend article of TASC September 1998  
 It was modified, result values wass averages.
 And draw two bands above and below TT line.
Ichimoku Backtest  Ichimoku Strategy
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Ergotic MACD Strategy [forked from HPotter]Ergotic MACD Strategy forked from HPotter
In addition to this fine script you will find some additional features:
- Backtester
- Alerts
- Filters: RSI, MFI, Price trend
- Trailing Stop Loss
- Other minor adjustments
Absolute Price Oscillator (APO) Backtest 2.0 The Absolute Price Oscillator displays the difference between two exponential 
 moving averages of a security's price and is expressed as an absolute value.
 How this indicator works
    APO crossing above zero is considered bullish, while crossing below zero is bearish.
    A positive indicator value indicates an upward movement, while negative readings 
      signal a downward trend.
    Divergences form when a new high or low in price is not confirmed by the Absolute Price 
      Oscillator (APO). A bullish divergence forms when price make a lower low, but the APO 
      forms a higher low. This indicates less downward momentum that could foreshadow a bullish 
      reversal. A bearish divergence forms when price makes a higher high, but the APO forms a 
      lower high. This shows less upward momentum that could foreshadow a bearish reversal.
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Bandpass Filter Strategy ver 2.0 The related article is copyrighted material from
 Stocks & Commodities Mar 2010
 You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Strategy Backtester TemplateA template for building a strategy tester:
- date range selector
- stop loss
- take profit
- long and short strategy type selector
Keltner Channel Backtest The Keltner Channel, a classic indicator 
 of technical analysis developed by Chester Keltner in 1960. 
 The indicator is a bit like Bollinger Bands and Envelopes.
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Moving Average Convergence/Divergence MaCD BackestingMade this to backtest simple macd trading strategy, had to set it to open long and short positions because i'm not sure how you get it to calculate otherwise.
Volatility Backtest The Volatility function measures the market volatility by plotting a 
 smoothed average of the True Range. It returns an average of the TrueRange 
 over a specific number of bars, giving higher weight to the TrueRange of 
 the most recent bar.
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Smart Money Index (SMI) Backtest Attention:
 If you would to use this indicator on the ES, you should have intraday data 60min in your account.
 Smart money index (SMI) or smart money flow index is a technical analysis indicator demonstrating investors sentiment. 
 The index was invented and popularized by money manager Don Hays.  The indicator is based on intra-day price patterns.
 The main idea is that the majority of traders (emotional, news-driven) overreact at the beginning of the trading day 
 because of the overnight news and economic data. There is also a lot of buying on market orders and short covering at the opening. 
 Smart, experienced investors start trading closer to the end of the day having the opportunity to evaluate market performance.
 Therefore, the basic strategy is to bet against the morning price trend and bet with the evening price trend. The SMI may be calculated 
 for many markets and market indices (S&P 500, DJIA, etc.)
 The SMI sends no clear signal whether the market is bullish or bearish. There are also no fixed absolute or relative readings signaling 
 about the trend. Traders need to look at the SMI dynamics relative to that of the market. If, for example, SMI rises sharply when the 
 market falls, this fact would mean that smart money is buying, and the market is to revert to an uptrend soon. The opposite situation 
 is also true. A rapidly falling SMI during a bullish market means that smart money is selling and that market is to revert to a downtrend 
 soon. The SMI is, therefore, a trend-based indicator.
 Some analysts use the smart money index to claim that precious metals such as gold will continually maintain value in the future.
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
High and Low Levels Backtest This script shows a high and low period value.
    Width - width of lines
    SelectPeriod - Day or Week or Month and etc.
    LookBack - Shift levels 0 - current period, 1 - previous and etc.
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Floor Pivot Points Backtest The name ‘Floor-Trader Pivot,’ came from the fact that Pivot points can 
 be calculated quickly, on the fly using price data from the previous day 
 as an input. Although time-frames of less than a day can be used, Pivots are 
 commonly plotted on the Daily Chart; using price data from the previous day’s 
 trading activity. 
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
[STRATEGY]Kagi Emulator OCC & SLTP V3It is a Kagi candle emulator without resolution multiplier.
Also with take profit and stop loss.
Modify the value of "reversal" according to current symbol.
It's the backtest, coming soon, same script but with no-repainting alerts
Enjoy!
CMOaDisparity Index Backtest The related article is copyrighted materialfrom Stocks & Commodities Dec 2009
 My strategy modification.
 You can change long to short in the Input Settings
 WARNING:
 - For purpose educate only
 - This script to change bars colors.
Dual Timeframe SMA Ribbon Crossover Backtest// Backtesting Dual SMA Ribbon Crossover Strategy
// see f.bpcdn.co
// including time limiting 
Turned this study into a backtest.
Perfomance index Backtest The Performance indicator or a more familiar term, KPI (key performance indicator), 
 is an industry term that measures the performance. Generally used by organizations, 
 they determine whether the company is successful or not, and the degree of success. 
 It is used on a business’ different levels, to quantify the progress or regress of a 
 department, of an employee or even of a certain program or activity. For a manager 
 it’s extremely important to determine which KPIs are relevant for his activity, and 
 what is important almost always depends on which department he wants to measure the 
 performance for.  So the indicators set for the financial team will be different than 
 the ones for the marketing department and so on.
 Similar to the KPIs companies use to measure their performance on a monthly, quarterly 
 and yearly basis, the stock market makes use of a performance indicator as well, although 
 on the market, the performance index is calculated on a daily basis. The stock market 
 performance indicates the direction of the stock market as a whole, or of a specific stock 
 and gives traders an overall impression over the future security prices, helping them decide 
 the best move. A change in the indicator gives information about future trends a stock could 
 adopt, information about a sector or even on the whole economy. The financial sector is the 
 most relevant department of the economy and the indicators provide information on its overall 
 health, so when a stock price moves upwards, the indicators are a signal of good news. On the 
 other hand, if the price of a particular stock decreases, that is because bad news about its 
 performance are out and they generate negative signals to the market, causing the price to go 
 downwards. One could state that the movement of the security prices and consequently, the movement 
 of the indicators are an overall evaluation of a country’s economic trend.
 You can change long to short in the Input Settings
 WARNING:
  - For purpose educate only
  - This script to change bars colors.
Chande Forecast Oscillator Backtest The Chande Forecast Oscillator developed by Tushar Chande The Forecast 
 Oscillator plots the percentage difference between the closing price and 
 the n-period linear regression forecasted price. The oscillator is above 
 zero when the forecast price is greater than the closing price and less 
 than zero if it is below.
 You can change long to short in the Input Settings
 WARNING:
  - For purpose educate only
  - This script to change bars colors.
Fractal Chaos Bands Backtest The FCB indicator looks back in time depending on the number of time periods trader selected 
 to plot the indicator. The upper fractal line is made by plotting stock price highs and the 
 lower fractal line is made by plotting stock price lows. Essentially, the Fractal Chaos Bands 
 show an overall panorama of the price movement, as they filter out the insignificant fluctuations 
 of the stock price.
 You can change long to short in the Input Settings
 WARNING:
  - For purpose educate only
  - This script to change bars colors.






















