I’m calculating MACD in my algo using my 1-minute candles. I implemented EMA (12, 26) and signal line (9), but when I compare with chart values, they don’t match exactly. Candle data looks…
Newest discussions
AskI’m running a live trading algo using WebSocket ticks, but sometimes the connection drops suddenly. After that, no data comes and the algo just hangs. Error Message: “Socket Error 1006…
I’m using broker APIs like Zerodha and Angel One, and I noticed that they give cumulative volume instead of per-tick or per-candle volume.Because of this, I’m not able to calculate correct…
I have already implemented dynamic strike selection (ATM/ITM/OTM) and also handled strike gap while working in my Super trend algo. Now I am stuck at the next step — I have something like…
I’m building an algo trading system and need to fetch historical data (like 1-minute candles) from Zerodha.I saw the historical\_data function but not sure what’s the correct way to use it…
27Suppose I don’t want to buy a Nifty Option at the current price of ₹90. I only want to enter if it crosses ₹100, because that’s when the “breakout” happens. But I can’t sit and stare at…
28I trade across multiple accounts — mine plus my clients’.The issue I face is that when a signal comes in, the orders don’t hit all accounts at the exact same time. Some get a better…
I’m building an supertrend algo where I need to fetch historical data for multiple stocks at startup. Right now I’m looping over all symbols and calling the historical API, but after a few…
I am using the three different brokers accounts. Suppose for broker 1 sends the symbol as NIFTY26APR22500CE, but Brocker2 expects a specific numeric Token and a Broker3 wants a different…
EMA/SMA values not matching chart in my algo (using 1-min candles) I’m calculating EMA and SMA in my algo using 1-minute candles built from ticks. But when I compare it with broker/chart…
I want to trade multiple positions at the same time—like a Nifty Call and a BankNifty Put now my problem is that I want to exit everything when my total profit reaches ₹5,000, so no matter…
I’m using Camarilla pivot in my algo and calculating it from 1-minute candles. I’m already checking HLC properly, but still the pivot levels are not matching chart values. Am I missing…
I’m running a Supertrend based algo, but at market open (9:15), the signals are completely wrong for the first few minutes. After that, everything becomes normal. I’m generating my own…