Forum: ThinkOrSwim
November 22nd, 2014, 04:02 PM
|
Replies: 0
Views: 4,234
Pine Script Translation Request: ValueWhen
Could someone please help me translate the following Pine Script line into ThinkScript:
hlv = valuewhen(hld != 0, hld, 1)
Here's the Pine Script manual's explanation for "valuewhen":
valuewhen...
|