Help with conditions

kindly assist!!

can I create a strategy on Finnifty, MidSeelct using Streak??

Hi @NithinKS

Kindly note that Streak currently does not support the Finnifty instrument in Dynamic Contracts. However, you can backtest and deploy strategies on the Finnifty Futures and Options by manually selecting the active futures contracts. Refer to the screenshot below for the steps to add the Finnifty contracts.

You can backtest and deploy the selected Finnifty Option and futures for the time of their contract validity, after the expiry of the contract you will have to manually select the active futures contract again.

Note: Midcap is not supported.

Hope this clarifies the doubt.

kindly help me create this scanner, this is a very good scanner.

1 Like

Hi @SheetalGhorpade

Kindly note that we have created the scanner that matches your requirements, refer to the image below:

Hope this helps.

Hi please help out!

Please refer to the image below, the OHLC and the entry-exit price don’t seem to be in the same range.

also, how come the target price is down when the script is falling it should be sl right??

Hi @NithinKS

The strategy is created using the “Dynamic Contract” feature. Thus, whenever you use strategies with DYC, the chart used to represent the entry and exits in the backtest report is in comparison to that of the spot chart i.e, in your case Nifty 50 chart.

Do note that the chart in backtest report doesn’t represent the actual traded instrument. You will have to verify the trades using the chart provided in the broker’s terminal (ChartIQ). Also, since you have used the PE contract the Entry and Target Profit are marked as per the Nifty chart.

Hope this helps.

@Streak plz explain me the difference between “crosses above” and “higher than” comparators with an example…

Hi @shravan_bembalagi

Let us understand the “crosses above” and “higher than equal to” concepts using an example: In general, if the condition on the previous candle is false and the condition on the current candle is true, then the cross above logic is said to have met.

Say for condition "Close(0) crosses above Supertrend(7,3,0) " to be true in a live market, the condition in the current candle should be true (i.e close being higher than Supertrend) and the condition in the previous candle should be false (i.e close being lower than Supertrend).

Now for condition "Close(0) higher than equal to Supertrend(7,3,0) " to be true, the condition in the current candle should be true (i.e. close being higher than equal to Supertrend).

To learn more about the concept of crossover and higher than, refer to the link below:

Hope this provides clarity.

How to build a BTST strategy?? please provide with the insights

Hi @samuel-7

You can refer to the below conditions where we have used the “Candle time” function. You can follow the same and make necessary changes and add required instuments at your discretion.

The above conditions will enter the trade on Monday at 3:20 pm and exit the trade the next day (Tuesday) at 9:15 am.

To learn more about the candle time function, refer to the link:
https://help.streak.tech/indicators/#candle-time

Hope this helps.

hello @Streak

How to refer to the entry price, say i want SL as the Entry price - High of the previous candle.

Thank you

Hi @shravan_bembalagi

You can refer to the Entry price by using the Trade Candle Feature. Trade Candle is the candle on which you entered the trade after your condition is met and the Entry order got triggered.

Therefore, you can use the condition for SL as given in the image below:

Hope this helps.

@Streak hai can you help to create strategy for me

condition 1 - when price close above 50 SMA and
condition 2 when RSI above 60

Hi @TradeB2B

Kindly note that er have shared conditions as per your requirement based on our understanding. Refer to the image below:

Hope this helps.

1 Like

I have a query regarding the expiries, if I have a CNC/NRML open order for 3 months, then during expiries will it automatically exit or do we have to set up conditions?

Hi @NithinKS

Kindly note that whenever you deploy a strategy, it will be live for 7 days. After 7 days the strategy will be stopped and Streak will not track the position further, however, the position in the broker platform will be live and you can exit manually at your discretion.

On the day of expiry, since the position is placed as an NRML order and not an MIS, it will not be squared off and in Streak it will remain active. You will need to manually stop the position (and can choose to exit it from your broker account).

Hope this clarifies.

My Condition is to BUY 50 shares when the Supertrend(14,3,0) crosses below Close(0) at 5-minute candle interval using the candlestick chart.

My question is If I change the Close(0) to Close(1), what happens exactly??

Hi @NithinKS

Kindly note that when you use the offset as “0” in function close(0), this will fetch the close price of the latest candle. However, when you use the offset as “-1” or “1” (offset -1 or 1 is the same), it will fetch the close price of one candle behind the current candle.

Refer to the illustration below to understand the same:

Hope this helps

Is it possible to select multiple stocks and backtest using CTB feature in a single click??

Also this

is it possible to check the conditions on both the charts i.e, Heikein ashi and Candlestick at a single go??

do help in this