DYO: Library of Examples


Ensign Windows has a powerful feature for designing your own studies.   Use this feature to implement the logic for a study, or create special visual effects.   There are hundreds of operations available divided into 31 categories.   Use the drop down boxes on the form to select an operation to implement a study's mathematics or logic.  Several examples are illustrated on this page.   Please read the information about  Global Variables.

Amazing things have been created by customers with the Design Your Own (DYO)  study feature.  The page is a directory of excellent examples and a cross reference for DYO statements to examples that illustrate their use.

Examples:

1st Concurrence Color from Higher TF Laguerre RSI Relative Slope
1st Occurrence Conditional Plot of Band Larger Label Font RSI Uptrend/Downtrend
3-Bar Signal Conditional Templates Last Price Color S&R 4th Level
3-Day Average Congestion Line Between 2 Prices Select Marker Color
5-Min Time Zones Current Bar in Scroll Lines at Round Numbers Show Values on Chart
Adaptive Average Demark REI Index Market Speedometer SMI Cross Average
Advance/Decline Line Demarker Study McClellan Summation Support and Resistance
Arms Ease of Movement Detrend Price Oscillator Modified MA by Sharp Study Transfer
Ask/Bid Volume Ratio Divergence with $TICK Multi-Colored Line TD Sequential Indicator
Ask/Bid Volume Spread Donchian Conditional Plot Normalized Candles Tick Volume Filtered
ATR Band from Open Dynamic Fibonacci Levels Opening Gap Tillson T3 Average
Ave True Range Bands Encapsulating Bars Opening Price Principle Time Tests
Ave True Range Channel Equi-Volume Bars Pesavento Break Trend Trigger Factor
Average Cross-over Ergodic Candle Oscillator Pesavento Swing Signals Triple Delay Line
2 Average Cross-over Hamari Candle Body Polarized Fractal Efficiency True Range exceeds %
Average Volume High Low Counts Predictive Average TTM Trend Indicator
B-Swing Hi/Lo Activator Indicator PriceFinder: Bollinger Twigg Money Flow Index
Band Historical Volatility PriceFinder: Averages Vertical Horizontal Filter
Bar Count Down Timer Hull Moving Average PriceFinder: CCI Bands Volatility Bands
Bars per Period Ichimoku Chart PriceFinder: RSI Bands Volume Alert
Bars with (H+L)/2 marker Kase CD Momentum PriceFinder: STO Rising Volume at Bid and Ask
Camarilla Pivots Kase DevStop Pyrapoint Value Degrees Volume for a Swing
Candle Recognition Kase Peak Oscillator Q&A Knowledgebase Volume Predictor
Candlesticks & Rockets Keltner inside Bollinger Quarterly High and Low Volume Ticker
Color Bars Half Hour Key Reversal Pair Rainbow Oscillator Volume Weighted Price
Range Bar Target Weekly High Low
Range Channel WoodieCCI Template

Visual Effects:

Marker  1st Example 2nd Example 3rd Example
BAR TD Sequential Indicator
Candlestick Normalized Candles Candlesticks & Rockets
Color Bars Color Bars Half Hour Color from Higher TF Candle Recognition
Highlight  -  HLT Pesavento Break
Histogram Rainbow Oscillator Average Volume Bars per Period
Histogram Spread Bars with (H+L)/2 marker
Paint Can Color Candlesticks & Rockets Multi-Colored Line
Study Bowtie S&R 4th Level
Study Curve Ave True Range Channel Hull Moving Average Adaptive Average
Study Spread Equi-Volume Bars Band Opening Gap
Study Stair Step Hi/Lo Activator Indicator Encapsulating Bars 3-Day Average
Zones  -  ZON Time Tests 3-Bar Signal 5-Min Time Zones
 
Location 1st Example 2nd Example 3rd Example
Message Text [$C], [$H]    Full list Line Logic and Color
Labels Dynamic Fibonacci Levels Range Bar Target Show Values on Chart
Labels in Sections Volume Ticker
Large Fonts WoodieCCI Template Font Size Last Price Color
Sections Documentation Pyrapoint Value Degrees Show Values on Chart
Top Row 1st Concurrence
Bottom Row Keltner inside Bollinger
Above or Below Bar TD Sequential Indicator B-Swing Candle Recognition
Last    (uses Bar's Last price) Show Values on Chart Pesavento Swing Signals Last Price Color
None  (plot at line's value) Dynamic Fibonacci Levels Lines at Round Numbers Opening Price Principle

Categories:

Category Video Document Category Video Document
Bar Value Categories Global Flag Categories Global Variables
Bar Flag Categories Global Action Categories Global Variables
Study Value Categories Property Form Chart Value Categories
Study Flag Categories Property Form Chart Flag Categories
Number Categories Property Form Quote Value
Always True Property Form Quote Flag
Trade Value DYO Value Categories
Trade Flag DYO Flag Categories
Expression Categories Global Variables Do Next IF Categories Property Form
Formula Categories Global Variables Abort IF False Categories Property Form
Go To Line Features

Statements:

Bar Value 1st Example 2nd Example 3rd Example
Close + # Band Hull Average Volatility Bands
Open + # Band Candlesticks & Rockets
Range + # Ergodic Oscillator Range Channel
Volume + #, Volume * # Average Volume Volume Weighted
Abs( Net + # ) Adaptive Average Vertical Horizontal Filter
(H + L) / 2 + #, (H+L+C) / 3 Triple Delay Line Relative Slope Bars (H+L)/2 marker
True Range High + #, Low + # Twigg Money Flow
True Range * # Twigg Money Flow
High, Low, Close at Index # Current Bar in Scroll
Ask Volume +#, Bid Volume +# Ask/Bid Volume Spread Volume at Bid and Ask
Ask Ratio + #, Bid Ratio + # Ask/Bid Volume Ratio
% Remaining to Complete Bar Bar Count Down Timer
 
 
Bar Flag 1st Example 2nd Example 3rd Example
Close > Open, Close < Open Average Volume B-Swing
Close >= # 3-Bar Signal Last Price Color
Open > # AND Close > # Congestion
Doji, Hammer, Spinner Candle Recognition
Gravestone, Marubozu Candle Recognition Key Reversal Pair
New Date Volume Weighted Price
First tick of new bar Tick Volume Filtered Color from Higher TF
First bar of New Week, Month Weekly High Low Quarterly High and Low
Higher High & Low 3-Bar Signal
Lower High and Low 3-Bar Signal
 
 
Study Value 1st Example 2nd Example 3rd Example
Average | 1st Line Value Conditional Templates
Bollinger | Upper Band Keltner inside Bollinger
Keltner | Upper Band Keltner inside Bollinger
Pesavento | 3rd Swing Price Pesavento Break
RSI | RSI Value RSI Up/Dn trend
Stochastic | %K Slope Conditional Templates
SMI | Study Value SMI Cross Average
 
Study Flag 1st Example 2nd Example 3rd Example
Average | 1st Line >= 2nd Average Cross-over
Average | 1st Line Rising 1st Concurrence
Bollinger | High > Upper PriceFinder: Bollinger
CCI | Study >= 133 PriceFinder: CCI Bands
Heikin-Ashi | Up Candle B-Swing
Keltner | High > Upper B-Swing Conditional Plot Band
Pesavento | Swing High B-Swing Volume for a Swing
Pesavento | Trend Rising Pesavento Break
RSI | Study >= 70 PriceFinder: RSI Bands RSI Up/Dn trend Conditional Plot of Band
Stochastic | %K >= 90 Conditional Templates
Stochastic | %K Rising PriceFinder: STO Rising
SMI | Study X< Ave,  X> SMI Cross Average
Trend | Swing High Bar B-Swing
 
Number 1st Example 2nd Example 3rd Example
Number Band Hull Average S&R 4th Level
[$C],  -[$O] Ergodic Oscillator Rainbow Oscillator Line Between 2 Prices
[1] Global Variable reference Documentation Triple Delay Line Hull Average
 
Trade Value 1st Example 2nd Example 3rd Example
 
Trade Flag 1st Example 2nd Example 3rd Example
 
Expression 1st Example 2nd Example 3rd Example
Value + # - Next Ave True Range McClellan Sum
Value * # - Next Hull Average Kase DevStop
Value * #, Value / # Average Volume Hull Average Volatility Bands
(Value * #) / Next Adaptive Average Ergodic Oscillator Relative Slope
(Value - Next) * #,  / # Opening Principle Trend Trigger Factor Twigg Money Flow Index
Value / Next + # S&R 4th Level
( # - Value ) / Next Rainbow Oscillator
# * (Value - Next) + Next Dynamic Fibonacci
Value - # * (Value - Next) Dynamic Fibonacci
100 * Value / (Value + #) Demarker Study
(Value+Next+3rd*(#-2))/# Support and Resistance
R1, S1, R2, S2: formulas Support and Resistance
Scale High - Value * # Lines at Round Numbers
 
Function 1st Example 2nd Example 3rd Example
Abs( Value + # ) Adaptive Average
Ave[#] Ichimoku Chart 3-Day Average
Min[#], Max[#] Quarterly High and Low
Minimum(Value,#), Maximum Quarterly High and Low
Value Modulo # Color from Higher TF Color Bars Half Hour Volume Predictor
( Value / # ) Modulo 4 5-Min Time Zones
Power( #, Value ) Adaptive Average
Sqrt( Value + # ) Hull Average Fractal Efficiency
Sum[#] Triple Delay Line McClellan Sum Tillson T3 Average
Trunc( Value + # ) 5-Min Time Zones Hull Average Bars per Period
High + # at Index Value Opening Gap Opening Principle
Seconds from Midnight / # Volume Predictor
Value to nearest multiple of # Lines at Round Numbers
Value Degrees for Pyrapoint # Pyrapoint Value Degrees
 
Global Flag 1st Example 2nd Example 3rd Example
Flag, Not Flag 1st Concurrence TTM Trend Indicator
AND[#] Conditional Templates B-Swing Pesavento Break
OR[#] 1st Concurrence
Value = # 5-Min Time Zones
Value < #, Value > # Conditional Templates Average Volume Keltner in Bollinger
Value < Next[#] 1st Concurrence
Value < High[#] Pesavento Break
 
Global Action 1st Example 2nd Example 3rd Example
Line A = # Triple Delay Line TTM Trend Indicator
Line A Bar Offset = # TTM Trend Indicator
Beep( # ) Volume Alert
Plot Study Transfer in GV Conditional Templates Tick Volume Filtered
PriceFinder makes Flag True PriceFinder: Bollinger
PriceFinder changes Flag PriceFinder: CCI Bands PriceFinder: RSI PriceFinder: STO
Return #, IF Flag DO Plot # Donchian Conditional Plot Conditional Plot Band Hi/Lo Activator
Shift Right[#], Shift Left[#] 3-Day Average Quarterly High and Low Volume Ticker
Swap(Value,GV(#)) Hamari Candle Body
Label Font Size = # Larger Label Font Last Price Color
Section Font Size = # Larger Label Font
IF Flag DO Plot # Line Between 2 Prices Bars per Period
IF Flag then Next[#] = 0
IF( Flag, 0, # ) Volume Weighted Price Weekly High Low 1st Occurrence
IF( Flag, # + 1, # ) 1st Occurrence High Low Counts
IF( Value > #, Value, 0 ) Demarker Study
IF( #, 0, Value ) Bars per Period
IF( GV[1], #, Value ) Tick Volume Filtered Pesavento Swing Signals Last Price Color
Inc( Line A Bar Offset, # ) High Low Counts Modified MA by Sharp
 
Chart Value 1st Example 2nd Example 3rd Example
Max High[#], Min Low[#] Trend Trigger Factor Rainbow Oscillator Ichimoku Chart
Ave Close[#], Ave High[#] Ave True Range Rainbow Oscillator Hi/Lo Activator
Ave True Range[#] Ave True Range ATR Band from Open Ave True Range Bands
Ave Volume[#] Average Volume
Historical Volatility[#] Volatility Bands Historical Volatility
Sum Volume[#] Volume for a Swing
Daily High + # Dynamic Fibonacci
Day Session Open + # Band Opening Principle
Yesterday's High, Low, Close Band Opening Principle S&R 4th Level
# Min High after 1st Open Opening Principle Support Resistance
Current # Min Bar High, Low Equi-Volume Bars Encapsulating Bars
Earliest [High,Low] in # min Support and Resistance
Minutes from Midnight 5-Min Time Zones Bars per Period Color Bars Half Hour
100 - Delta Time * # Market Speedometer
Time Frame Value, Type Conditional Templates Range Bar Target Volume Predictor
Bar Index after Time # Opening Gap
Bar Index - Round(#) TTM Trend Indicator
Bar Count - Round(#) Current Bar in Scroll
 
Chart Flag 1st Example 2nd Example 3rd Example
Time <= #, Time >= # Opening Principle Time Tests Line Between 2 Prices
Bar Index >= Bar Count - # Color from Higher TF Volume Predictor
In # min after 1st Open 3-Day Average
 
Quote Value 1st Example 2nd Example 3rd Example
Tick Volume + # Volume Alert Volume Ticker
 
Quote Flag 1st Example 2nd Example 3rd Example
Last = Bid + #, Last = Ask + # Volume Ticker
 
DYO Value 1st Example 2nd Example 3rd Example
Line A + #, Line A * # Triple Delay Line Relative Slope TTM Trend Indicator
Line A Min[#], Line A Max[#] RSI Up/Dn trend Kase DevStop
Line A Std Dev[#] Kase DevStop
Line A Sum[#] Adaptive Average Vertical Horz Filter Fractal Efficiency
Ave Line A[#] Rainbow Oscillator Ichimoku Chart
ExpAve Line A[#] Adaptive Average Ergodic Oscillator Relative Slope
Weighted Ave Line A[#] Hull Average
Momentum Line A[#] Adaptive Average TD Sequential Demarker Study
Bars Since Line A True, False RSI Uptrend/Downtrend Hi/Lo Activator 1st Concurrence
 
DYO Flag 1st Example 2nd Example 3rd Example
Line A Flag goes True, False 1st Concurrence
 
Do Next IF 1st Example 2nd Example 3rd Example
Flag Conditional Templates Average Volume
Not Flag Average Volume TD Sequential
Value = # Conditional Templates TD Sequential
Value > # Tick Volume Filtered
Gap Down at Index Value Opening Gap
 
Abort IF False 1st Example 2nd Example 3rd Example
Flag Average Volume Opening Principle
Value > # Volume Alert Volume Ticker
 
Go To Line IF 1st Example 2nd Example 3rd Example
Inc( Value) ;  Test( Value < # ) Features
Dec( Value );  Test( Value > # ) High Low Counts Modified MA by Sharp
Flag, Not Flag Quarterly High and Low TTM Trend Indicator

Last modified 10/15/07 1:06 PM