We draw 4 equilateral triangles on the plane (not necessarily congruent) with no repeating vertices. Let $S$ denote the set of the 12 vertices of the triangles. Suppose $S$ has the property of not having a subset of 3 aligned points. What's the maximum number of squares that can exist with vertices from $S$?
This photo shows a construction that yields 3 squares. Can anyone do better?
Edit: 4 squares are achievable as proved by heropup. What about 5?

