goats ATR signals📘 Educational Overview
This script is built for traders and students of the markets who want to understand how momentum, trend filtering, and trade planning can work together in a visual and rule-based environment.
At its core, it uses the Average True Range (ATR) to detect high-volatility breakout opportunities. Signals are only triggered when volatility exceeds a configurable threshold and are further filtered by two layers of EMA cloud trends—helping learners see how multi-timeframe confluence improves trade quality.
Once a signal is triggered, the script automatically calculates entry, stop-loss, and take-profit levels based on tick distance and reward/risk logic. These levels are drawn directly on the chart with transparent boxes and dotted lines, giving traders a clear sense of how risk is defined and how structured trade planning can work.
Additional tools include:
VWAP for intraday bias learning.
A 420-period WMA Bollinger band to demonstrate long-term mean reversion zones.
An optional trade history table that tracks and displays simulated trade outcomes for review and study.
This indicator is not for live trading—it is meant to help traders:
Study how volatility and trend signals interact.
Visually understand trade management structures.
Build intuition around risk/reward scenarios and backtest logic.
⚠️ This is for educational use only. It is not a trading signal service or financial advice. The goal is to support learning and strategy development in a transparent, rule-based way.
Indicators and strategies
WR-Top Dip signals
This script is a technical analysis tool for stocks that calculates the Williams %R (WR) indicator and displays tops and bottoms signals on the chart. The WR indicator is an oscillator that measures the momentum of the stock's price movement over a certain period of time. It is based on the highest and lowest prices over a certain period of time and is expressed as a percentage of the difference between the current price and the highest price (or lowest price) over that period. The WR indicator ranges from 0 to -100, with 0 indicating that the stock is oversold and -100 indicating that the stock is overbought.
The script provides default parameters of WR1:84 and WR2:168, which are suitable for most traders. However, you can modify the parameters according to your needs, such as WR1:55 and WR2:144. The WR1 parameter is the number of periods used to calculate the first WR line, and the WR2 parameter is the number of periods used to calculate the second WR line. The two lines are then plotted on the chart, and their crossing generates the tops and bottoms signals.
The tops and bottoms signals are determined by the crossing of two different time periods of the WR indicator. When the shorter-term WR line (WR1) crosses below the upper limit (usually set at -20), and the longer-term WR line (WR2) does not cross below the upper limit, a tops signal is generated. This indicates that the stock is overbought and may be a good time to sell. Conversely, when the shorter-term WR line (WR1) crosses above the lower limit (usually set at -80), and the longer-term WR line (WR2) does not cross above the lower limit, a bottoms signal is generated. This indicates that the stock is oversold and may be a good time to buy.
In addition to displaying the WR indicator and tops and bottoms signals, the script also includes some drawing and alert features. You can draw horizontal lines at the upper and lower limits to help you identify when the WR indicator crosses them. You can also set alerts to notify you when a tops or bottoms signal is generated.
Please note that this script is just one tool among many for technical analysis, and you should use it in conjunction with other tools and your own analysis to make your own buy or sell decisions. The purpose of this description is to help users understand the script's functionality and how to use it. If you have any questions, please refer to TradingView's community rules or contact TradingView customer service.
Liquidity Zones DetectorIdentifies high-probability liquidity zones by scanning for price levels repeatedly touched by candle wicks within a lookback period. Highlights potential buy- and sell-side liquidity areas as shaded boxes on the chart.
TUFAN Hacim / Fiyat SkoruCalculates long, mid, and short-term volume averages along with volume volatility.
Scores volume strength based on volume trend slope and price changes.
Adjusts the score based on the relationship between price and its 50, 100, and 150-day moving averages.
Combines and normalizes these factors into a final volume/price score.
Triggers an alert when the score is 3 or higher and displays the score with color coding on the chart.
Color StochDestaca cuando supera niveles establecidos, para usar debajo del panel como estocástico aparte.
5, 3, 5.
Muy sensible, para 5 min TF preferiblemente.
Highlights area when it exceeds established levels, to be used below panel, as a normal stochastic.
5, 3, 5.
Very sensitive, for 5 min TF preferably.
MA 3/20/200 mit Trendverlängerung📊 3-Line MA Pack – Clean Trend Tracking with Projection
Fast. Clear. No fluff.
This script shows:
🔴 MA 3 – short-term momentum
🟠 MA 20 – medium trend flow
🔵 MA 200 – long-term direction
All lines extend forward based on recent slope – automatically adjusted to your timeframe.
Perfect for traders who want to see the flow at a glance.
Plug it in. Read the trend. Trade smarter.
No noise – just structure.
RSI Candlestick//@version=5
indicator("RSI Candlestick", overlay=false)
length = input(14, title="RSI Length")
rsi = ta.rsi(close, length)
// RSI를 캔들로 변환 (예: RSI의 시가, 고가, 저가, 종가 계산)
rsi_open = rsi // 이전 RSI 값
rsi_close = rsi // 현재 RSI 값
rsi_high = math.max(rsi, rsi_open) // 고가는 현재와 이전 중 큰 값
rsi_low = math.min(rsi, rsi_open) // 저가는 현재와 이전 중 작은 값
// 캔들 플롯
plotcandle(rsi_open, rsi_high, rsi_low, rsi_close, title="RSI Candles", color=rsi_close > rsi_open ? color.green : color.red)
Bollinger Bands with Buy/Sell SignalsWhen price crosses above the upper band → green “BUY” label appears below the bar
When price crosses below the lower band → red “SELL” label appears above the bar
Money MovementThe “Main Force Volume” indicator is designed to help traders quickly and easily capture the movements of the main force in the cryptocurrency market. In this market, prices are often influenced by human manipulation, and it can be difficult for traders to identify the movements of the main force. This indicator is designed to help traders recognize the main force’s movements and identify key areas of support and resistance.
The indicator consists of two types of red columns: upward red columns and downward red columns. Upward red columns are used to determine the bottom area according to different cycles. When the market is in a downtrend, upward red columns may appear, indicating that the main force has begun to intervene and that a bottom area may be forming. The longer the upward red columns, the more solid the bottom area may be.
Downward red columns, on the other hand, are used to judge the top area according to different cycles. When the market is in an uptrend, downward red columns may appear, representing selling pressure from the main force. As the downward red columns gradually exhaust their volume, a relative top area may be forming. This indicates that the main force has sold almost all of its holdings and that there may be no further upward momentum.
To use the indicator, traders should look for patterns of upward and downward red columns on the chart. When upward red columns appear, traders should look for a longer-term trend reversal and consider buying opportunities. When downward red columns appear, traders should look for a potential top and consider selling opportunities.
It is important to note that this indicator is just one tool among many for technical analysis, and traders should use it in conjunction with other tools and their own analysis to make their own buy or sell decisions. The purpose of this description is to help users understand the indicator’s functionality and how to use it. If you have any questions, please refer to TradingView’s community rules or contact TradingView customer service.
Early Money Flow DetectionThis indicator will help trader dectect the signal early than MFI traditional.
GoatsMACDThis is a multi-layered trend scalping tool that combines MACD cross signals with dynamic trend filters including Bollinger Bands, EMA clouds, and VWAP for clearer trend identification and trade timing.
🔍 Features:
MACD Cross Dots: Tiny dots mark MACD bullish and bearish crossovers directly on the oscillator pane.
Customizable MACD Settings: Toggle between EMA or SMA calculation for MACD, with adjustable fast/slow lengths and signal smoothing.
Bollinger Bands Overlay: Optional 420-period BB with 0.5 standard deviation for mean reversion and volatility compression.
Triple EMA Clouds:
Cloud 1: EMA 21 vs 55
Cloud 2: EMA 89 vs 120
Cloud 3: EMA 200 vs 240
Each cloud changes color based on bullish/bearish EMA relationships to confirm trend strength and direction.
VWAP Support: Plots a session-based VWAP as an additional dynamic support/resistance zone.
Alerts Included: Receive alerts on bullish or bearish MACD crossovers.
🧠 How to Use:
Use MACD dots to spot early trend shifts.
Confirm direction with the EMA clouds: trade only in alignment with cloud direction.
Use Bollinger Bands and VWAP for entries near key zones.
Ideal for scalping, trend following, or confirmation on multi-timeframe setups.
⚙️ Customizable Inputs:
Full control over MACD lengths and moving average type
Adjustable BB settings
Modify each EMA pair independently for all clouds
OBV with MA & Bollinger Bands by Marius1032OBV with MA & Bollinger Bands by Marius1032
This script adds customizable moving averages and Bollinger Bands to the classic OBV (On Balance Volume) indicator. It helps identify volume-driven momentum and trend strength.
Features:
OBV-based trend tracking
Optional smoothing: SMA, EMA, RMA, WMA, VWMA
Optional Bollinger Bands with SMA
Potential Combinations and Trading Strategies:
Breakouts: Look for price breakouts from the Bollinger Bands, and confirm with a rising OBV for an uptrend or falling OBV for a downtrend.
Trend Reversals: When the price touches a Bollinger Band, examine the OBV for divergence. A bullish divergence (price lower low, OBV higher low) near the lower band could signal a reversal.
Volume Confirmation: Use OBV to confirm the strength of the trend indicated by Bollinger Bands. For example, if the BBs indicate an uptrend and OBV is also rising, it reinforces the bullish signal.
1. On-Balance Volume (OBV):
Purpose: OBV is a momentum indicator that uses volume flow to predict price movements.
Calculation: Volume is added on up days and subtracted on down days.
Interpretation: Rising OBV suggests potential upward price movement. Falling OBV suggests potential lower prices.
Divergence: Divergence between OBV and price can signal potential trend reversals.
2. Moving Average (MA):
Purpose: Moving Averages smooth price fluctuations and help identify trends.
Combination with OBV: Pairing OBV with MAs helps confirm trends and identify potential reversals. A crossover of the OBV line and its MA can signal a trend reversal or continuation.
3. Bollinger Bands (BB):
Purpose: BBs measure market volatility and help identify potential breakouts and trend reversals.
Structure: They consist of a moving average (typically 20-period) and two standard deviation bands.
Combination with OBV: Combining BBs with OBV allows for a multifaceted approach to market analysis. For example, a stock hitting the lower BB with a rising OBV could indicate accumulation and a potential upward reversal.
Created by: Marius1032
내 스크립트//@version=6
indicator('AWMA', overlay = true)
//inputs
_Period1 = input(3, 'WMA1 Period')
_Period2 = input(5, 'WMA2 Period')
_Period3 = input(8, 'WMA3 Period')
_Period4 = input(10, 'WMA4 Period')
_Period5 = input(12, 'WMA5 Period')
_Period6 = input(15, 'WMA6 Period')
_Period7 = input(30, 'WMA7 Period')
_Period8 = input(35, 'WMA8 Period')
_Period9 = input(40, 'WMA9 Period')
_Period10 = input(45, 'WMA10 Period')
_Period11 = input(50, 'WMA11 Period')
_Period12 = input(60, 'WMA12 Period')
//calculate wma
wma1 = ta.wma(close, _Period1)
wma2 = ta.wma(close, _Period2)
wma3 = ta.wma(close, _Period3)
wma4 = ta.wma(close, _Period4)
wma5 = ta.wma(close, _Period5)
wma6 = ta.wma(close, _Period6)
wma7 = ta.wma(close, _Period7)
wma8 = ta.wma(close, _Period8)
wma9 = ta.wma(close, _Period9)
wma10 = ta.wma(close, _Period10)
wma11 = ta.wma(close, _Period11)
wma12 = ta.wma(close, _Period12)
plot(wma1, color = color.new(#4fc3d2, 0), title = 'short1')
plot(wma2, color = color.new(#4fc3d2, 0), title = 'short2')
plot(wma3, color = color.new(#4fc3d2, 0), title = 'short3')
plot(wma4, color = color.new(#4fc3d2, 0), title = 'short4')
plot(wma5, color = color.new(#4fc3d2, 0), title = 'short5')
plot(wma6, color = color.new(#4fc3d2, 0), title = 'short6')
plot(wma7, color = color.new(#fe0d5f, 0), title = 'long1')
plot(wma8, color = color.new(#fe0d5f, 0), title = 'long2')
plot(wma9, color = color.new(#fe0d5f, 0), title = 'long3')
plot(wma10, color = color.new(#fe0d5f, 0), title = 'long4')
plot(wma11, color = color.new(#fe0d5f, 0), title = 'long5')
plot(wma12, color = color.new(#fe0d5f, 0), title = 'long6')
Watermark by HAZEDEnhanced Watermark - Clean Chart Labeling
A professional watermark indicator for traders who want clean, customizable chart identification.
Features:
- Show/hide: Exchange prefix, timeframe, price change %, volume
- 9 positioning options - place anywhere on your chart
- Custom text styling - normal or spaced text modes
- Full color control - including transparency settings
- Size customization - independent sizing for each element
- Personal signature - add your trading brand
- Custom symbols - personalize arrows and indicators
Perfect for:
Content creators, educational posts, professional setups, and social media sharing.
Easy to use: Works immediately with smart defaults. Fully customizable to match your style.
Clean charts, professional presentation.
Symphonic Vector Oscillator (Basic)a free public version of my symphonic vector oscillator.
The same calculations I applied to volume to create the VDI, I also applied to price to create the DDI, then averaged the result between the two. The result: the Symphonic Vector Oscillator (SVO).
For DDI:
Up average = average of price deltas in upward direction, with downward days replaced with zeroes.
Down average = average price deltas with upward days replaced with zeroes.
DDI = directional dominance index =
abs(up Average - down average) / Up average + down average
FOR VDI:
Up vol average = average of volumes where close > close and down volumes replaced with zeroes.
Dn vol average = average of volumes where close < close and up volumes replaced with zeroes.
VDI = volume dominance index =
Abs(up vol avg - dn vol avg) / Up vol avg + dn vol avg
SVO = Symphonic Vector Oscillator =
(DDI + VDI) / 2 * 100
EMA Curl Strength📌 EMA Curl Strength
EMA Curl Strength is a trend momentum oscillator based on the slope of an EMA, normalized using Z-scores. It helps identify when a market is trending vs. ranging, and how strong the current momentum is.
⸻
🔍 How it works:
• Measures the slope of an EMA and standardizes it with Z-scores.
• Smooths the result and compares it to a signal line.
• The histogram shows the difference between the two.
• Color-coded lines represent mild, moderate, and strong trend strength.
⸻
🧠 How to use it:
• Watch for crosses of the zero line as possible trade signals.
• Use bright green/red for strong trends, gray/faint tones for weak or ranging conditions.
• Best used with other indicators (like RSI, moving averages, or price action) for trade confirmation.
⸻
⚙️ Key Features:
• Adjustable EMA, smoothing, and histogram settings
• Custom Z-score thresholds for trend strength
• Toggleable threshold lines (mild, moderate, strong)
• Optional zero-cross dots and color gradient fill
• All colors and styles customizable
⸻
🛠️ Input Overview:
• EMA Length: Speed of trend detection
• Smoothing Lengths: Control signal smoothness
• Z Lookback: Sensitivity to slope changes
• Histogram Settings: Affect shape and signal of histogram
• Gradient Opacity: Controls background color fill strength
• Toggle Lines & Dots: Show/hide elements like threshold lines or cross markers
Adaptive Multi-MA OptimizerAdaptive Multi-MA Optimizer
This indicator provides a powerful, customizable solution for traders seeking dynamically optimized moving averages with precision and control. It integrates multiple custom-built moving average types, applies real-time volatility-based optimization, and includes an optional composite smoothing engine.
🧠 Key Features
Dynamic Optimization:
Automatically selects the optimal lookback length based on market volatility stability using a custom standard deviation differential model.
Multiple Custom MA Types:
Includes fully custom implementations of:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted MA)
DEMA (Double EMA)
TEMA (Triple EMA)
Hull MA
ALMA (Arnaud Legoux MA)
Composite MA Option:
A unique "Composite" mode blends all supported MAs into a single average, then applies optional smoothing for enhanced signal clarity.
Dynamic Smoothing:
The composite mode supports volatility-adjusted smoothing (based on optimized lookback), making it adaptable to different market regimes.
Fully Custom Logic:
No built-in MA functions are used — every moving average is hand-coded for transparency and educational value.
⚙️ How It Works
Optimization:
The script evaluates a range of lengths (minLen to maxLen) using the standard deviation of price returns. It selects the length with the most stable recent volatility profile.
Calculation:
The selected MA type is calculated using that optimized length. If "Composite" is chosen, all MA types are averaged and smoothed dynamically.
Visualization:
The adaptive MA is plotted on the chart, changing color based on its position relative to price.
📌 Use Cases
Trend-following strategies that adapt to different market conditions.
Traders wanting a high-fidelity composite of multiple MAs.
Analysts interested in visualizing market smoothness without lag-heavy signals.
Coders looking to learn how to build custom indicators from scratch.
🧪 Inputs
MA Type: Choose from 8 MA types or a blended Composite.
Lookback Range: Control min/max and step size for optimization.
Source: Choose any price series (e.g., close, hl2).
⚠️ Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice, trading advice, or investment recommendations. Use of this script is at your own risk. Past performance does not guarantee future results. Always perform your own analysis and consult with a qualified financial advisor before making trading decisions.
Yelober - Intraday ETF Dashboard# How to Read the Yelober Intraday ETF Dashboard
The Intraday ETF Dashboard provides a powerful at-a-glance view of sector performance and trading opportunities. Here's how to interpret and use the information:
## Basic Dashboard Reading
### Color-Coding System
- **Green values**: Positive performance or bullish signals
- **Red values**: Negative performance or bearish signals
- **Symbol colors**: Green = buy signal, Red = sell signal, Gray = neutral
### Example 1: Identifying Strong Sectors
If you see XLF (Financials) with:
- Day % showing +2.65% (green background)
- Symbol in green color
- RSI of 58 (not overbought)
**Interpretation**: Financial sector is showing strength and momentum without being overextended. Consider long positions in top financial stocks like JPM or BAC.
### Example 2: Spotting Weakness
If you see XLK (Technology) with:
- Day % showing -1.20% (red background)
- Week % showing -3.50% (red background)
- Symbol in red color
- RSI of 35 (approaching oversold)
**Interpretation**: Technology sector is showing weakness across multiple timeframes. Consider avoiding tech stocks or taking short positions in names like MSFT or AAPL, but be cautious as the low RSI suggests a bounce may be coming.
## Advanced Interpretations
### Example 3: Sector Rotation Detection
If you observe:
- XLE (Energy) showing +2.10% while XLK (Technology) showing -1.50%
- Both sectors' Week % values showing the opposite trend
**Interpretation**: This suggests money is rotating out of technology into energy stocks. This rotation pattern is actionable - consider reducing tech exposure and increasing energy positions (look at XOM, CVX in the Top Stocks column).
### Example 4: RSI Divergences
If you see XLU (Utilities) with:
- Day % showing +0.50% (small positive)
- RSI showing 72 (overbought, red background)
**Interpretation**: Despite positive performance, the high RSI suggests the sector is overextended. This divergence between price and indicator suggests caution - the rally in utilities may be running out of steam.
### Example 5: Relative Strength in Weak Markets
If SPY shows -1.20% but XLP (Consumer Staples) shows +0.30%:
**Interpretation**: Consumer staples are showing defensive strength during market weakness. This is typical risk-off behavior. Consider defensive positions in stocks like PG, KO, or PEP for protection.
## Practical Application Scenarios
### Day Trading Setup
1. **Morning Market Assessment**:
- Check which sectors are green pre-market
- Focus on sectors with Day % > 1% and RSI between 40-70
- Identify 2-3 stocks from the Top Stocks column of the strongest sector
2. **Midday Reversal Hunting**:
- Look for sectors with symbol color changing from red to green
- Confirm with RSI moving away from extremes
- Trade stocks from that sector showing similar pattern changes
### Swing Trading Application
1. **Trend Following**:
- Identify sectors with positive Day % and Week %
- Look for RSI values in uptrend but not overbought (45-65)
- Enter positions in top stocks from these sectors, using daily charts for confirmation
2. **Contrarian Setups**:
- Find sectors with deeply negative Day % but RSI < 30
- Look for divergence (price making new lows but RSI rising)
- Consider counter-trend positions in the stronger stocks within these oversold sectors
## Reading Special Conditions
### Example 6: Risk-Off Environment
If you observe:
- XLP (Consumer Staples) and XLU (Utilities) both green
- XLK (Technology) and XLY (Consumer Disc) both red
- SPY slightly negative
**Interpretation**: Classic risk-off rotation. Investors are moving to safety. Consider defensive positioning and reducing exposure to growth sectors.
### Example 7: Market Breadth Analysis
Count the number of sectors in green vs. red:
- If 7+ sectors are green: Strong bullish breadth, consider aggressive long positioning
- If 7+ sectors are red: Weak market breadth, consider defensive positioning or shorts
- If evenly split: Market is indecisive, focus on specific sector strength instead of broad market exposure
Remember that this dashboard is most effective when combined with broader market analysis and appropriate risk management strategies.
Mariam Smart FlipPurpose
This tool identifies high-probability intraday reversals by detecting when price flips through the daily open after strong early-session commitment.
How It Works
A valid flip occurs when:
The previous daily candle is bullish or bearish
The first hour today continues in the same direction
Then, the price flips back through the daily open with a minimum break threshold (user-defined)
This setup is designed to catch liquidity grabs or fakeouts near the daily open, where early buyers or sellers get trapped after showing commitment
Signal Logic
Buy Flip
Previous day bearish → first hour bearish → price flips above open
Sell Flip
Previous day bullish → first hour bullish → price flips below open
Features
Configurable flip threshold in percentage
Signals only activate after the first hour ends
Daily open line displayed on chart
Simple triangle markers with no visual clutter
Alerts ready to use for automation or notifications
Usage Tips
Use "Once Per Bar" alert mode to get notified immediately when the flip happens
Works best in active markets like FX, indices, or crypto
Adjust threshold based on asset volatility
Suggested stop loss: use the previous daily high for sell flips or the previous daily low for buy flips
Suggested take profit: secure at least 30 pips to aim for a 1:3 risk-to-reward ratio on average
GK Accounting - Gold Trading Signalhi this is new indicator for trading anytime frame any market its work really good
RifleLibLibrary "RifleLib"
Provides a collection of helper functions in support of the Rifle Shooter Indicators.
toStrRnd(val, digits)
Parameters:
val (float)
digits (int)
_isValidTimeRange(startTimeInput, endTimeInput)
Parameters:
startTimeInput (string)
endTimeInput (string)
_normalize(_src, _min, _max)
Parameters:
_src (float)
_min (float)
_max (float)
arrayToSeries(arrayInput)
arrayToSeries Return an array from the provided series.
Parameters:
arrayInput (array)
f_parabolicFiltering(_activeCount, long, shooterRsi, shooterRsiLongThreshold, shooterRsiShortThreshold, fiveMinuteRsi, fiveMinRsiLongThreshold, fiveMinRsiShortThreshold, shooterRsiRoc, shooterRsiRocLongThreshold, shooterRsiRocShortThreshold, quickChangeLookbackBars, quckChangeThreshold, curBarChangeThreshold, changeFromPrevBarThreshold, maxBarsToholdParabolicMoveActive, generateLabels)
f_parabolicFiltering Return true when price action indicates a parabolic active movement based on the provided inputs and thresholds.
Parameters:
_activeCount (int)
long (bool)
shooterRsi (float)
shooterRsiLongThreshold (float)
shooterRsiShortThreshold (float)
fiveMinuteRsi (float)
fiveMinRsiLongThreshold (float)
fiveMinRsiShortThreshold (float)
shooterRsiRoc (float)
shooterRsiRocLongThreshold (float)
shooterRsiRocShortThreshold (float)
quickChangeLookbackBars (int)
quckChangeThreshold (int)
curBarChangeThreshold (int)
changeFromPrevBarThreshold (int)
maxBarsToholdParabolicMoveActive (int)
generateLabels (bool)
rsiValid(rsi, buyThreshold, sellThreshold)
rsiValid Returns true if the provided RSI value is withing the associated threshold. For the unused threshold set it to na
Parameters:
rsi (float)
buyThreshold (float)
sellThreshold (float)
squezePro(source, length)
squezePro Returns the squeeze pro momentum color of current source series input
Parameters:
source (float)
length (int)
f_momentumOscilator(source, length, transperency)
f_momentumOscilator Returns the squeeze pro momentum value and bar color states of the series input
Parameters:
source (float)
length (int)
transperency (int)
f_getLookbackExtreme(lowSeries, highSeries, lbBars, long)
f_getLookbackExtreme Return the highest high or lowest low over the look back window
Parameters:
lowSeries (float)
highSeries (float)
lbBars (int)
long (bool)
f_getInitialMoveTarget(lbExtreme, priveMoveOffset, long)
f_getInitialMoveTarget Return the point delta required to achieve an initial rifle move (X points over Y lookback)
Parameters:
lbExtreme (float)
priveMoveOffset (int)
long (bool)
isSymbolSupported(sym)
isSymbolSupported Return true if provided symbol is one of the supported DOW Rifle Indicator symbols
Parameters:
sym (string)
getBasePrice(price)
getBasePrice Returns integer portion of provided float
Parameters:
price (float)
getLastTwoDigitsOfPrice(price)
getBasePrice Returns last two integer numerals of provided float value
Parameters:
price (float)
getNextLevelDown(price, lowestLevel, middleLevel, highestLevel)
getNextLevelDown Returns the next level above the provided price value
Parameters:
price (float)
lowestLevel (float)
middleLevel (float)
highestLevel (float)
getNextLevelUp(price, lowestLevel, middleLevel, highestLevel)
getNextLevelUp Returns the next level below the provided price value
Parameters:
price (float)
lowestLevel (float)
middleLevel (float)
highestLevel (float)
isALevel(price, lowestLevel, middleLevel, highestLevel)
isALevel Returns true if the provided price is onve of the specified levels
Parameters:
price (float)
lowestLevel (float)
middleLevel (float)
highestLevel (float)
getClosestLevel(price, lowestLevel, middleLevel, highestLevel)
getClosestLevel Returns the level closest to the price value provided
Parameters:
price (float)
lowestLevel (float)
middleLevel (float)
highestLevel (float)
f_fillSetupTableCell(_table, _col, _row, _text, _bgcolor, _txtcolor, _text_size)
f_fillSetupTableCell Helper function to fill a setup table celll
Parameters:
_table (table)
_col (int)
_row (int)
_text (string)
_bgcolor (color)
_txtcolor (color)
_text_size (string)
f_fillSetupTableRow(_table, _row, _col0Str, _col1Str, _col2Str, _bgcolor, _textColor, _textSize)
f_fillSetupTableRow Helper function to fill a setup table row
Parameters:
_table (table)
_row (int)
_col0Str (string)
_col1Str (string)
_col2Str (string)
_bgcolor (color)
_textColor (color)
_textSize (string)
f_addBlankRow(_table, _row)
f_addBlankRow Helper function to fill a setup table row with empty values
Parameters:
_table (table)
_row (int)
f_updateVersionTable(versionTable, versionStr, versionDateStr)
f_updateVersionTable Helper function to fill the version table with provided values
Parameters:
versionTable (table)
versionStr (string)
versionDateStr (string)
f_updateSetupTable(_table, parabolicMoveActive, initialMoveTargetOffset, initialMoveAchieved, shooterRsi, shooterRsiValid, rsiRocEnterThreshold, shooterRsiRoc, fiveMinuteRsi, fiveMinuteRsiValid, requireValid5MinuteRsiForEntry, stallLevelOffset, stallLevelExceeded, stallTargetOffset, recoverStallLevelValid, curBarChangeValid, volumeRoc, volumeRocThreshold, enableVolumeRocForTrigger, tradeActive, entryPrice, curCloseOffset, curSymCashDelta, djiCashDelta, showDjiDelta, longIndicator, fontSize)
f_updateSetupTable Manages writing current data to the setup table
Parameters:
_table (table)
parabolicMoveActive (bool)
initialMoveTargetOffset (float)
initialMoveAchieved (bool)
shooterRsi (float)
shooterRsiValid (bool)
rsiRocEnterThreshold (float)
shooterRsiRoc (float)
fiveMinuteRsi (float)
fiveMinuteRsiValid (bool)
requireValid5MinuteRsiForEntry (bool)
stallLevelOffset (float)
stallLevelExceeded (bool)
stallTargetOffset (float)
recoverStallLevelValid (bool)
curBarChangeValid (bool)
volumeRoc (float)
volumeRocThreshold (float)
enableVolumeRocForTrigger (bool)
tradeActive (bool)
entryPrice (float)
curCloseOffset (float)
curSymCashDelta (float)
djiCashDelta (float)
showDjiDelta (bool)
longIndicator (bool)
fontSize (string)