PureBytes Links
Trading Reference Links
|
hello,
i have a fib extend indicator which plots cop, op and xop levels ala
dinapoli on the screen.
my question is, can someone modify the code, that it will also put the fib
level as text on the screen?
i mean besides the dots the indicator should also display on the right side
the number of this level.
would be great , thanks jim
Inputs: DateHigh(1030814),DateLow(1030822), DateKorr(1030827),
COP(true),OP(true),XOP(false);
If Date=DateHigh then begin
value1 = high;
value11 = currentbar;
end;
If Date=DateLow then begin
value2 = low;
value12 = currentbar;
end;
If Date=Datekorr then begin
value10 = high;
value13 = currentbar;
end;
if currentbar >= value13 and currentbar >= value12 and value13 <> 0 and
value12 <> 0 then begin
value3 = value1 - value2;
Value4=(Value3 * 0.618) ; {COP}
Value5=Value3 ; {OP}
Value6=(Value3 * 1.618) ; {XOP}
If Value13 > Value12 and value12 > value11 then
Value7=Value10 - Value4 else Value7=Value10 + Value4;
If Value13 > Value12 and value12 > value11 then
Value8=Value10 - Value5 else Value8=Value10 + Value5;
If Value13 > Value12 and value12 > value11 then
Value9=Value10 - Value6 else Value9=Value10 + Value6;
If COP = true then
Plot1(Value7,"COP");
If OP = true then
Plot2(Value8,"OP");
If XOP = true then
Plot3(Value9,"XOP");
end;
|