Problem in generated alerts?

Scripted alert give me the signal buy/sell in the generated alerts but when I click on buy/sell button in generated alerts it gives me an error : object reference not set to an instance of an object. What to do for taking trade ?...

Please post that code so that we will test it, and also try the same code in back test and check for any errors

1 Like

 Please update the below patch and try.

https://drive.google.com/uc?export=download&id=0B9bX9-dSIC9AdVUwTF9rZUVGR3c

Buy :
SET A = MACD(3, 6, 5, WEIGHTED)
SET B = MACDSignal(3, 6, 5, WEIGHTED)
CLOSE>BBM(CLOSE, 5, 2, WEIGHTED) AND CROSSOVER(A,B) AND RSI (CLOSE, 5) > 25 AND VROC(VOLUME, 5) > 0
Sell :
SET A = MACD(3, 6, 5, WEIGHTED)
SET B = MACDSignal(3, 6, 5, WEIGHTED)
CLOSE<BBM(CLOSE, 5, 2, WEIGHTED) AND CROSSOVER(B,A) AND RSI (CLOSE, 5) < 80 AND VROC(VOLUME, 5) < 0
when signal is generated then i go in generated alert window it show me the alert buy or sell and when i click on buy or sell it shows me the error : object reference not set to an instance of an object. . How can I do trading with scripted alert ? Can I do autotrading through scripted alert ?

thanks… now its working