buy next bar at market; if Marketposition > 0 and Barssinceentry >= 20 then sell ("LX-Bar") next bar at market; Value90 = ExportTrades("C:\Reports\Your_File_Name.csv")