Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.


  • Content Count

  • Joined

  • Last visited

Personal Information

  • First Name
  • Last Name
  • City
  • Country
  • Gender
  • Occupation
  • Interests
    Trading, Reading

Trading Information

  • Vendor
  • Favorite Markets
    stocks & futures
  • Trading Years

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello,

    Just a note to thank you for the codes that you have taken the time to publish.  I found a number of them to be very helpful.  If there is anything that I can do for you please let me know.  Using MultiCharts, I have been trading the Emini for more than 10 years.


  2. ATR Ratio (Average True Range Ratio) is a VertexFX Client Side VTL Indicator. It plots the ratio between a long-term ATR and a short-Term ATR. ATR is a measurement of market volatility, when the price trend is strong, ATR values rise and consolidation is marked by low ATR values. ATR ratio shows the present market volatility in relation to long term market volatility. It is calculated by dividing the short term ATR with Long term ATR. ATR Ratio above one indicates the current market volatility is higher. How to Use ATR Ratio Indicator The ATR ratio indicator does not generate trading signals, it is a confirmatory indicator. When a new trend begins, usually the indicator value climbs above one. Identify the direction of the trend from chart with the help of moving averages or trend lines and then initiate trades when the ATR ratio indicator climbs above one. The image shows a short trade setup. After a consolidation, price breaks below the moving average. As you can see in the area highlighted by vertical box, price remains below the MA and ATR ratio climbs above one. This is the ideal time to open a short trade. When the ATR ratio falls below one and stays there, it is clearly telling that the trend has lost momentum. Open positions can be closed when this happens, and wait for the next breakout. Parameters ATR Ratio can be customized through the parameters. Long Term ATR Period and Short Term ATR period are defined by the parameters. Default values are 7 and 49. To change the parameter values, open the script in VTL editor by right clicking on the indicator name in navigator and select edit. The script is now opened in the VTL editor. Parameters are located at the top of the script file. Change the parameter values, save and compile. Apply again to chart for the new parameter values to take effect. ATR_Ratio.zip
  3. Bollinger Bands High Low (BB HL) indicator is a finetuned version of the Standard Bollinger Bands indicator. Bollinger Bands defines and plots an upper band and lower band within which most of the price bars are confined. The calculation of Bollinger bands is based on a short term moving average that determines the trend. The upper and lower bands are two standard deviations away from the base moving average. Standard Bollinger Bands uses the closing price of each candle in its calculation. In this refined Bollinger bands High Low indicator, the upper band is based on the standard deviation of candle high and lower band is based on the standard deviation of candle low, instead of the candle close used in standard Bollinger bands. This makes the indicator more responsive to price moves and extreme levels are more accurate. Trading Strategies 1. Bollinger Band squeeze. This might be the most common trading strategy with Bollinger bands. Bollinger band squeeze happens when the width of the band is the narrowest in recent times. This indicates a sideways trading or lack of volatility. Finally a volatility breakout will come and price will move in the breakout direction. This volatility breakout is identified by the expansion in band width. 2. Reversals at Bollinger Bands. Look for candlestick reversal patterns like engulfing bars and pin bars formed at the upper or lower band. In the chart below, a bearish pin bar is formed at the upper band. Trade bearish signals forming at upper band and bullish signals forming at lower band. The Bollinger Bands High Low indicator can be customized through the parameters. You can change the Bollinger Band calculation period and Standard Deviation. To edit parameter values, open the VTL script in VTL Editor by right clicking on the indicator name in Navigator and select Edit. Parameters are located at the top of the script file. Edit them save, compile and attach to chart again for the new parameter values to take effect BB_HL.zip
  4. Inside Bar Outside Bar is VTL Client Side indicator to identify the Inside Bar and Outside Bar candle patterns. Inside Bar is a price bar with its high less than previous bar’s high and low greater than previous bar’s low. They are marked by the red arrows in chart. Outside Bar is a price bar with its high greater than previous bar’s high and low less than previous bar’s low. They are marked by the blue arrows in chart. Inside Bar Trading Strategy An Inside Bar means a contraction in price range or volatility. It is a pause in price movement and does not show any strength in price direction. This will lead to a breakout from this trading range. Identify the trend direction and place a stop buy order few pips above the high of the inside bar if the trend is up. In down trend place a stop sell order few pips below the low of the inside bar. Stoploss is placed few pips beyond the opposite end of the inside bar. Outside Bar Trading Strategy An Outside Bar means a short term expansion in price range or volatility. It shows strength in both directions. Look for outside bar at a resistance or support level. When outside bar is formed at a resistance level, sell breakdown of the low of the outside bar. When outside bar is formed at a support level, buy breakout of the high of the outside bar. Stoploss is placed few pips beyond the opposite end of the inside bar. insideBar_outsideBar.zip
  5. Hello, Third Generation Moving Average is a Client Side VTL indicator. It is an advanced version of the standard moving average (MA), which implements a rather simple lag-reducing procedure based on the longer MA period. The method was first described by Dr. Mafred Durschner. Moving averages are supposed to smooth data and to remove noise and useless information. Multiple moving average variants are used widely, for example Simple Moving Average (SMA) or Exponentially Moving Average (EMA). One challenge is that moving averages introduce a lag, i.e. the smoothed curve follows the trend usually later. 3rd generation MA reduces the lag and follows price trends closely. As you see in the image, the 3rd Generation MA (red line) offers slightly less lag than the conventional EMA (green line) and reacts to the price changes faster. Unfortunately, it is still prone to lag and may produce false signals. You can use the 3rd Generation Moving Average indicator the same as the standard moving average, to detect the current trend direction. It can be used to generate trading signals also, price crossing the 3rd Generation MA can be used as a buy signal and vice versa for sell signals. It is better to use this with other confirmatory signals. 3rdGenMA.txt
  6. Outside Bar is a Client Side VTL Indicator to mark outside bars on chart. The indicator plots two arrows above and below the outside bar. Outside bar is bar that has a higher high and lower low than the preceding bar. It is a short-term expansion in price range or volatility. Outside bars form at the end of a trend and on breakout moves from consolidation in a trending period. Trader must use a discretionary approach in picking the outside bar setups for trading. In a trading range outside bars breakouts may be false signals. The method to trade outside bars is to open position in the direction of outside bar’s high or low breakout. It is better to open trades when breakout happens in the direction of the outside bar. On bullish outside bar, look for upward breakout, and for a bearish outside bar, look for downward breakout of the outside bar. Trader must use discretion in picking outside bar trading setups. There may be many outside bars in chart but they all does not make good breakout trades. Outside bars formed at key support/resistance level are good setups. Breakout from consolidation with an outside bar setup is another good trading setup. See the image attached. Outside Bar.zip
  7. Inside Bar is a Client Side VTL indicator to identify Inside Bars in chart and marks the them on chart by a down arrow above the Inside Bar and an up arrow below the Inside Bar. The inside bar is a two candle price action setup. The Inside Bar is defined as a candle whose high is less than the high of prior bar and low is greater than the prior bar. It is a bar that is completely contained within the range of the preceding bar, also known as the “mother bar”. An inside bar formed on a Daily chart will sometimes look like a triangle pattern on lower timeframes such as one-hour chart. An inside bar indicates a time of indecision or consolidation. Inside bars typically occur as a market consolidates after making a large directional move, they can also occur at turning points in a market and at key decision points like major support/resistance levels. Thus inside bars represent breakout trading opportunities. Traders usually open trades on the breakout of the mother bar. Another method is to open trades on breakout of the inside bar itself. There are basically two ways to trade an inside bar setup: As a continuation signal or as a reversal signal. The image illustrates these setups. When an inside bar is formed in an uptrend, it is a temporary pause of the uptrend. So upward breakout of the mother bar is likely to present a good trading opportunity. In a down trend, downward breakout of the mother bar presents a good sell opportunity. At key support/Resistance levels, the Inside Bar setup will act as a trend reversal setup. Traders should use discretion in picking inside bars for trading. Inside bars formed inside a trading range is not good for breakout trades as the consolidation will continue till price break out from the trading range. Inside Bar.zip
  8. Pinbar Detector is a client side VTL indicator to detect Pinbars and marks them by placing up arrow below bullish Pinbar and down arrow above bearish Pinbar. The Pinbar formation is a price action reversal pattern that shows that a certain level or price point in the market was rejected. The Pinbar is a bar with a long upper or lower “tail” and a much smaller “body”. The image below shows the Pinbar anatomy for Bullish and Bearish Pinbars. Pinbars can be traded with different entry methods. Wait for the Pinbar to complete. Open trade at the start of next bar with a market order. Another method is opening trade on a 50% retrace of the PinBar. In this method, trader waits for the price to retrace to the midpoint of the entire Pinbar’s range. More conservative approach is to place a stoploss buy order above the high of the Bullish Pinbar and stoploss sell order below the low the Bearish Pinbar. Traders can use their discretion in opening trades with the Pinbar. One of the best methods is to trade Pinbars formed in the direction of trend. This can be considered as trend continuation trades. Reversal trades can be opened when the Pinbar is formed at important resistance or support levels. See the chart attached. Placing the stoploss for the trade at the opposite end of the pin bar is good. Pinbars work best when they are formed at important support or resistance levels. Pin_Bar_Detector.zip
  9. Guppy Multiple Moving Average – Short (GMMA Short) is Client Side VTL Indicator. It is a set of five shot term exponential moving averages of period 3, 7, 10, 12 and 15. GMMA Short is used to identify and trade the short term trend. Single moving average and price cross over strategies are associated with many choppy trades. GMMA short with five short term moving averages is able to eliminate such choppy cross over. When all the moving averages are moving upward, a short term uptrend is in place and in a down trend, all the six moving averages move downward. In trading ranges, the averages are placed close together, when the trend is strong, they depart from each other and slope in the direction of the trend. See the image attached. Buy position can be opened when the moving averages turn upward and diverge from each other. Sell position is opened when the GMMA short turns downward and diverge from each other. This is a short term trading strategy. After opening a position, if the moving averages converge together, short term trend is losing momentum and positions can be closed. The zone formed by the GMMA act as short term support or resistance. This can be used to open pull back trades. When price comes back to the support zone formed by GMMA and again break above the support zone, Buy can be initiated. For a pullback Sell, price must test the resistance zone formed by the GMMA and again break below it. GMMA short is useful to short term trend following. Guppy_Multiple_Moving_Averages_Short.zip
  10. Psychological Indicator is a client side VTL indicator. It is based on the relations ship between closing price of each bar within the indicator calculation period. It calculates the percentage of bars that close above previous candle close within the indicator calculation period. This is then plotted as an oscillator in the indicator pane. Psychological indicator works like other oscillators. Rising indicator line indicates up trend and falling indicator line implies down trend. Indicator values above 70 can be considered overbought and values below 30 can be taken as oversold. When the indicator remains in the higher extreme levels, it means the market is trending upward with strength. However, a strong uptrend usually leads to overbought market conditions and consolidation or trend reversal is imminent. Opposite situation happens in strong down trends. Thus the indicator can warn about short term price extremes. Psychological indicator can be used to generate trading signals. One method is to use it to generate counter trend trades. When the indicator reaches upper extreme levels, sell position can be opened. Trade can be initiated when price reversal is confirmed by candle patterns, with the psychological indicator showing overbought market conditions. Buy positions can be opened when the indicator reaches oversold levels and upward reversal candle appears. The indicator calculation period can be customized with the parameter period. To change parameter value, open the script in VTL editor, parameters are located at the top of the script file. Change the parameter value, save and compile and apply to chart again for the new settings to take effect. psychological_indicator.zip
  11. SDL MAM is a trend detection indicator. It uses the close open relationship of each bar over a period of 20 bars and the deviations from a moving average to estimate the trend direction. SDL MAM plots the indicator line in a new pane. Green indicator line implies uptrend and red indicator line implies down trend. The SDL MAM indicator is responsive to short term price changes; thus it can produce whip saw trades. It is better used with other indicators for confirmation. The indicator can be used to generate buy sell signals. Indicator line turning green is a Buy opportunity as down trend is reversing upward. Indicator line turning red is a Sell signal. This approach will produce many choppy trades. It can be combined with other indicators to avoid whip saws. Another approach is to Buy when the indicator line cross above zero line and Sell when indicator line cross below zero. The parameters of the SDL MAM indicator are period – indicator calculation period, moving average method – MA type like EMA, SMA etc., and price field to use in indicator calculation. Parameters are changed in the VTL editor.
  12. SM ADX indicator uses T3 adaptive smoothing in ADX calculations. This makes the Average Directional Index, ADX, more responsive to price. The SM ADX indicator consist the Average Directional Index (ADX), Minus Directional Index (-DI) and Plus Directional Index (+DI). These represent a group of directional movement indicators that form a trading system. ADX (light green line) measures trend strength without regard to trend direction. The other two indicators, +DI (yellow green line) and -DI (wheat color line) complement the ADX by defining trend direction. Used together, chartists can determine both the direction and strength of the trend. In general, the bulls have the edge when +DI is greater than - DI, while the bears have the edge when - DI is greater. Crosses of these directional indicators can be combined with ADX for a complete trading system. SM ADX reading above 10 is considered as a strong trend. When plus DI cross above minus DI and ADX is above 10, buy position can be opened. For a sell signal, minus DI rise above plus DI and ADX is above 10. The SM ADX indicator eliminates many whip saw trades triggered by the normal ADX indicator. The indicator parameters are ADX period, t3 smoothing period and smoothing factor. Parameter values are changed in the VTL editor. They are properly commented for ease of use. SM_ADX_Indicator.zip
  13. Hello, SM ATR is a smoothened Average True Range indicator. SM ATR uses the T3 adaptive smoothing in its calculation instead of the normal moving average smoothing in ATR calculation. SM ATR measures the volatility. SM ATR is not a directional indicator, such as MACD or RSI. Instead, SM ATR is a unique volatility indicator that reflects the degree of interest or disinterest in a move. Strong moves, in either direction, are often accompanied by large ranges, or large True Ranges. This is especially true at the beginning of a move. Uninspiring moves can be accompanied by relatively narrow ranges. As such, ATR can be used to validate the enthusiasm behind a move or breakout. SM ATR can be used to confirm price breakouts and trend reversals. A bearish support break with an increase in SM ATR would show strong selling pressure and reinforce the support break. A bullish reversal with an increase in SM ATR would show strong buying pressure and reinforce the reversal. SM ATR can be useful in determining stop loss levels also. When the ATR is higher, large stop loss must be used to stay in the trade. Parameters used in the SM ATR indicator are ATR period, t3 smoothing period and smoothing factor b. Default ATR period is 14. Parameter values are modified in the VTL editor. sm_ATR_indicator.zip
  14. i Bands Price is a momentum oscillator. Its construction is different from usual momentum oscillators like RSI and stochastics. This is based on the price deviations away from a moving average of price. The I Bands oscillator oscillates between 0 and 100. Values above middle line 0.50 implies up trend and in a down trend the indicator remains below the middle line. Values above 0.75 is considered overbought and values below 0.25 is considered over sold. When the indicator shows oversold markets, wait for other indicators to confirm a price reversal and open buy position. The indicator crossing the middle line, 0.50 level, can be used as a buy signal and crossing below the middle line can be used as a sell signal. But these signals must be confirmed by other indicators. The indicator generates the best signals when there is divergence between the indicator and price. When price makes new highs, but the indicator fails to rise to new highs, is clear indication the trend is ending. When price makes new lows but the indicator begins to rise from lower levels, it is clear indication that down trend is ending. The indicator has few parameters. Bands Period determines the period for indicator calculation, default value is 20. Bands shift decides the forward displacement of indicator values, 0 means no shifting. Bands deviations the standard deviation to be used in measuring price deviations from the moving average. Slow is the smoothing period. The parameter values are changed in the VTL editor. i_Bands_Price.zip
  15. Hello, High Low Range Oscillator is VTL Client Side Indicator. It is an improvement on the stochastic oscillator. It uses the median price in its calculations instead of the closing price used by stochastic oscillator. This makes the oscillator more sensitive to tail formations in charts. Like the stochastic oscillator, High Low range oscillator also oscillates between 0 and 100. HLR oscillator shows the overbought oversold market conditions. Values above 80 level is usually considered as oversold and overbought level is below the 20 level. Oscillator value above zero is taken as uptrend and below zero is taken as down trend. The HLR oscillator is used to generate trading signals in a variety of methods. When price is over bought or oversold, there is high probability that a price reversal will follow. This can be confirmed with other indicators and counter trend positions can be opened. The oscillator crossing the middle line 50 from below it can be taken as a buy signal and opposite cross over can be taken as a sell signal. More reliable signals are the divergence between price and the oscillator. When price makes a new high but the oscillator is declining from its highs, it is clear indication that price reversal is imminent. The opposite situation, price making new lows but oscillator rising, odds favor the end of the down trend. The parameter HLR Range is the period for the indicator calculation; its default value is 40. Parameter values are set in the VTL editor. Hi_Lo_Range_Oscillator.zip
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.