LTP crosses the low of previous 15min candle


#1

Using Streak, I want to place a Buy order on a particular scrip when below condition satisfy: -

  1. 5 min Candlestick chart
  2. Enter in trade between 09:30AM and 2:45PM
  3. On Below Conditions:
    If(1st candle is Green)
    then Buy When LTP Crosses CLOSE of 1st candle
    else SELL When LTP Crosses OPEN of 1st candle

How can I add this condition in Streak?


#2

@Streak


#3

@AnilAwadh

Currently LTP is not supported as it cannot be reliably backtested.
But you can use 1min candle interval close for this.
Here is how:
Candle interval : 1min
Bullish Entry:
Opening range(close,5min) higher than Opening range(open,5min)
and close crosses above Opening range(close,5min)

Bearish Entry:
Opening range(close,5min) higher than Opening range(open,5min)
and close crosses below Opening range(open,5min)
Trade between : 09:31AM and 2:45PM

Note: Opening range lets you access the first candle of the day.
Backtest and check if this matched your requirements as per the charts.

Hope this helps.