PineConnector

alert() with multiple symbols, dynamic stoploss and take profits

Greetings,

This script is an adaptation from the one shared on Tradingview's official blog.

The purpose is to make the alert() more user friendly by adding editable components mostly at the top.
The script should benefit users who use alerts to automate trades on their Metatrader 4/Metatrader 5 etc

The script will showcase an EMA crossover with set TP and SL, in its simplest form.
The limitation is that you can only have 8 pairs (with both long and short alerts) concurrently.

Changes:
1) editable long and short conditions
2) editable TP and SL for both short and long
3) plotting of arrows when alerts are supposed to trigger
4) changed the message to be more of a command (to edit based on your syntax requirements)
5) changed list of symbols to be mainly FX pairs (bottom)

Do let me know if there are components I should add or remove.

Cheers

Automate your trading with Tradingview alerts to Metatrader 4/5 using webhooks.

Start your 7-day free trial now @ www.pineconnector.com/. Credit card not required.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?