DYO: IF Flag DO Action Statements


This DYO example can be used to maintain horizontal lines to the left edge of the screen at the Daily High and Daily Low levels.

Line F and G will perform an Action on the first tick of a new bar.   Any flag could be tested to trigger an Action.   The following DYO statements in the Global Action category are similar in performing an action when the expression evaluates as a Boolean True.

The action performed is selected by the value in the number field according to the following list of available actions.  Be very careful in using a DYO to programatically trigger an Action because some Actions open other forms, and some initiate time consuming processes.  Such Actions would be inappropriate to execute with every tick update to the chart, or even at with every bar completion.   Warning:  Unwise use of the Action feature can result in a severe burden to the CPU processing causing the system to become unresponsive.

Color Bar Actions    
1  -  Island Reversal
2  -  Key Reversal Pair
3  -  Close Outer 10%
4  -  Close Outer 25%
5  -  Gap
6  -  Gap Open
7  -  Net Change
8  -  Close vs. Open
9  -  Large/Small Range
10  -  Large/Small Volume   
11  -  Trends
12  -  Turning Points
13  -  Small Trends
14  -  Minor Trends 
15  -  Major Trends
16  -  Outside/Inside
17  -  Weekly High/Low
18  -  Minute by Minute
19  -  Hour by Hour
20  -  Day by Day
21  -  New Month and Week   
22  -  Moon Phases
23  -  Full Moon
24  -  Dunnigan
25  -  Volume Increases
 26  -  Open Outer 20%
27  -  Narrow Range 7
28  -  Month by Month
29  -  Year by Year
30  -  4-Min by 4-Min 
31  -  Ask/Bid Volume
32  -  Buy/Sell Pressure 
33  -  Quarter by Quarter
Chart Actions    
40  -  Rebuild Visible Bars
50  -  Refresh 1st quantity
51  -  Refresh 2nd quantity
52  -  Refresh 3rd quantity
53  -  Refresh 4th quantity
54  -  Refresh 5th quantity
55  -  Refresh 6th quantity
56  -  Refresh 7th quantity   
60  -  Toggle Calendar Days   
98  -  Toggle Show Scale
99  -  Align Charts
190  -  Compress Bar Spacing
191  -  Expand Bar Spacing
192  -  Move Chart Up
193  -  Move Chart Down
194  -  Zoom Out
195  -  Zoom In
196  -  Move Leftward
197  -  Move Rightward 
198  -  Default Scale 
200  -  Repaint Chart
201  -  Recalculate Studies & Repaint
Keyboard Actions    
100  -  Time and Sales
101  -  Level II
102  -  Snap Quote
103  -  Print Chart
104  -  Print Data Set
105  -  Data to Clipboard
106  -  Image to Clipboard
107  -  PNG Color Set
108  -  Backspace Large Chart   
109  -  Edit Data Set
110  -  Delete Bar
111  -  Reset Chart Defaults   
112  -  Trade Detail
113  -  Previous Chart
114  -  Next Chart
115  -  Toggle Scroll
116  -  New Symbol
117  -  Big Cross
118  -  Save Chart Objects
119  -  Close Chart
180  -  News Stories
181  -  Toggle Bar Data Panel
182  -  Toggle Study Panel
183  -  Toggle Lines Panel
184  -  Toggle Show Bars
185  -  Toggle Show Volume
186  -  Toggle Show Studies
187  -  Toggle Show Lines
189  -  Sim-Broker

 


Last modified 8/31/09 3:38 PM