You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to create a financial astrology based application (say something like Gannzilla.com ) that needs to interface with Tradingview with the historical price data shown either in the normal charts or the backtesting chart which is shown when using the Replay function in TradingView.
Consider the following actions expressed in 2 different scenarios, which a user might perform with his Tradingview pro or premium subscription.
SCENARIO 1 - Locally Running web app sends timestamp data to TradingView to navigate historical price data:
The user has created a backtesting session on the H1 chart for OANDA:XAUUSD going back the past 12 months and added some common indicators (like RSI, 21EMA, 50EMA) as well as this PivotPoints High Low built-in indicator. He has exported the backtest data as a CSV file . In the exported CSV file, the user will use the rows where the Pivot High, Pivot Low columns in the CSV file prints the price value (rest of rows will be NaNs ) as timestamp markers to navigate on a timeline, this can be done in pandas
With these timestamp markers in the CSV file my Financial Astrology app will create snap points in a a timeline navigator (with previous / next button) to shift through the swing hi-low point markers, when user clicks the previous / next button (these features are to be built using Vue or React JS). Now in the locally running Financial Astrology Web app the user see the planetary positions change as the user hits the previous / next button on the timeline navigator.
But what I want to achieve is, can the locally running WebApp also send the timestamp information back to TradingView via a WebSocket Connection or something, so that the user can also parallely see in TradingView the historical price action along with indicator data (corresponding to the received timestamp) on his TradingView Desktop or Web Application opened on a new window. In TradingView I want the viewport to focus and shift to the exact candle in the normal charts, where the timestamp belongs and may be add a triangle marker to show the current bar of interest that belongs to the timestamp received from the finAstro app or maybe the Bar Replay feature of TradingView receives the timestamp information from the external application via WebSocket and puts the appropriate price bar candle in focus?
Is it possible to do this with your API now?
SCENARIO 2 - Trading Bar Replay exports timestamp data as the bar replay is happening to external application via WebSocket
This scenario is the converse of scenario 1, where the user is running a live backtest with the bar replay in action, as the bar replay shift to the next price bar, the timestamp of the current price bar printed in the bar replay, needs to be exported to the external (locally running ) FinAstro Web App via WebSocket so that it can show the planetary positions corresponding to the current price bar's timestamp shown in the Bar Replay in TradingView.
Kindly also let me know if this scenario2 is also feasible to implement using your API?
Any ideas or suggestion to implement the above would also be great.
Best Regards,
Dilip
The text was updated successfully, but these errors were encountered:
Hi, I am trying to create a financial astrology based application (say something like Gannzilla.com ) that needs to interface with Tradingview with the historical price data shown either in the normal charts or the backtesting chart which is shown when using the
Replay
function in TradingView.Consider the following actions expressed in 2 different scenarios, which a user might perform with his Tradingview pro or premium subscription.
SCENARIO 1 - Locally Running web app sends timestamp data to TradingView to navigate historical price data:
The user has created a backtesting session on the H1 chart for OANDA:XAUUSD going back the past 12 months and added some common indicators (like RSI, 21EMA, 50EMA) as well as this
PivotPoints High Low
built-in indicator. He has exported the backtest data as a CSV file . In the exported CSV file, the user will use the rows where thePivot High
,Pivot Low
columns in the CSV file prints the price value (rest of rows will beNaNs
) as timestamp markers to navigate on a timeline, this can be done inpandas
With these timestamp markers in the CSV file my Financial Astrology app will create snap points in a a timeline navigator (with previous / next button) to shift through the swing hi-low point markers, when user clicks the previous / next button (these features are to be built using Vue or React JS). Now in the locally running Financial Astrology Web app the user see the planetary positions change as the user hits the previous / next button on the timeline navigator.
But what I want to achieve is, can the locally running WebApp also send the timestamp information back to TradingView via a WebSocket Connection or something, so that the user can also parallely see in TradingView the historical price action along with indicator data (corresponding to the received timestamp) on his TradingView Desktop or Web Application opened on a new window. In TradingView I want the viewport to focus and shift to the exact candle in the normal charts, where the timestamp belongs and may be add a triangle marker to show the current bar of interest that belongs to the timestamp received from the finAstro app or maybe the Bar Replay feature of TradingView receives the timestamp information from the external application via WebSocket and puts the appropriate price bar candle in focus?
Is it possible to do this with your API now?
SCENARIO 2 - Trading Bar Replay exports timestamp data as the bar replay is happening to external application via WebSocket
This scenario is the converse of scenario 1, where the user is running a live backtest with the bar replay in action, as the bar replay shift to the next price bar, the timestamp of the current price bar printed in the bar replay, needs to be exported to the external (locally running ) FinAstro Web App via WebSocket so that it can show the planetary positions corresponding to the current price bar's timestamp shown in the Bar Replay in TradingView.
Kindly also let me know if this scenario2 is also feasible to implement using your API?
Any ideas or suggestion to implement the above would also be great.
Best Regards,
Dilip
The text was updated successfully, but these errors were encountered: