# Algos, strategies, code

**URL:** https://tradingqna.com/c/algos-strategies-code/6.md?page=1

[Latest](https://tradingqna.com/latest.md) · [Categories](https://tradingqna.com/categories.md)

**Page:** 2

---

## [Looking for Nifty Historical Tick / 5-Second Data for Deep Backtesting (Last 5-10 Years)](https://tradingqna.com/t/looking-for-nifty-historical-tick-5-second-data-for-deep-backtesting-last-5-10-years/197005)

<div class="topic-metadata">

**Author:** [@Shubham\_moonat](https://tradingqna.com/u/Shubham_moonat)\
**Replies:** 1\
**Last updated:** [August 13, 2026, 9:50am UTC](https://tradingqna.com/t/looking-for-nifty-historical-tick-5-second-data-for-deep-backtesting-last-5-10-years/197005 "2026-08-13T09:50:23Z")

</div>

Hi community, I am working on a high-frequency scalping algo and need Nifty 50’s 5-second candle data (or raw tick data) spanning the last 10 years for historical backtesting. Since standard broker APIs cap history at…

---

## [Streak conditions for Hilega Mikega Setup](https://tradingqna.com/t/streak-conditions-for-hilega-mikega-setup/186262)

<div class="topic-metadata">

**Author:** [@Firoz\_Anwar](https://tradingqna.com/u/Firoz_Anwar)\
**Replies:** 2\
**Last updated:** [August 16, 2026, 5:04am UTC](https://tradingqna.com/t/streak-conditions-for-hilega-mikega-setup/186262 "2026-08-16T05:04:24Z")

</div>

There is a popular strategy called HILEGA MILEGA by NK, which is based on RSI9, WMA and EMA. I need to create those same conditions on streak scanner. Can you please suggest me how to do that. Please send me and also sh…

---

## [How do you handle crossed states and latent matching loops in NSE Equity Order Book?](https://tradingqna.com/t/how-do-you-handle-crossed-states-and-latent-matching-loops-in-nse-equity-order-book/196807)

<div class="topic-metadata">

**Author:** [@Ali\_Tokur](https://tradingqna.com/u/Ali_Tokur)\
**Replies:** 2\
**Last updated:** [August 8, 2026, 6:23pm UTC](https://tradingqna.com/t/how-do-you-handle-crossed-states-and-latent-matching-loops-in-nse-equity-order-book/196807 "2026-08-08T18:23:53Z")

</div>

Hi everyone, I am currently developing a local order book builder using the tick-by-tick (TBT) / Level 2 data feed for the Indian Equity market (NSE). While processing the order book packets, I occasionally encounter a…

---

## [AMIBROKER data feed](https://tradingqna.com/t/amibroker-data-feed/25376)

<div class="topic-metadata">

**Author:** [@suvoge](https://tradingqna.com/u/suvoge)\
**Replies:** 3\
**Last updated:** [August 8, 2026, 10:36am UTC](https://tradingqna.com/t/amibroker-data-feed/25376 "2026-08-08T10:36:52Z")

</div>

Hello group mate Can you please suggest me some good real time data feeder for amibroker. Golbal data feed is too much expensive for me.

---

## [Static ip issue](https://tradingqna.com/t/static-ip-issue/194733)

<div class="topic-metadata">

**Author:** [@tradewealth](https://tradingqna.com/u/tradewealth)\
**Replies:** 7\
**Last updated:** [July 29, 2026, 7:28am UTC](https://tradingqna.com/t/static-ip-issue/194733 "2026-07-29T07:28:36Z")

</div>

@Matti I have run into a corner case scenario. I was trying to update the ip on profile page .I had access to that particular ip through aws but system didn’t let me update it as someone had registered that. I was just …

---

## [AngelOne API not working on Oracle Cloud — IP blocked?](https://tradingqna.com/t/angelone-api-not-working-on-oracle-cloud-ip-blocked/192367)

<div class="topic-metadata">

**Author:** [@TheQuantBros](https://tradingqna.com/u/TheQuantBros)\
**Replies:** 8\
**Last updated:** [July 24, 2026, 3:42am UTC](https://tradingqna.com/t/angelone-api-not-working-on-oracle-cloud-ip-blocked/192367 "2026-07-24T03:42:18Z")

</div>

AngelOne API is not working on my Oracle free tier instance. Same code works fine on my local machine. I think AngelOne has blacklisted Oracle’s IP range. Anyone faced this? How did you fix it?

---

## [Streak - Force Stop](https://tradingqna.com/t/streak-force-stop/196214)

<div class="topic-metadata">

**Author:** [@BERUS](https://tradingqna.com/u/BERUS)\
**Replies:** 1\
**Last updated:** [July 22, 2026, 11:52am UTC](https://tradingqna.com/t/streak-force-stop/196214 "2026-07-22T11:52:14Z")

</div>

How to force stop a strategy on new Streak, is the option there or remove on the new app?

---

## [Historical API for MCX indices only returns 9:15–15:30 data, but KiteTicker streams till MCX close (23:30)](https://tradingqna.com/t/historical-api-for-mcx-indices-only-returns-9-15-15-30-data-but-kiteticker-streams-till-mcx-close-23-30/195894)

<div class="topic-metadata">

**Author:** [@Sanghamitra\_R\_J](https://tradingqna.com/u/Sanghamitra_R_J)\
**Replies:** 1\
**Last updated:** [July 13, 2026, 11:45am UTC](https://tradingqna.com/t/historical-api-for-mcx-indices-only-returns-9-15-15-30-data-but-kiteticker-streams-till-mcx-close-23-30/195894 "2026-07-13T11:45:54Z")

</div>

There seems to be a mismatch between the historical candle API and live ticks for MCX indices. KiteTicker: We receive ticks for MCX indices from 09:00 to 23:30, which matches MCX market hours. Historical API: For the s…

---

## [How to copy these scanners on Streak?](https://tradingqna.com/t/how-to-copy-these-scanners-on-streak/194204)

<div class="topic-metadata">

**Author:** [@Pawan\_Putra\_1819](https://tradingqna.com/u/Pawan_Putra_1819)\
**Replies:** 14\
**Last updated:** [June 30, 2026, 11:52am UTC](https://tradingqna.com/t/how-to-copy-these-scanners-on-streak/194204 "2026-06-30T11:52:09Z")

</div>

I found this 52 week breakout scanners interesting along with other scanners on the new platform of Streak (amazing btw). I am looking to copy it on my id. how to do it?

---

## [how to enable algo trading ?](https://tradingqna.com/t/how-to-enable-algo-trading/194984)

<div class="topic-metadata">

**Author:** [@TAPANKUMAR](https://tradingqna.com/u/TAPANKUMAR)\
**Replies:** 0\
**Last updated:** [June 14, 2026, 10:49am UTC](https://tradingqna.com/t/how-to-enable-algo-trading/194984 "2026-06-14T10:49:38Z")

</div>

Please guide how to enable algo trading with Zerodha trading app

---

## [I win less than 4 in 10 trades. My equity curve still goes up. Here's why](https://tradingqna.com/t/i-win-less-than-4-in-10-trades-my-equity-curve-still-goes-up-heres-why/194594)

<div class="topic-metadata">

**Author:** [@Fn1x](https://tradingqna.com/u/Fn1x)\
**Replies:** 3\
**Last updated:** [June 12, 2026, 5:35pm UTC](https://tradingqna.com/t/i-win-less-than-4-in-10-trades-my-equity-curve-still-goes-up-heres-why/194594 "2026-06-12T17:35:10Z")

</div>

Three months ago I started logging every trade because I wanted to stop lying to myself about my performance. No gut feeling, no “I’m profitable overall” without proof. Just raw numbers. After 23 trades, the first thing…

---

## [Additional surveillance measure](https://tradingqna.com/t/additional-surveillance-measure/178131)

<div class="topic-metadata">

**Author:** [@suri](https://tradingqna.com/u/suri)\
**Replies:** 6\
**Last updated:** [June 3, 2026, 6:26am UTC](https://tradingqna.com/t/additional-surveillance-measure/178131 "2026-06-03T06:26:34Z")

</div>

Can i short a stock for intraday when that stock is in ASM? @ShubhS9

---

## [Can we recreate 5 EMA strategy of Power of Stocks on Streak?](https://tradingqna.com/t/can-we-recreate-5-ema-strategy-of-power-of-stocks-on-streak/194600)

<div class="topic-metadata">

**Author:** [@Pawan\_Putra\_1819](https://tradingqna.com/u/Pawan_Putra_1819)\
**Replies:** 9\
**Last updated:** [June 2, 2026, 7:26am UTC](https://tradingqna.com/t/can-we-recreate-5-ema-strategy-of-power-of-stocks-on-streak/194600 "2026-06-02T07:26:35Z")

</div>

Hi, I was wondering if someone from Streak or traders in general who use Streak can help me recreate 5 EMA strategy of power of stocks? Timeframe:15 Minutes Indicator: 5 Exponential Moving Average (5 EMA). The Alert C…

---

## [Static ip for algo-trading in zerodha](https://tradingqna.com/t/static-ip-for-algo-trading-in-zerodha/189901)

<div class="topic-metadata">

**Author:** [@NEOXY\_Gaming](https://tradingqna.com/u/NEOXY_Gaming)\
**Replies:** 32\
**Last updated:** [May 29, 2026, 3:54pm UTC](https://tradingqna.com/t/static-ip-for-algo-trading-in-zerodha/189901 "2026-05-29T15:54:32Z")

</div>

@Arockiya\_Raja From when Zerodha is going to ask for static ip for algo-trading ? and how we have to provide the static ip to zerodha from mail or i have to enter it in zerodha api app ?

---

## [Built My Own F&O Trading System — Here’s Week 1](https://tradingqna.com/t/built-my-own-f-o-trading-system-here-s-week-1/194283)

<div class="topic-metadata">

**Author:** [@TheQuantBros](https://tradingqna.com/u/TheQuantBros)\
**Replies:** 20\
**Last updated:** [May 24, 2026, 1:24am UTC](https://tradingqna.com/t/built-my-own-f-o-trading-system-here-s-week-1/194283 "2026-05-24T01:24:45Z")

</div>

After months of building, testing, debugging, and improving… My first F&O algo trading system just completed its first full week in paper trading. :rocket: Honestly, seeing my own system execute trades automatically in…

---

## [I want to execute my options strategy on a particular time. How can it be done in Streak?](https://tradingqna.com/t/i-want-to-execute-my-options-strategy-on-a-particular-time-how-can-it-be-done-in-streak/194272)

<div class="topic-metadata">

**Author:** [@Pawan\_Putra\_1819](https://tradingqna.com/u/Pawan_Putra_1819)\
**Replies:** 3\
**Last updated:** [May 22, 2026, 9:47am UTC](https://tradingqna.com/t/i-want-to-execute-my-options-strategy-on-a-particular-time-how-can-it-be-done-in-streak/194272 "2026-05-22T09:47:29Z")

</div>

Help me on this.

---

## [Anyone else feel like manual trading works better than algos in this market?](https://tradingqna.com/t/anyone-else-feel-like-manual-trading-works-better-than-algos-in-this-market/194216)

<div class="topic-metadata">

**Author:** [@Stock\_Freak](https://tradingqna.com/u/Stock_Freak)\
**Replies:** 2\
**Last updated:** [May 22, 2026, 6:08am UTC](https://tradingqna.com/t/anyone-else-feel-like-manual-trading-works-better-than-algos-in-this-market/194216 "2026-05-22T06:08:06Z")

</div>

Markets have been extremely volatile lately and I’ve started wondering whether manual trading actually works better than algos in these conditions. Algos obviously have advantages like speed and emotionless execution, b…

---

## [Built a trading app, SEBI IP restriction has killed it before it even started, need some clarity](https://tradingqna.com/t/built-a-trading-app-sebi-ip-restriction-has-killed-it-before-it-even-started-need-some-clarity/194202)

<div class="topic-metadata">

**Author:** [@Sushen\_Sharma](https://tradingqna.com/u/Sushen_Sharma)\
**Replies:** 7\
**Last updated:** [May 22, 2026, 3:38am UTC](https://tradingqna.com/t/built-a-trading-app-sebi-ip-restriction-has-killed-it-before-it-even-started-need-some-clarity/194202 "2026-05-22T03:38:40Z")

</div>

Hey everyone, Been building a trading app for past 3 years, solo, and hit a wall I can’t figure out on my own so thought of posting here. The app has two things I am really happy about. One is dynamic stoploss, you set…

---

## [Ticks delayed by \> 1 second consistently](https://tradingqna.com/t/ticks-delayed-by-1-second-consistently/193331)

<div class="topic-metadata">

**Author:** [@bkt](https://tradingqna.com/u/bkt)\
**Replies:** 10\
**Last updated:** [May 20, 2026, 3:29am UTC](https://tradingqna.com/t/ticks-delayed-by-1-second-consistently/193331 "2026-05-20T03:29:48Z")

</div>

Ticks through WebSocket are delayed by more than 1 second. At first, I thought the issue was in my code, as the 5-minute OHLC consistently showed the Close price using the second-last tick of the 59th second (Normally I…

---

## [Built an automated NIFTY options bot on Zerodha Kite — Iron Condor + Butterfly + directional. Sharing what I learned](https://tradingqna.com/t/built-an-automated-nifty-options-bot-on-zerodha-kite-iron-condor-butterfly-directional-sharing-what-i-learned/194200)

<div class="topic-metadata">

**Author:** [@yaaramanil\_kumar](https://tradingqna.com/u/yaaramanil_kumar)\
**Replies:** 0\
**Last updated:** [May 20, 2026, 3:18am UTC](https://tradingqna.com/t/built-an-automated-nifty-options-bot-on-zerodha-kite-iron-condor-butterfly-directional-sharing-what-i-learned/194200 "2026-05-20T03:18:35Z")

</div>

Over the past few months I built a fully automated NIFTY 50 options trading system on Zerodha Kite Connect. Wanted to share the architecture and get feedback from people who’ve done similar things. What it does: Rea…

---

## [Need crude oil 1 minute candle data for backtesting](https://tradingqna.com/t/need-crude-oil-1-minute-candle-data-for-backtesting/193989)

<div class="topic-metadata">

**Author:** [@ajan\_selvam](https://tradingqna.com/u/ajan_selvam)\
**Replies:** 5\
**Last updated:** [May 14, 2026, 4:42am UTC](https://tradingqna.com/t/need-crude-oil-1-minute-candle-data-for-backtesting/193989 "2026-05-14T04:42:36Z")

</div>

where can i get last 5 to 10 years 1 minute candle data for continous crude oil mcx?

---

## [Free portfolio tracker I built — no login, data stays on your device](https://tradingqna.com/t/free-portfolio-tracker-i-built-no-login-data-stays-on-your-device/193974)

<div class="topic-metadata">

**Author:** [@Rakesh\_Kumar10](https://tradingqna.com/u/Rakesh_Kumar10)\
**Replies:** 6\
**Last updated:** [May 12, 2026, 12:42pm UTC](https://tradingqna.com/t/free-portfolio-tracker-i-built-no-login-data-stays-on-your-device/193974 "2026-05-12T12:42:30Z")

</div>

Managing investments across multiple brokers with Excel was getting messy for me. Every tool I tried either required a login or asked me to share my financial data with a third party — which I wasn’t comfortable with. S…

---

## [Position Sizing and Money Management Trading Strategy](https://tradingqna.com/t/position-sizing-and-money-management-trading-strategy/127866)

<div class="topic-metadata">

**Author:** [@KirubaKaran](https://tradingqna.com/u/KirubaKaran)\
**Replies:** 2\
**Last updated:** [May 10, 2026, 5:18pm UTC](https://tradingqna.com/t/position-sizing-and-money-management-trading-strategy/127866 "2026-05-10T17:18:54Z")

</div>

Many beginners give utmost importance to trading strategy but least bothered about position sizing. Knowing how much is too much in a trade? This information is very crucial which determines the long term success of a tr…

---

## [how to calculate volume from last tick on zerodha?](https://tradingqna.com/t/how-to-calculate-volume-from-last-tick-on-zerodha/193761)

<div class="topic-metadata">

**Author:** [@zaz](https://tradingqna.com/u/zaz)\
**Replies:** 0\
**Last updated:** [May 4, 2026, 10:12am UTC](https://tradingqna.com/t/how-to-calculate-volume-from-last-tick-on-zerodha/193761 "2026-05-04T10:12:35Z")

</div>

if I am understanding it correctly then vol\_trades gives total vol of the day, but on ticks i am getting in some it LTP changes but the volume remains the same example-{‘time’: datetime.datetime(2026, 5, 4, 15, 9, 47),…

---

## [Upstox fraud with me](https://tradingqna.com/t/upstox-fraud-with-me/185058)

<div class="topic-metadata">

**Author:** [@Md\_Muzakkir\_Huda](https://tradingqna.com/u/Md_Muzakkir_Huda)\
**Replies:** 2\
**Last updated:** [May 2, 2026, 9:57am UTC](https://tradingqna.com/t/upstox-fraud-with-me/185058 "2026-05-02T09:57:34Z")

</div>

I just placed a filet.fashion GTT order in Upstox, buy limit - .59 paisa, stoploss .51 paisa and target .60 paisa, Upstox bought it for .60 paise and sold it for .59 paise, how is it possible

---

## [How do you reliably get into order book and exit?](https://tradingqna.com/t/how-do-you-reliably-get-into-order-book-and-exit/193460)

<div class="topic-metadata">

**Author:** [@bkt](https://tradingqna.com/u/bkt)\
**Replies:** 8\
**Last updated:** [April 27, 2026, 9:18am UTC](https://tradingqna.com/t/how-do-you-reliably-get-into-order-book-and-exit/193460 "2026-04-27T09:18:58Z")

</div>

@Zerodha and community members, Yesterday my exit order through API hit a problem: placed a MARKET BUY with market protection of -1 to close a short, price moved against me quickly, the market protection (default ~3% on…

---

## [API market\_protection parameter — clarification needed on correct usage](https://tradingqna.com/t/api-market-protection-parameter-clarification-needed-on-correct-usage/193504)

<div class="topic-metadata">

**Author:** [@kamalgaur](https://tradingqna.com/u/kamalgaur)\
**Replies:** 3\
**Last updated:** [April 27, 2026, 5:17am UTC](https://tradingqna.com/t/api-market-protection-parameter-clarification-needed-on-correct-usage/193504 "2026-04-27T05:17:11Z")

</div>

Hi, I am running an automated algo trading bot for CNC delivery orders on NIFTYBEES (NSE) using the KiteConnect Python SDK. I ran into a sequence of errors today and wanted to document what happened and ask for clarific…

---

## [Best no-code algo platform for MCX commodities? (Streak alternatives)](https://tradingqna.com/t/best-no-code-algo-platform-for-mcx-commodities-streak-alternatives/193538)

<div class="topic-metadata">

**Author:** [@Shubha\_dip](https://tradingqna.com/u/Shubha_dip)\
**Replies:** 0\
**Last updated:** [April 26, 2026, 3:08am UTC](https://tradingqna.com/t/best-no-code-algo-platform-for-mcx-commodities-streak-alternatives/193538 "2026-04-26T03:08:42Z")

</div>

Hi everyone, I want to automate my short-term MCX trades through Zerodha. Streak still doesn’t support the MCX segment. Even though I can build custom bots in Python, I’m looking for a pure, reliable no-code platform r…

---

## [No code Algo trading](https://tradingqna.com/t/no-code-algo-trading/193444)

<div class="topic-metadata">

**Author:** [@sn88](https://tradingqna.com/u/sn88)\
**Replies:** 1\
**Last updated:** [April 22, 2026, 12:37pm UTC](https://tradingqna.com/t/no-code-algo-trading/193444 "2026-04-22T12:37:24Z")

</div>

Hello Zerodha Team, Is zerodha planning to launch any tool for No code deployment of algo trading? May be prompt based algo converted to trading strategies and deployment for order punching. I know we have streak onboa…

---

## [TEMA calculations on Zerodha](https://tradingqna.com/t/tema-calculations-on-zerodha/193430)

<div class="topic-metadata">

**Author:** [@thomasss](https://tradingqna.com/u/thomasss)\
**Replies:** 0\
**Last updated:** [April 22, 2026, 6:17am UTC](https://tradingqna.com/t/tema-calculations-on-zerodha/193430 "2026-04-22T06:17:33Z")

</div>

Hi, For option contract - zerodha reset the TEMA values at the start of the day - what is the logic behind the reset?

[Previous page](https://tradingqna.com/c/algos-strategies-code/6.md)

[Next page](https://tradingqna.com/c/algos-strategies-code/6.md?page=2)
