//@version=5 strategy("Prompt michael Demo GPT - Drift Bollinger Bands Strategy", commission_type=strategy.commission.percent, commission_value=0.05, slippage=3, default_qty_type=strategy.percent_of_equity, default_qty_value=10) // ------------------------------------------- // Original Bollinger Bands logic // ------------------------------------------- bb_length = input.int(14, title="Length", group="Bollinger Bands", inline="BB") bb_stddev = input.float(3.0, title="StdDev", group="Bollinger Bands", inline="BB") = ta.bb(close, bb_length, bb_stddev) plot(upper, "Upper", color=color.aqua) plot(lower, "Lower", color=color.aqua) buy_condition_bb = ta.crossover(close, upper) sell_condition_bb = ta.crossunder(close, lower) // Trend filter trend_period = input.int(365, title="Period", group="Trend Filter", inline="Trend") buy_condition_trend = close > ta.ema(close, trend_period) sell_condition_trend = close < ta.ema(close, trend_period) // Volatility Filter vol_filter_length = input.int(15, title="Length", group="Volatility Filter", inline="Vol") vol_stddev = ta.stdev(close, vol_filter_length) vol_ma_length = input.int(28, title=">MA", group="Volatility Filter", inline="Vol") buy_sell_condition_vol = vol_stddev > ta.sma(vol_stddev, vol_ma_length) // Original final conditions (not removed, but we will improve strategy using SSL conditions) buy_condition_final = buy_condition_bb and buy_condition_trend and buy_sell_condition_vol sell_condition_final = sell_condition_bb and sell_condition_trend and buy_sell_condition_vol // Close conditions close_condition_long = sell_condition_bb close_condition_short = buy_condition_bb // Stop loss and Trailing Profit trail_stop_pct = input.float(0.5, title="Trailing Stop activation (%)", group="Exit Long", inline="LTS", tooltip="Trailing Threshold %") trail_offset_pct = input.float(0.5, title="Trailing offset (%)", group="Exit Long", inline="LTS", tooltip="Trailing Offset %") trail_stop_tick = trail_stop_pct * close / 100 trail_offset_tick = trail_offset_pct * close / 100 sl_pct = input.float(2, title="SL", group="SL and TP", inline="LSLTP") tp_pct = input.float(9, title="TP", group="SL and TP", inline="LSLTP") long_sl_price = strategy.position_avg_price * (1 - sl_pct / 100) long_tp_price = strategy.position_avg_price * (1 + tp_pct / 100) short_sl_price = strategy.position_avg_price * (1 + sl_pct / 100) short_tp_price = strategy.position_avg_price * (1 - tp_pct / 100) strategy.exit('Long Exit', 'Long', stop=long_sl_price, limit=long_tp_price, trail_points=trail_stop_tick, trail_offset=trail_offset_tick) strategy.exit('Short Exit', 'Short', stop=short_sl_price, limit=short_tp_price, trail_points=trail_stop_tick, trail_offset=trail_offset_tick) plotshape(buy_condition_final, style=shape.labelup, location=location.belowbar, color=color.new(#046ff9, 0), size=size.large, text='PineConnector \n Buy', textcolor=color.new(color.white, 0)) plotshape(sell_condition_final, style=shape.labeldown, location=location.abovebar, color=color.new(#046ff9, 0), size=size.large, text='PineConnector \n Sell', textcolor=color.new(color.white, 0)) // ------------------------------------------- // SSL channel logic (filling gaps and ensuring correctness) // ------------------------------------------- len = input.int(10, "SSL Length") smaHigh = ta.sma(high, len) smaLow = ta.sma(low, len) var float Hlv = 0.0 Hlv := close > smaHigh ? 1 : close < smaLow ? -1 : Hlv sslDown = Hlv < 0 ? smaHigh : smaLow sslUp = Hlv < 0 ? smaLow : smaHigh plot(sslDown, linewidth=2, color=color.red) plot(sslUp, linewidth=2, color=color.lime) // ------------------------------------------- // New improved entry/exit logic using SSL crosses // ------------------------------------------- longEntryCondition = ta.crossover(sslUp, sslDown) longExitCondition = ta.crossunder(sslUp, sslDown) shortEntryCondition = ta.crossover(sslDown, sslUp) shortExitCondition = ta.crossunder(sslDown, sslUp) // Entries and exits with SSL conditions (no qty specified, uses 10% of capital by default settings) if longEntryCondition strategy.entry('Long', strategy.long) alert('78304410994772,buy,BTCUSD,risk=0.1', alert.freq_once_per_bar_close) if longExitCondition strategy.close("Long") alert('78304410994772,close_condition_long,BTCUSD,risk=0.1', alert.freq_once_per_bar_close) if shortEntryCondition strategy.entry('Short', strategy.short) alert('78304410994772,sell,BTCUSD,risk=0.1', alert.freq_once_per_bar_close) if shortExitCondition strategy.close("Short") alert('78304410994772,close_condition_short,BTCUSD,risk=0.1', alert.freq_once_per_bar_close)
Wem der Termin im Nagelstudio für die Xmas-Maniküre noch bevorsteht, bekommt jetzt die schönste Inspiration für die Festtage. Schauspielerin Vanessa Hudgens zeigt uns, wie wir “Red Velvet Nails” zur Festive Season 2024 tragen
Föhn-Test gefällig? Hier findest du die 19 besten Haartrockner für jedes Budget und jeden Haartyp zum Nachshoppen. Zudem verraten wir dir die besten Föhntipps.
NKN, no one talk about it But this coin perform as well in chart pattern like mini shoulder on going created here This scenario valid if we not break 0.8 cheers
GOLD is in a descending channel below the trend lines. After breaking the support, the price formed a descending bottom but is now moving above the support. The chart is under the 78.6% retracement level. We expect the decline to continue after consolidation under the support level. ------------------- Share your opinion in the comments and support the idea with a like. Thanks for your support!
https://www.tradingview.com/x/4dYDoC4j/ My dear friends, My technical analysis for EURUSD is below: The market is trading on 1.0410 pivot level. Bias - Bullish Technical Indicators: Both Super Trend & Pivot HL indicate a highly probable Bullish continuation. Target - 1.0470 Recommended Stop Loss - 1.0376 About Used Indicators: A pivot point is a technical analysis indicator, or calculations, used to determine the overall trend of the market over different time frames. ——————————— WISH YOU ALL LUCK
Gold ( OANDA:XAUUSD )started to decrease yesterday after the release of the US indexes(Federal Funds Rate, FOMC Economic Projections, FOMC Statement) . Gold is moving near the Resistance zone($2,642-$2,620) and Resistance lines . In terms of Classic Technical Analysis , Gold appears to be forming a Rising Wedge Pattern . According to Elliott's wave theory , Gold is completing wave 4 . The probability that the wave structure of wave 4 will be complicated is very high. Of course, it depends on today's US indexes (Final GDP, Unemployment Claims) . Also, we can see the Regular Divergence(RD-) between Consecutive Peaks. I expect Gold to start declining again from the Potential Reversal Zone(PRZ) and AFTER breaking the lower line of the wedge pattern , it will fall to at least $2,611 and attack the Heavy Support zone($2,605-$2,584) . ⚠️Note: If Gold breaks the Potential Reversal Zone(PRZ) and Resistance lines, we can expect more Pumps.⚠️ ?Be sure to follow the updated ideas.? Gold Analyze ( XAUUSD ), 15-minute time frame ⏰. Do not forget to put Stop loss for your positions (For every position you want to open). Please follow your strategy; this is just my idea, and I will gladly see your ideas in this post. Please do not forget the ✅' like '✅ button ?? & Share it with your friends; thanks, and Trade safe.
As anticipated in our previous analyses, the EUR/USD currency pair experienced significant downward pressure during the late American trading session on Wednesday, hitting its lowest point in almost a month, below 1.0350. Currently, while I am drafting this article, the pair has seen a minor rebound and is trading around 1.0410; however, the technical indicators still suggest a bearish outlook. The price is nearing a critical area where it may continue to decline. Our analysis reveals an imbalance on the Daily timeframe that could signal a further downturn. For more detailed insights, please refer to the link provided below. https://www.tradingview.com/x/TyypvDj5/ Following the last Federal Reserve policy meeting of the year, the central bank announced a reduction in its policy rate by 25 basis points, aligning with market expectations, bringing it to a range between 4.25% and 4.5%. In their accompanying statement, the Fed emphasized that they would take into account incoming data, the evolving economic landscape, and the balance of risks when evaluating future rate adjustments. In the aftermath of the Fed's decision, the US Dollar (USD) gained substantial strength, leading to a sharp decline in the EUR/USD pair. Moving forward, our outlook suggests the potential for a new bearish correction in the market as we navigate these developments. Previous close position SHORT https://www.tradingview.com/chart/EURUSD/J8TWGvtc-EUR-USD-Stagnates-Near-1-0500-All-Eyes-on-the-Federal-Reserve/ ✅ Please share your thoughts about EUR/USD in the comments section below and HIT LIKE if you appreciate my analysis. Don't forget to FOLLOW ME; you will help us a lot with this small contribution.
#KDA The price is moving in a descending channel on the 1-hour frame and sticking to it well We have a bounce from the lower limit of the descending channel, this support is at 1.06 We have a downtrend on the RSI indicator that is about to be broken, which supports the rise We have a trend to stabilize above the 100 moving average Entry price 1.12 First target 1.18 Second target 1.30 Third target 1.40
? Buy Signal for TROY/USDT ✅ Suggestion: You can buy now in the live market. ? Growth Expectation: I anticipate a 10% to 22% increase in the spot market. ? ? This is a great opportunity to capitalize on TROY's upward potential. ? To manage this signal effectively and explore more signals: 1️⃣ Follow my TradingView page ? 2️⃣ Send me a private message for further guidance. ? Let’s grow and profit together! ?