Can we write code to perform trade based on time and price?

Can we write code to perform trade based on time and price?

In tradescript based on time it is not possible but, based on price action you can do it check below EA script

If you are using amibroker conditions with both time and price is possible.

Hi Sreenivasulu,
Thanks for the information. Can you please help me in knowing more information about “Amibroker Conditions”. I know only Amibroker is charting software which is paid one.

in amibroker logic is very simple LastValue()= Price