Comment on Managing your Script

Satya Prakash Chaudhary commented on 23 Jul 2016, 01:13 PM

Hi Nitin

I need your comments on this:

Back Testing of Script
1. Why the back test always generates orders at the close price of the Candle when the script conditions are met, even when I do not tick the option “At end of candle”?
For example for the script CROSSOVER(SMA(CLOSE,7),SMA(CLOSE,14)), orders are always generated at the close price of the candle when crossover takes place. This happens even if I use “OPEN” as the VECTOR in the SMA script.

2. Whether this script will also generates alerts at close price when put to LIVE MARKET? If no does it generates alerts, at any given moment of time when crossover actually takes place?

Kindly explain the logic of the working of the script in LIVE market.


View the full comment thread »