yerb

ChopBot v1.0

7573 visualizzazioni
1086
7573 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.

Enjoy
Rimuovi dagli script preferiti Aggiungi agli script preferiti
//@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)
Where are here the exists=sl+tp?
Rispondi
Can this strategy trade for you? In the strategies tab it looks like its making trades, but my balance stays the same.
+4 Rispondi
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 Rispondi
daneski daneski
OK I figured this out, I can post it if anyone wants
+1 Rispondi
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
Rispondi
watchme3 CorbinBerriman
search for 'daily close' on the indicators tab, Amazing 98% profitable on the hour according the strategy tester!
+7 Rispondi
mcarl42 watchme3
Is this daily close indicator still there. ? Ta
Rispondi
@daneski, can u post?
Rispondi
r_bad lorenzopanico5
@lorenzopanico5, here you go

//@version=2
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)
Rispondi
I made variation of this script
Rispondi
IT Italiano
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
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 العربية
HE עברית
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Regolamento Moderatori Soluzioni per broker & siti web Widget Libreria di Grafici azionari Chiedi aiuto Suggerisci funzionalità Blog & Novità FAQ Wiki Twitter
Profilo Impostazioni profilo Account e fatturazione Chiedi aiuto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci