Category "tradingview-api"

Pine Script issue with repeated entries after strategy.exit

I've created a trading strategy in PineScript. I'm using strategy.entry to open longs and shorts (only one position at a time). And I am closing the current pos

TradingView alerts: how to setup a delay?

I'm reading a lot about it but can't find a way. I have a strategy doing like strategy.close("SELL", alert_message=closeShort_msg) strategy.entry("BUY", etc. A

TradingView Pine alert condition based on color change for Moving average slope

Im trying to add alert for colour change for this indicator 'moving average slope to determine market direction' by LukkVal. Tradingview doesnt give option to a

IB_insync - Sanic error after one successful order preventing any further orders

I'm writing an API using ib_insync, Sanic and ngrok to forward webhook signals from Tradingview onto Interactive Brokers. It works on only the first attempt and

Adding annotations to tradingview / lightweight-charts

I would like to add annotations(you could say it's a text note) to the tradingview as shown in the following picture. I tried to use series marker. but, it bot

TradinView problem with reading webhooks and running the page script

I have the following problem: In the TradingView application, I have alarms set and sending them via the URL Webhook to the address http://mpietraszewski.cba.pl

Reactjs build failed attempted import error: 'widget' is not exported

I created a new React project with Typescript and I copy and paste old file from another project which is just .jsx file. This file is importing a class called

plotting Candles as Seconds Timefame/ Chart(TradingView/Pinescript)

is there a way to plot candles as Seconds Timeframe, without using a timeframe.isseconds. found a calculation but i cant plot candle on it. // calculate bar tim

how to put script in the tradingview advanced widget

I want to put script ( https://www.tradingview.com/scripts/ ) in the tradingview advanced widget. And i understand that i use the studies property to add it to