Fedra_Algotrading

[Fedra Algotrading LR + TTP Indicator Lite]

Fedra_Algotrading Cập nhật   
How it works?
- It calculates the linear regression of the last X candles and define a range based on a linear regression deviation (represented by the 3 parallel lines over the last candle).
-Open trades based on the breakout of the deviation of the linear regression (represented by the yellow triangle).
-Advanced trend filter to not open trades against the trend consist in 2 SMA cross and and a few other conditions, including sptionally super trend (Represented by the red and green background).
-Percentage take profit (represented by the horizontal green line. configurable)
-Percentage stop loss (represented by the horizontal red line. Configurable
-Break even when a trade has already opened and there is a change of trend. Calculated in 1.5% when the price is under the yellow SMA.

Alerts in each case to receive notifications (BUY & SELL, TP BE SL).

Added labels with entry price and PnL of each closed trade to facilitate optimization
Phát hành các Ghi chú:
Version= 2.1
Cosmetic changes:
Buy label= blue
TP label = green
BE label = orange
SL label = red
Phát hành các Ghi chú:
Version 2.3
Added Unrealized PnL label (gray)
Phát hành các Ghi chú:
Instructions have been added to disable the closing in Break even (you only have to set it to a value greater than TP).
Phát hành các Ghi chú:
Added cumulative PnL and "Buy & hold" values to facilitate parameter optimization.
These values are in a table, at the top right of the chart.
Phát hành các Ghi chú:
Version 2.4
Added closed trades counter and Win Ratio to the backtest panel.
Phát hành các Ghi chú:
Win ratio background changes red/green when is negative/positive
Phát hành các Ghi chú:
Version 2.5
Fixed "Profit Factor" label instead o "Win Ratio"
Phát hành các Ghi chú:
cosmetic changes
Phát hành các Ghi chú:
V 3.0
Added a session filter. Now you can choose what week days the script can open a trade, and backtest with this filter too.
Phát hành các Ghi chú:
v 3.5
Added a 200 (configurable) SMA for trend confirmation (optional)

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 đồ?