PROTECTED SOURCE SCRIPT
indicator:BITMEXMAC BUY1&BUY4

This indicator shows the entry signal and timing of profit determination under specific conditions.
This indicator shows high performance in 3 hours of XBTUSD of BITMEX.
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
* longCondition 1
// Zero Lag MACD
crossover (ZeroLagMACD, signal)
(Display Alert signal when Zero Lag MACD makes a golden cross.)
* CloseCondition1
crossunder (ZeroLagMACD, signal)
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
* longCondition 2
// SAR
longentry4 = From SARdown to SARUP and uptrend of moving average line
(A signal is issued when the parabolic SAR shows an uptrend.)
* CloseCondition 2
closelong4 = From SARUP to SARdown
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
In general, if only MACD and signal cross timing or SAR signal conversion is used as the entry timing, our account balance will be increasingly reduced.
So I added some filters to longCondition1 and longCondition2.
Of course this logic is no repaint.
It does not employ multi-time frames.
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
Entry filter
* Filter 1
When fighting against resistance lines with closing or high prices.
* Filter 2
MACD Divergence
* Filter 3
When market volatility is low.
This indicator shows high performance in 3 hours of XBTUSD of BITMEX.
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
* longCondition 1
// Zero Lag MACD
crossover (ZeroLagMACD, signal)
(Display Alert signal when Zero Lag MACD makes a golden cross.)
* CloseCondition1
crossunder (ZeroLagMACD, signal)
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
* longCondition 2
// SAR
longentry4 = From SARdown to SARUP and uptrend of moving average line
(A signal is issued when the parabolic SAR shows an uptrend.)
* CloseCondition 2
closelong4 = From SARUP to SARdown
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
In general, if only MACD and signal cross timing or SAR signal conversion is used as the entry timing, our account balance will be increasingly reduced.
So I added some filters to longCondition1 and longCondition2.
Of course this logic is no repaint.
It does not employ multi-time frames.
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
Entry filter
* Filter 1
When fighting against resistance lines with closing or high prices.
* Filter 2
MACD Divergence
* Filter 3
When market volatility is low.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.