Reply To: 50% All Time High / All Time Range

Optuma Forums Optuma Scripting 50% All Time High / All Time Range Reply To: 50% All Time High / All Time Range

#29023
Stephen
  • Topics: 0
  • Replies: 2
  • Posts: 2

Hi,

I am new to this scripting.

I tried to create the 50% All Time High / All Time Range as shown above but it won’t work. Is it supposed to be written exactly as shown above.  As soon as I type in P2 there is a message in red at the bottom saying please enter a valid script to add to this criteria. BELOW IS HOW I HAVE WRITTEN THE SCRIPT.

-Show Plot

-Chart Element

P1=LOWESTLOW(RANGE=All Time);

P2=HIGHESTHIGH(RANGE=All Time

(P1+P2) / 2

HIGHESTHIGH(RANGE=All Time)*0.50

Pin It on Pinterest