//@version=5 strategy('[VV] Sahand Buy Sell', overlay=true) tim = input('375') //skip…
Jump to turn (9)
- 1//@version=5 strategy('[VV] Sahand Buy Sell', overlay=true) tim = input('375') /
- 2این کد رو برام تشریح کن//@version=5 strategy('[VV] Sahand Buy Sell', overlay=tru
- 3برای بهینه کردن این کد چه پیشنهادی داری //@version=5 strategy('[VV] Sahand Buy S
- 4من این کد رو تست کردم عملکرد خوبی نداشت و درصد موفقییت ضعیف بود اصلاحکن//@versio
- 5عملکرد کد ضعیف است تعداد معاملات کم میباشدو درصد سود دهی ضعیف است اصلاح کن//@ver
- 6ایا میتوانی برای من یک کد دستوری در زبان پاین اسکریپ برای ترید کردن در بازار جها
- 7//@version=5 strategy('[VV] ehsan Buy Sell', overlay=true) tim = input('375') //
- 8ایا نسخه جدیدی برای عملکرد بهتر این کد هست//@version=5 strategy('[VV] ehsan Buy
- 9خط روند را در این کد اعمال کن //@version=5 strategy('[VV] ehsan Buy Sell', overl
- User
//@version=5 strategy('[VV] Sahand Buy Sell', overlay=true) tim = input('375') //skip buying near upper band and selling near lower band out1 = request.security(syminfo.tickerid, tim, open) out2 = request.security(syminfo.tickerid, tim, close)
// gann 81, 1 & 81, 2 as channel length = input.int(81, minval=1) src = input(close, title='Source')
Band1 = input.float(1.0, minval=0.001, maxval=10, step=0.1) basis = ta.sma(src, length) dev = Band1 * ta.stdev(src, length) upper = basis + dev lower = basis - dev
Band2 = input.float(2.0, minval=0.001, maxval=10, step=0.1) dev2 = Band2 * ta.stdev(src, length) upper2 = basis + dev2 lower2 = basis - dev2
plot(basis, color=color.new(color.black, 0), linewidth=3) p1a = plot(upper, color=color.new(color.green, 0), linewidth=2) p1b = plot(lower, color=color.new(color.green, 0), linewidth=2)
p2a = plot(upper2, color=color.new(color.blue, 0), linewidth=3) p2b = plot(lower2, color=color.new(color.blue, 0), linewidth=3)
longCondition = ta.crossover(request.security(syminfo.tickerid, tim, close), request.security(syminfo.tickerid, tim, open)) and close < upper if longCondition strategy.entry('long', strategy.long) shortCondition = ta.crossunder(request.security(syminfo.tickerid, tim, close), request.security(syminfo.tickerid, tim, open)) and close > lower if shortCondition strategy.entry('short', strategy.short)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.