PureBytes Links
Trading Reference Links
|
I hate to impose,
But the object here is to identify a chart pattern, here it is an outside
day. Then create an ordr active state where we buy oe sell at the high or
low of the defined period. For example, an outside day is identified, then
we buy the high of that day only
(the one identified as an outside day) and that high only over the next 2 to
9 day period. The question is what has to be added or subtracted from the
code below to achieve this. Any help is appreciated.
Thanks in advance,
Joe
Var: Counter(0);
Array: MyArray[10](0);
If high > high[1] and low < low[1] then
Begin
For Counter = 9 DownTo 0
Begin
MyArray[Counter +1] = MyArray[Counter];
end;
MyArray[0] = high;
Print(Date:6:0," ",MyArray[0]);
Plot1(MyArray[0],"Array");
end;
|