Hi all,
In webhook requests, Pipedreams receves a text to send to telegram
Into the “request URL” I selected body to add.
I wish force a new line like in pinescript I use n\
Do u know how can I do it?
Hi all,
In webhook requests, Pipedreams receves a text to send to telegram
Into the “request URL” I selected body to add.
I wish force a new line like in pinescript I use n\
Do u know how can I do it?
Hi @a78m
First off, welcome to the Pipedream community. Happy to have you!
Can you share an example of input and the current configuration of your Telegram step?
From there we might be able to help pinpoint the issue.
Hi Pierce, thanks
this is my pinescript to get alerts in tradingview, and thank u for your help:
if bw?upb:na //buy
alert(message= syminfo.ticker + “; TF: " + timeframe.period + “n\mins” + " - CIRCLE long - n\price=” + str.tostring(PP) + ", n\TP1= " + str.tostring(TPL1) + ", n\TP2= " + str.tostring(TPL2)+ ", n\SL= " + str.tostring(TPS))//, alert.freq_once_per_bar))
*** here is the alert setting **
PAGE1:
*Here is the body selected:
body:BTCUSDT.P; TF: 15mins - CIRCLE long - price=16952.5, TP1= 17088.12, TP2= 17172.8825, SL= 16734.9457058243
select path
*** This is what I receive:**
ETHUSDT.P; TF: 15nmins - CIRCLE long - nprice=1291.65, nTP1= 1296.8166, nTP2= 1301.9832, nSL= 1274.85855
*This is what I would receive:
ETHUSDT.P; TF: 15nmins
Hi @a78m
Thanks for the explanation and context. I’ve never heard of Pinescript before!
If it was Javascript running within a Pipedream workflow, I could give more guidance. But you may want to try adding "\n"
in the lines where you want new lines.
\n
means add a new line to most languages. Pinescript may be different, but I’m not sure.
If that doesn’t work, I encourage you to read Pinescript docs and ask in their help channels.