Reply To: Using Pivot(), but Not Working with Other Signals

Optuma Forums Optuma Scripting Using Pivot(), but Not Working with Other Signals Reply To: Using Pivot(), but Not Working with Other Signals

#53701
AvatarTrevor R
  • Topics: 91
  • Replies: 266
  • Posts: 357

Hi All,

Standing under the shower I had a bright idea  and so I changed my PivotSignal code to:

PivotSignal = if(PIVOT(MIN=11, TYPE=High), 1, 0);

Now “PivotSignal and OutsideSignal and EntrySignal” works as intended.

But, I still don’t understand why. My understanding is that “PIVOT(MIN=11, TYPE=High)” returns “1” which I’d have expected would work, but it seems that is not so. Any explanation as to why will be appreciated.

Cheers

Trevor

 

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close