![]() |
How to do ADV/DEC Ratio |
| 16:27 Confluence: I
tried writing a dyo for adv/decl ratio and i'm not sure what i'm doing
wrong
16:34 Ensign Howard: On the $AD-NYSE (IB) chart you can add a DYO like this 16:34 Ensign Howard: The Line A and B will reference the chart symbol's quote record and return the content of the Ask and Bid fields, where the Advance value and the Decline value are begin stored. 16:35 Ensign Howard: Line C then divides Advance by Decline and multiplies by 100 to make more of a percent. The * 100 is not needed by can be useful 16:36 Ensign Howard: The blank selection box defaults to the symbol of the chart the DYO is applied to 16:36 Confluence: so that will give me like a 4 to 1 ratio etc whatever the value is? 16:36 Ensign Howard: yes it will 16:36 Confluence: ok, gracias!! 16:36 Ensign Howard: one note, this DYO will update in real time but will not give back history on earlier bars on the chart when the chart is opened, it will continue to graph all the live data 16:37 Confluence: no problem, I just want current ratio difference 16:37 Ensign Howard: There is no history in getting data from the quote page, 16:37 Confluence: ok 16:37 Ensign Howard: you could store line C result in a GV and you can show it in a DYO section using the message text
16:38 Ensign Howard: Section message like this updated example 16:39 Ensign Howard: [C] is value from line C 16:39 Confluence: ah ok
16:39 Ensign Howard: Do not need to plot anything either. Here is the raw ratio for the section window 16:40 Confluence: ok, thanks Last updated 03/31/2008 |