Every Easy Insurace checks every position. Long and Short. If we want to restrict a insurance to only work when the position is long we can do that by checking the current position direction and setting the result based on that.
IfElse will return value1 when GetPositionDirection equals PositionLong else value2