OPEN-SOURCE SCRIPT

BRAHIM KHATTARA

84
Components of the Strategy
Input Settings:
RSI Oversold Level: Set at 30, meaning the asset is considered oversold when RSI drops below this level.
RSI Overbought Level: Set at 70, meaning the asset is considered overbought when RSI rises above this level.
Stop Loss: A percentage-based stop loss (default: 1%).
Take Profit: A percentage-based take profit level (default: 2%).
Trade Entry Conditions:
A buy trade (long position) is triggered when the RSI is below 30 and was previously above 30 in the last candle.
A sell trade (short position) is triggered when the RSI is above 70 and was previously below 70 in the last candle.
Risk Management:
When a long position is opened:
The take profit is set 2% above the entry price.
The stop loss is set 1% below the entry price.
When a short position is opened:
The take profit is set 2% below the entry price.
The stop loss is set 1% above the entry price.
Buy and Sell Signals on the Chart:
A "BUY" label appears below the candles when a buy condition is met.
A "SELL" label appears above the candles when a sell condition is met.
Fibonacci Bollinger Bands:
The middle line is calculated using VWMA (Volume-Weighted Moving Average).
The bands are calculated using standard deviation with Fibonacci levels: 0.236, 0.382, 0.5, 0.618, 0.764, and 1.0.
The upper bands act as resistance, while the lower bands act as support.
✅ Advantages of the Strategy
✔️ Simple and easy to understand, relying only on RSI and support/resistance levels.
✔️ Suitable for scalping and swing trading.
✔️ Uses Fibonacci Bollinger Bands to improve entry and exit accuracy.
✔️ Clear risk management with predefined stop loss and take profit levels.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.