PureBytes Links
Trading Reference Links
|
I would apprectiate some help on this:
var:CanShort(false);
if high > high[8] then begin
buy("1") at market;
CanShort=true;
end;
If CanShort and low < low[8] then begin
sell("2") at market;
Canshort=false;
end;
I want the CanShort to be true and stay true if a
trade was generated from the "1" entry. And I want
the short entry "2" to be generated only if CanShort
is True and then, if taken, to turn the CanShort to
False and stay false.
The way I have it written it does not work. Any help
would be appreciated.
Regards,
Mike Kittelson
=====
Regards,
Mike Kittelson
|