// The Swing Traders Down Trend List
input="swingpre.lst";
output="swingdown.lst";
if MovAvg(0,17,cl) \< MovAvg(0,50,cl) and // The17 DMA below the 50 DMA today
MovAvg(0,50,cl) \< MovAvg(0,200,cl) // The 50 DMA is below the 200 DMA
then
println symbol,",",description;
endif;