DYO: Statement Cross Reference


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 cross reference directory for DYO statements to examples that illustrate their use.

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 Tutorial Global Flag Categories Global Variables
Bar Flag Categories Tutorial Global Action Categories Global Action Category
Study Value Categories Tutorial Chart Value Categories Tutorial
Study Flag Categories Tutorial Chart Flag Categories Tutorial
Number Categories Tutorial Quote Value   Tutorial
Always True   Tutorial Quote Flag   Tutorial
Trade Value     DYO Value Categories Tutorial
Trade Flag     DYO Flag Categories Tutorial
Expression Categories Global Variables Do Next IF Categories Tutorial
Formula Categories Global Variables Abort IF False Categories Tutorial
      Go To Line   Tutorial

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    
Stochastic | %K Slope Conditional Templates    
Study | Study Value SMI Cross Average  RSI Up/Down Trend  
       
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 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
       
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[#] Kase DevStop RSI Up/Down Trend Maximum of Study Value
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 1st Concurrence Hi/Lo Activator RSI Up/Down Trend
       
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 < # ) Documentation    
Dec( Value );  Test( Value > # ) High Low Counts Modified MA by Sharp  
Flag, Not Flag Quarterly High and Low TTM Trend Indicator

Last modified 11/13/09 12:23 PM