TV strategy for fyers api bridge

My question is, if I have TV strategy in place and when I set an alert, how will I know in which timeframe buy or sell will be executed?

Best reply by Pranav Shandilya

Hey Chethan,
In TradingView's Pine Script, when you set an alert for a strategy, it will execute the buy or sell action based on the timeframe of the chart where the alert is triggered. The strategy will execute on the same timeframe as the chart where the alert is set.

For example, if you have a Pine Script strategy applied to a 1-hour chart and you set an alert on that chart, the strategy will execute based on the conditions specified in the strategy code on the 1-hour timeframe. The buy or sell action will be executed on the 1-hour timeframe.

Hope this helps :)

View original
1 reply