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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?