Help on TradeScript

Hello,

I am new to TradeScript and have been using MetaStock before. I have written a simple strategy and getting error. Please help me on this:

set PR = high - low

trend ( PR,30 ) = down and
trend (volume, 30 ) = up

Did I miss any line terminator?

hElLO tRaDeR,

SCRIPT:

SET PR = HIGH - LOW 
TREND(PR,30) = DOWN 
TREND(VOLUME,30) = UP 

For troubleshooting Backtest Errors on Pi, read this post:

http://tradingqna.com/46073/wiki-zerodha-backtest-scanner-error-troubleshoot-checklist 

Unfortunately this is still not working. I want to run it as EoD scanner. Hence I put periodicity as hour, bar interval as 8, Days as 30 and have addded Nifty 50 as symbol

Hi, Pi The scanner works during trading hours only. For testing your strategy after market hours, use the backtest engine on Pi.

This basic information was helpful! Thanks.

Good to know, you are making an effort to learn tradescript. Thumps Up.