PureBytes Links
Trading Reference Links
|
I'm trying to program a study in which multiple buys or sells
are triggered by the same criteria (one entry the first time the
signal is given, the rest on repetitions), but the second and
later entries are taken only if the price is higher (for buys) or
lower (for sales) than it was for the last preceding entry.
I can do it for Price at Signal 2 > (or <) Price at Signal 1,
but I can't seem to figure a way to increment things for later
entries. Can anyone help with this?
Many thanks.
Owen Davies
|