How do i put date and time restriction in my EA trade script? Eg: I want to back test script only from 6pm to 11 pm

I would also like to know how to exit a trade wit 10 points profit from entry price.

hElLO tRaDeR,

Tradescript recognizes only candlestick conditions to give you trade alerts for entry and exit.

There is no function in Tradescript language to define backtest conditions based on specific times of the day or creating an exit alert based on your trade entry price.