DYO: Show two different messages
|
Q: My question of how to show the rising fall of this line from the 700V as a message to a section note on my range template in addition to drawing the line on the range chart as I have described.
A: In the DYO on the range chart that is doing the study transfer from the 700V chart, you will have to have something like the following which tests against a prior value stored in a GV, and then after the test move the current value to the GV so it will be present for next test.
In this example, assume your study value from 700V is in GV[21], and we will test it against a prior value in GV[250]. Line A is testing for a higher value (Rising) and this is used by the conditional Section 1 message. Line B transfers [21] to [250] for testing on the next calculation.
I think you will have problems with this in that the 700V passes values when it calculates, and the range tests values when it ticks. So you are comparing the last 2 passed values, or possibly the same value because [21] has not changed. Also, the past two values passed do not necessarily represent the value of the study line at the PRIOR bar. Example, current value might be 70 and then current value updates to be 65, so the study looks like it is falling. Yet study value at prior bar position might be 50 so both study values for the current bar would be a rising line regardless of whether it is 50 going to 65 or 50 going to 70.
I do not have a suggestion for the fact that the range chart does not know the study value at the prior bar unless you also pass it in a different GV on the 700V chart. That DYO could read study value at Bar Offset -1 and then pass it in say [22]. Then the Line A test could be between [21] and [22] and eliminate [250] being set by Line B.
Last modified 8/8/08 12:58 PM
|