MTF Triangle Signal Alerts

Trading alert by @leilei0128 · Free · 0 likes · 0 users

About

MTF Triangle Signal Alerts is an alert that checks at every bar close. You can change one input: htftrendlen (default 50). It calculates h1 as 1-hour bars, h4 as 4-hour bars, h4ema as the EMA of h4.close over htftrendlen bars, trendup as whether h4.close is above h4ema, trenddown as whether h4.close is below h4ema, bull1h as whether h1.close is above h1.open and the previous bar's h1.close is below the previous bar's h1.open, bear1h as whether h1.close is below h1.open and the previous bar's h1.close is above the previous bar's h1.open, bull4h as whether h4.close is above h4.open and the previous bar's h4.close is below the previous bar's h4.open, bear4h as whether h4.close is below h4.open and the previous bar's h4.close is above the previous bar's h4.open, htfbullishobflag as whether bull1h or bull4h, htfbearishobflag as whether bear1h or bear4h, longsetup as whether trendup and htfbullishobflag and 3 more values. When longconfirm, it sends the notification "MTF 多头三角确认". When shortconfirm, it sends the notification "MTF 空头三角确认".