PureBytes Links
Trading Reference Links
|
I am hoping someone can help with the following:
Using an oscillator such as %R as an example,
Vars: PR(0), C1(False), C2(False);
PR = PercentR(10);
Condition1= PR<PR[1] and PR[1]>=PR[2]; {Osc turns down}
C1= MRO(Condition1, 40, 1) <> -1;
C2 = MRO(Condition1, 40, 2) <> -1;
{ I want to capture the values of the highs at the turndowns of
C1 and C2 for comparison. For C1 I can..............}
If C1 then Value1 = PR[1]: { Is this correct?}
{I have brainlock on how to get the value of C2. Any help
would be appreciated.}
TIA,
Ian.
|