PureBytes Links
Trading Reference Links
|
> if blabla and cond then buy market;
>
> this gives me absolutely no buys. If I take off either of the two
> conditions in cond, it works fine.
I'd guess that "blabla" and "cond" never occur on the same bar.
Maybe they body occur a lot, but if they never occur at the SAME
TIME, the "and" will never be true.
Try writing an indicator that displays the values of blabla and cond
and see when they are true.
Gary
|