Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

messi93

Members
  • Content Count

    0
  • Joined

  • Last visited

Trading Information

  • Vendor
    No
  • Favorite Markets
    NYSE CBOE
  1. Hi guys good nigth, the last day I was codding some basic script but it doesent work properlly beacause, the script never plot any signal or make some order, if you can help me, I'll be grateful input mediamovilrapida = 4; input mediamovilintermedia = 9; input mediamovillenta = 18; def ema1 = SimpleMovingAvg (length = mediamovilrapida); def ema2 = SimpleMovingAvg (length = mediamovilintermedia); def ema3 = SimpleMovingAvg (length = mediamovillenta); def buy = mediamovilintermedia crosses above mediamovillenta; def sell = mediamovilintermedia crosses below mediamovillenta; AddOrder(type = OrderType.BUY_TO_OPEN, condition = buy, arrowColor = Color.LIME, name = "Cruce de medias"); AddOrder(type = OrderType.SELL_TO_CLOSE, condition = sell, arrowColor = Color.LIME, name = "Cruce de mediasVenta") .
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.