// Buy signal: Price crosses below the lower BB and touches the 0.618 level longCondition = ta.crossover(close, lowerBB) and close <= fib3 if (longCondition) strategy.entry("Long", strategy.long)
// Sell signal: Price crosses above the upper BB and touches the 0.236 level shortCondition = ta.crossunder(close, upperBB) and close >= fib1 if (shortCondition) strategy.entry("Short", strategy.short)
// Alerts alertcondition(longCondition, title="Long Alert", message="Long signal triggered") alertcondition(shortCondition, title="Short Alert", message="Short signal triggered")
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.