Whats the equivalent of below pine script in think script?
In pine,
Thanks in Advance
In pine,
source1
-series is defined as having crossed under source2
-series if, on the current bar, the value of source1
is less than the value of source2
, and on the previous bar, the value of source1
was greater than or equal to the value of source2
Code:
ta.crossunder(source1, source2)
Thanks in Advance