Dear ALL,

Was wondering if someone would write a formula, for intraday 
trades,as per the following condotions, and the same could be used to 
backtest.

Buy(long) when the price closes higher than the previous candle, and 
the previous candle being the first candle of the day.
Exit when the close is lower than the close of the previous candle 
(trailing stop)

Sell (short)when the price closes below the close of the previous 
candle, and the orevious candle being the first candle of the day.

Cover when the close of the candle is above the close of the previous 
candle (trailing stop).

This is aimed at taking only the mornin trades.


Thanks and Regards

Ravi




Reply via email to