yerb

ChopBot v1.0

Simple and accurate strategy

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

Enjoy
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
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)
amazing_ilya
a year ago
nice, i will think about it
Reply
zmm20
a year ago
running strategies on HA candles uses the HA close price as the entry - which is not the actual price! In real life, you won't see these results.
Reply
zmm20 zmm20
a year ago
*HA open price as entry
Reply
wowfusa
a year ago
it's not true, not the actual price
Reply
amazing_ilya
a year ago
I made variation of this script
BotBot
Reply
SibiChakravarthy amazing_ilya
5 months ago
Can you please post the modified script?
Reply
daneski PRO
5 months ago
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.
Reply
daneski PRO daneski
4 months ago
OK I figured this out, I can post it if anyone wants
Reply
CorbinBerriman daneski
4 months ago
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
Reply
watchme3 CorbinBerriman
4 months ago
search for 'daily close' on the indicators tab, Amazing 98% profitable on the hour according the strategy tester!
Reply
mcarl42 watchme3
a month ago
Is this daily close indicator still there. ? Ta
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out