2293 15 310
My version of ChopBot with a little of Gen Opt.

Seems to be good for direction spotting during sideways and uptrend. Works only on 4h HA candles.

Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
strategy("BotBot", overlay=false)
atr = atr(19)
avg = sma(close,19)
rangeup = low[1] + atr
rangedown = high[1] - atr
over() => close/avg > 1.001 and high/rangeup > 1.04 and close/open > 1.001
under() => close/avg < 0.999 and low/rangedown < 0.96 and close/open < 0.999

longCondition = over()
shortCondition = under()

plot(close/avg, "close/avg", red)
plot(high/rangeup, "high/rangeup", blue)
plot(close/open, "close/open", green)

strategy.entry("long", strategy.long, when=longCondition)
strategy.entry("short", strategy.short, when=shortCondition)
hi! nice work man! i'm using gunbot a lot! can i have acces please? thanks from holland!
Reply
Check out our new project http://depthvisor.com - a new perspective on the orderbook
Reply
Uhmmm... Maybe should be able to change period of atr and sma. 19 is too long?
Thank u!
Reply
hi, it only works on 4hours Heikin Ashi chart
Reply
Faccia amazing_ilya
Ciao, yeah I found it.
Could you change on 15 minutes chart? It would be great
Thank you !
Reply
I don't think it will be useful on 15 min timeframe. You might want to try original ChopBot script or other strategies, e.g. ANN strategy is also good (and it also used genetic optimization, as far as I understtod from its description).
Reply
cristian.d amazing_ilya
My understanding was that Heikin Ashi strategies repaint, I mean 80% and 16 PF is just out of this world, too good to be true... isn't it?
Reply
amazing_ilya cristian.d
yes, sure. It's just to help spot current trend and it was just optimized for backtesting results. Future results could not be so good :)
Reply
zelibobla amazing_ilya
Not so good?! :) It could be disaster. Add «REPAINTS» in the name of strategy please, to save the time for those who looking for strategy in «Strategies» section.
Reply
Hi! Interesting!
But Signals buy/short do not appear in my chart.
Could you help me please?
Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out