Abdul-Rahim

12/26-IT strategy

Abdul-Rahim Cập nhật   
Base of this Strategy is crossover of 12EMA on 26EMA.
Also multiple other criteria has to meet for buy signal, Criterias mentioned below


//////////////////////////////////

There two entry option to select. Either one or both can be selected:

1. Only 12/26 Cross over
a. 12/26 crossover.
b. RSI (14) value to be between a range (RSI is inbuilt, but lower and upper range can be defined in settings)
c. MACD (12, 26) to be positive and above signal line (this is inbuilt)


2. Recent 12/26 Cross over and closing above pivot point(resistance)
a. 12/26 crossover has to be recent, CrossOverLookbackCandles value will look for crossover in # previous candles..
b. RSI (14) value to be between a range (RSI is inbuilt, but lower and upper range can be defined in settings)
c. MACD (12, 26) to be positive and above signal line (this is inbuilt)
d. closing above resistance line

//////////////////////////////////

For Exit we have three options. you can select any SL as per your need, multiple SLs can also be selected

1. Trailing Stop Loss.
Source for TSL is adjustable(open, close, high or low), also you have to mention % below your source TSL has to be placed.
Once closing is below TSL, exit will be triggered.

2. Closing below 7SMA
After 7SMA SL is enabled, 7SMA will be plotted on chart and exit signal will be triggered when closing is below 7SMA.
Choose this option for LESS risk and rewards

3. 12/26 Crossdown
Once 12EMA crossdown below 26EMA, exit will be triggered.
Choose this option for HIGH risk and rewards

//////////////////////////////////

Resistance line is plotted based on left and right candles, if 10(can be changed) is used for both left and right, indicator will look for 10 candles in left and 10 candles in right and if both left and right candle are lower then a line is plotted.
Source has to be selected (close or high)

//////////////////////////////////

Qty mentioned in Buy trigger will be based on BUYVALUE entered

//////////////////////////////////

Multiple Target option is available, if first target is matched how much percentage of qty to be sold can be defined.
If you wish to have only one Target, then exit qty in first target must be 100




Phát hành các Ghi chú:
1. Removed 7SMA as Stoploss and given provision to use EMA/SMA of their choice as StopLoss.
2. Background will be colored on Buy Entry.
Phát hành các Ghi chú:
Mistake in Entry criteria, it was referring to crossover in previous candle.
Now changed to current candle.
Phát hành các Ghi chú:
Added option to choose source(close, high, low, etc) for MA stoploss.
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 đồ?