I have this script:
Print(string.Format("Position: {0} | Precio > Prior: {1} | Precio > PP: {2}", Position.AvgPrice, Close[1]>PriorDayOHLC().PriorClose[0], Close[1]>Pivots(PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 20).PP[0]));
and whrn I go to the output windows, appears docens of tines with the same data:
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
Position: 0,7189 | Precio > Prior: True | Precio > PP: True
How can I say to only appear one line?
Thanks in advance.
Comment