Do a complete for function (for(i = 1; i < BarCount-1; i++))
variable 1: kml2
variable 2: Down
variable 2: Up
buy: kml2[i]>Up[i] and fiter
Short: kml2[i]<Down[i] and fiter
if purchased and appears sell signal reverse, if purchased and appears another sign purchased maintain bought, and the same logic if it is sold.
if we are out and sign does not appear, continue out of the market.
besides considering a TimeFrame 1 'want to run the variables above 2' and another ([url removed, login to view]) turn in time with the timeframe of the graph 1 '.
together we buy and sell.