OPEN-SOURCE SCRIPT

[Fedra Algotrading LR + TTP Indicator Lite]

تم تحديثه
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
ملاحظات الأخبار
Version= 2.1
Cosmetic changes:
Buy label= blue
TP label = green
BE label = orange
SL label = red
ملاحظات الأخبار
Version 2.3
Added Unrealized PnL label (gray)
ملاحظات الأخبار
Instructions have been added to disable the closing in Break even (you only have to set it to a value greater than TP).
ملاحظات الأخبار
Added cumulative PnL and "Buy & hold" values to facilitate parameter optimization.
These values are in a table, at the top right of the chart.
ملاحظات الأخبار
Version 2.4
Added closed trades counter and Win Ratio to the backtest panel.
ملاحظات الأخبار
Win ratio background changes red/green when is negative/positive
ملاحظات الأخبار
Version 2.5
Fixed "Profit Factor" label instead o "Win Ratio"
ملاحظات الأخبار
cosmetic changes
ملاحظات الأخبار
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.
ملاحظات الأخبار
v 3.5
Added a 200 (configurable) SMA for trend confirmation (optional)
algotradingCandlestick analysisChart patternssignalbotsignalprovidersignals

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟


يعمل أيضًا:

إخلاء المسؤولية