What is the correct delimiter for next line?
-
I am able to write data on the same line, but when I try to use the command \r\n or just \n so that the information appears on the next line, fxdreema does not recognize the text code input.
Does anyone know how to resolve this?
So I can make it appear using the + sign (delimiter).
XAUUSD BUY 2028.070000 TP 2029.070000 SL 2027.070000But the correct thing is like this:
XAUUSD BUY 2028.070000
TP 2029.070000
SL 2027.070000 -
I'm currently using this:
ATIVO + " " + DIRECAO + " " + DoubleToString(v::Preco_de_Entrada, 6) + " TP " + DoubleToString(v::Take_Profit, 6) + " SL " + DoubleToString(v::Stop_Loss, 6) + " ";

-
ATIVO + " " + DIRECAO + " " + DoubleToString(v::Preco_de_Entrada, 6) + "\nTP " + DoubleToString(v::Take_Profit, 6) + "\nSL " + DoubleToString(v::Stop_Loss, 6) + " ";
not working \n -
@fxDreema I tried to generate an mql block with the \n function but it seems to me that this function is not accepted in Fxdreema to implement in messages that are sent via the http block to Telegram, is there any other solution?
https://fxdreema.com/forum/assets/uploads/files/1569506163914-7def6979-4120-484d-96ac-695291a0e101-image.png

Here below the code
tele_message = "Open price: " + DoubleToString(open_price, _Digits) + "\n" +
"Stop Loss: " + DoubleToString(sl, _Digits) + "\n" +
"Take Profit: " + DoubleToString(tp, _Digits) + "\n" +
"Volume: " + DoubleToString(lots, 2) + " lots"; -
Does this help?
-
It used %250a
-
@sktsec I did a little test and it didn't work.
ACTIVE + "%250A" + DIRECTION
-
I achieved "%0a" is a correct Delimiter for this, thanks for you help @sktsec and for ChatGPT heheh