SpicyTunaRoll
New member
I am wondering how I can add "sound.chimes" to my alerts when my strategy alerts a buy or sell. Does anyone have an idea on how I add that certain parameter into my alerts?
Here is a snippet of my thinkscript code. I am not sure where to add the sound. Help is appreciated.
AddOrder (OrderType.BUY_TO_OPEN, stochbuy, tickcolor = GetColor(1), arrowcolor = GetColor(1), name = "BUY");
#AddOrder(OrderType.SELL_TO_OPEN,stochsell, tickcolor = GetColor(4), arrowcolor = GetColor(4), name = "short");
AddOrder (OrderType.SELL_TO_CLOSE, stochsell, tickcolor = GetColor(5), arrowcolor = GetColor(5), name = "SELL");
#AddOrder(OrderType.BUY_TO_CLOSE,stochbuy, tickcolor = GetColor(6), arrowcolor = GetColor(6), name = "cover");
Here is a snippet of my thinkscript code. I am not sure where to add the sound. Help is appreciated.
AddOrder (OrderType.BUY_TO_OPEN, stochbuy, tickcolor = GetColor(1), arrowcolor = GetColor(1), name = "BUY");
#AddOrder(OrderType.SELL_TO_OPEN,stochsell, tickcolor = GetColor(4), arrowcolor = GetColor(4), name = "short");
AddOrder (OrderType.SELL_TO_CLOSE, stochsell, tickcolor = GetColor(5), arrowcolor = GetColor(5), name = "SELL");
#AddOrder(OrderType.BUY_TO_CLOSE,stochbuy, tickcolor = GetColor(6), arrowcolor = GetColor(6), name = "cover");