대신증권 사이보스 트레이더 시스템트레이딩 예제



buypir = (900000/close)

If close > mov(close,20,s) And _
   close > mov(close,60,s) And _
   close > mov(close,120,s) And _
   close*0.05 < close - mov(close,5,s) And _
   close - mov(close,5,s) > 0 Then
   Call buy("buy",Onclose, buypir)
   End If
   
If close < mov(close,10,s) Or close < EntryPrice-EntryPrice*0.03 Then
   Call sell("sell")
   End If