Let's look at the following
If Close>Average(Close,30,0) then Buy("SignalName1",1,0,market,day)
Buy("SignalName2",1,Highest(High,20,0),stop,day)
Exitlong("LESign1","SignalName1",1,lowest(Low,25,0),stop,day)
In this case if we are long using signal name...