ورودثبت نام

{}

mohammadrostami9996

مشخصات معامله

قیمت در زمان انتشار:

۷.۳۶e-۸

توضیحات

// Â © GainzAlgo //@version=5 indicator('GainzAlgo Pro', overlay=true, max_labels_count=500) candle_stability_index_param = input.float(0.5, 'شاخص ثبات شمع', 0, 1, step=0.1, group='فنی', tooltip='شاخص ثبات شمع نسبت بین بدنه و فتیله یک شمع را اندازه‌گیری می‌کند. بیشتر - پایدارتر.') rsi_index_param = input.int(50, 'شاخص RSI', 0, 100, group='فنی', tooltip='شاخص RSI میزان خرید بیش از حد/فروش بیش از حد بازار را اندازه‌گیری می‌کند. بیشتر - خرید بیش از حد/فروش بیش از حد بیشتر.') candle_delta_length_param = input.int(5, 'طول دلتا شمع', 3, group='فنی', tooltip='طول دلتا شمع دوره‌ای را اندازه‌گیری می‌کند که در آن قیمت افزایش/کاهش یافته است. بیشتر - دوره طولانی‌تر.') disable_repeating_signals_param = input.bool(false, 'غیر فعال کردن سیگنال‌های تکراری', group='فنی', tooltip='حذف سیگنال‌های تکراری. برای حذف خوشه‌های سیگنال و شفافیت کلی مفید است') GREEN = color.rgb(29, 255, 40) RED = color.rgb(255, 0, 0) TRANSPARENT = color.rgb(0, 0, 0, 100) label_size = input.string('normal', 'اندازه برچسب', options= , group='زیبایی') label_style = input.string('text bubble', 'سبک برچسب', , group='زیبایی') buy_label_color = input(GREEN, 'رنگ برچسب خرید', inline='Highlight', group='زیبایی') sell_label_color = input(RED, 'رنگ برچسب فروش', inline='Highlight', group='زیبایی') label_text_color = input(color.white, 'رنگ متن برچسب', inline='Highlight', group='زیبایی') stable_candle = math.abs(close - open) / ta.tr > candle_stability_index_param rsi = ta.rsi(close, 14) bullish_engulfing = close < open and close > open and close > open rsi_below = rsi < rsi_index_param decrease_over = close < close bull = bullish_engulfing and stable_candle and rsi_below and decrease_over and barstate.isconfirmed bearish_engulfing = close > open and close < open and close < open rsi_above = rsi > 100 - rsi_index_param increase_over = close > close bear = bearish_engulfing and stable_candle and rsi_above and increase_over and barstate.isconfirmed var last_signal = '' if bull and (disable_repeating_signals_param ? (last_signal != 'buy' ? true : na) : true) if label_style == 'text bubble' label.new(bull ? bar_index : na, low, 'خرید', color=buy_label_color, style=label.style_label_up, textcolor=label_text_color, size=label_size) else if label_style == 'triangle' label.new(bull ? bar_index : na, low, 'خرید', yloc=yloc.belowbar, color=buy_label_color, style=label.style_triangleup, textcolor=TRANSPARENT, size=label_size) else if label_style == 'arrow' label.new(bull ? bar_index : na, low, 'خرید', yloc=yloc.belowbar, color=buy_label_color, style=label.style_arrowup, textcolor=TRANSPARENT, size=label_size) last_signal := 'buy' if bear and (disable_repeating_signals_param ? (last_signal != 'sell' ? true : na) : true) if label_style == 'text bubble' label.new(bear ? bar_index : na, high, 'فروش', color=sell_label_color, style=label.style_label_down, textcolor=label_text_color, size=label_size) else if label_style == 'triangle' label.new(bear ? bar_index : na, high, 'فروش', yloc=yloc.abovebar, color=sell_label_color, style=label.style_triangledown, textcolor=TRANSPARENT, size=label_size) else if label_style == 'arrow' label.new(bear ? bar_index : na, high, 'فروش', yloc=yloc.abovebar, color=sell_label_color, style=label.style_arrowdown, textcolor=TRANSPARENT, size=label_size) last_signal := 'sell' alertcondition(bull, 'سیگنال‌های خرید', 'سیگنال جدید: خرید') alertcondition(bear, 'سیگنال‌های فروش', 'سیگنال جدید: فروش')