OPEN-SOURCE SCRIPT

MACD signal with alert (long/short/close) for TV free account

已更新
Send MACD alert through email (available for free/pro user):
// 3 - buy
// -2 - short
// 0 - close position
// 1 - ignore

Example buy signal
Alert: STRAT3. BINANCE:BTCUSDTPERP, price = 31080

Example sell signal
Alert: STRAT-2. BINANCE:BTCUSDTPERP, price = 31080

Example close signal
Alert: STRAT0. BINANCE:BTCUSDTPERP, price = 31080

Example ignore signal
Alert: STRAT1. BINANCE:BTCUSDTPERP, price = 31080
版本注释
Corrected alertcondition's logic for exit/close position.
alertsbotCentered OscillatorscloseFREEfreesignalLONGmultipleOscillatorsshortsignalsTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明