PROTECTED SOURCE SCRIPT

[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.
algotradingbotChart patternsfuturesLinear RegressionriskmanagementstrategytrailingtrailingstoptrailingtakeprofittrendTrend Analysis

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?


Also on:

Disclaimer