Fedra_Algotrading

[Fedra Algotrading Strategy 2tp+L&S] Futures Long or Short

Strategy for crypto market, designed for automatic algorithmic trading with bots.
Can place long and short orders

Calculates your entries based on the breakout of the simple deviation of the linear regression of the last X periods.

Configures TP (green line) and SL (red line) percentages, the TP is a trailing TP.

Optionally, you can set a first TP (white line) that sells half of the position.

Advanced trend filter to not open trades against the market. SMA (yellow line), WMA (blue line) and secret sauce

Includes an advanced system to control the backtest period (choose how many days to backtest).

Risk management by volume of capital or amount of losing trades (kill switches that will exit the trade and stop the script)
The script includes default commissions of 0.2% per trade (configurable).

- Dinamic table with Price positions to plan your limit orders if you are trading manually
- Highly customizable and optimizable.

If you want to trade longs and shorts, it is advisable to create 2 different alerts. In most cases, the optimal parameters for longs are not the same as for shorts. In a forthcoming update I will enable separate configurations.


For better performance the script uses real time price information, for this reason Tradingview may warn you that there is "repainting", as the backtest information does not contain the information of each tick but only the open, close, high and low values of each candle.
To avoid this, you can disable the "calculate on every tick" option from the strategy settings panel.

Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
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 đồ?