Reply To: A few scripting questions

Optuma Forums Optuma Scripting A few scripting questions Reply To: A few scripting questions

#65599
Jeffrey
  • Topics: 10
  • Replies: 4
  • Posts: 14

Hi Jeffrey,

Try this:

l1 = BARTYPES().Lower;
h1 = HIGH();
(l1[1] == 1) and (h1 > h1[1])

The signals are working as I specified. Thank you!
As I have ran this, I realized that I made a mistake in my description. How would I get this to give a signal upon exceeding and “closing” beyond the previous bar as opposed to just exceeding the previous bar’s price then retracing back within it’s range?

Pin It on Pinterest