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.
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?