- Topics: 33
- Replies: 55
- Posts: 88
Thank you Matthew! Perfect! I am trying to figure out why your script works and how to apply that understanding to future scripting.
V1 = STRDATE(DATE=2022-03-08) ;
V2 = BARDATE() ;
V3 = VALUEWHEN(V1 == V2) ;
CLOSE() < V3
VALUEWHEN returns a value when a criteria is met. Okay. Why does the BARDATE function not have V1 imbedded? What is V3 in words? Find the value when 03/08/2022 is equal to what? I am missing something. Thank you.
- This reply was modified 2 weeks ago by Louis Spector.