ChopBot v1.0

9158 15
Simple and accurate strategy

If you can improve the script to skip the noise entries spanning less then 4 USD please let me know.

从常用的脚本中删除 添加到常用的脚本
strategy("ChopBot v1.0", overlay=true)

rangeup = close[1]+tr[1]
rangedown = close[1]-tr[1]
over() => high > rangeup and close > open
under() => low < rangedown and close < open

longCondition = over()
if (longCondition)
    strategy.entry("ChopBot Long", strategy.long)

shortCondition = under()
if (shortCondition)
    strategy.entry("ChopBot Short", strategy.short)
Where are here the exists=sl+tp?
Can this strategy trade for you? In the strategies tab it looks like its making trades, but my balance stays the same.
+4 回复
Is anyone able to make true/false (long/short) indicator for this so it can generate alerts? I tried but I'm no good at coding it seems.
+1 回复
daneski daneski
OK I figured this out, I can post it if anyone wants
+2 回复
Hey daneski I would like to check this out! Do you know of any other good daily trading scripts on Tradingview? I am trying to find one that sends alerts etc
watchme3 CorbinBerriman
search for 'daily close' on the indicators tab, Amazing 98% profitable on the hour according the strategy tester!
+9 回复
mcarl42 watchme3
Is this daily close indicator still there. ? Ta
@daneski, can u post?
r_bad lorenzopanico5
@lorenzopanico5, here you go

study("ChopBot v1.0", overlay=false)

rangeup = close+tr
rangedown = close-tr
over() => high > rangeup and close > open
under() => low < rangedown and close < open

longCondition = over()
shortCondition = under()

last_long = longCondition ? time : nz(last_long)
last_short = shortCondition ? time : nz(last_short)

long_signal = crossover(last_long, last_short)
short_signal = crossover(last_short, last_long)

plot(long_signal, title="long", linewidth=6, color=green)
plot(short_signal, title="short", linewidth=3, color=red)
+1 回复
I made variation of this script
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 剧集 如何运作 图表功能 价格 网站规则 版主 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 帮助中心 推荐朋友 功能请求 博客 & 新闻 Twitter
概述 个人资料设置 账号和账单 推荐朋友 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 聊天 退出