bard

Scalper trade signals John Carter

Category: Indicators By: bard Created: August 21, 2016, 7:04 PM
August 21, 2016, 7:04 PM
Indicators
29 Comments
Scalper trade signals John Carter

Buy and Sell signals made of the John Carter’s scalper indicator.

 

once rr=1
mb=average[20](typicalprice)
k=48
n=(k*2)-4
p=(n/2)-1

h1=DPO[n](high)

moyh=high-h1
hi=(moyh-moyh[1]+(high[p])/n)*n
hi=(round(hi*100))/100
l1=dpo[n](low)

moyl=low-l1
lo=(moyl-moyl[1]+(low[p])/n)*n
lo=(round(lo*100))/100
clo1=dpo[n](close)

moyc=close-clo1
clot=(moyc-moyc[1]+(close[p])/n)*n
clot=(round(clot*100))/100
cond1=(high>high[1] and high>high[2])
cond2=(cond1 and high>hi[46]) and (barindex>bari or rr=-1)
if cond1 and cond2 then
flagg=1
targeth=high
targetl=lo[46]
else
flagg=0
signa=mb
endif
for zz=0 to 45
if clot[45-zz]<targetl and hi[45-zz]<=targeth and flagg=1  then
signa=high+(averagetruerange[20](close))*.5
rr=1
bari=barindex+zz+2
break
elsif     hi[45-zz]>targeth then
signa=mb
break
endif
next
condi=(low<low[1] and low<low[2]) and low<lo[46] and (barindex>bar or rr=1)
if condi then
fflag=1
target1=low
target2=hi[46]
else
fflag=0
siigna=mb
endif
for kk=0 to 45
if clot[45-kk]>target2 and lo[45-kk]>=target1 and fflag=1 then
siigna=low-(averagetruerange[20](close))*.5
rr=-1
bar=barindex+kk+2
break
elsif lo[45-kk]<target1 then
siigna=mb
break
endif
next
if barindex < 100 then
signa=undefined
siigna=undefined
endif
golong = (siigna < mb)
goshort = (signa > mb)*-1
return golong as  "LONG",goshort as "SHORT",0

Download
Filename: J-carter-scalper.itf
Downloads: 725
bard
bard Average
Code artist, my biography is a blank page waiting to be scripted. Imagine a bio so awesome it hasn't been coded yet.
Author’s Profile

Comments

rama
6 years ago
#

I have tested this indicator , this is one of the best indicator for scalping , I tested on 3 min and 10 min works excellent

Regan2020
6 years ago
#

Hi Rama, I am using the indicator now, but it doesn't seem to form live time, and only indicates after refreshing my timeframe? is there something I need to amend?

proreal82
9 years ago
#

Testing it out, and sorry guys but this indicator is ridiculous. Don't use it!

proreal82
9 years ago
#

Is this indicator still useful or not..? Also I don't understand the above code tweaks from some people not? Please explain.

learner
10 years ago
#

Thanks maxxb for your response. Whys is it that I get results for long without having to reload the indicator? Do I need to reload the indicator every time I run the code? Sorry if it is a stupid question.

maxxb
10 years ago
#

salve, ho provato ad usarlo su grafico 1 minuto .. non si aggiorna .. i segnali non si vedono ... bisogna ricaricare l'indicatore per vedere i segnali nuovi..  

hi, I tried to use it on chart 1 minute .. does not update .. the signals are not seen ... you have to reload the indicator to see the new signals ..  

 

learner
10 years ago
#

Hi,

I am new to FX trading, have been following this website for sometime and also learning pro real code. Since I am using Pro Real time 10.2, I had to convert the above code into screener. I extracted the LONG signal related code from above and created a LONG screener and did the same for SHORT screener. The LONG signal code returns data however the SHORT signal doesn't, not sure what is wrong with the code. Can you please help? Below is the SHORT signal code, everything is the same from above except for screener keyword at the end.

once rr=1
mb=average[20](typicalprice)
k=48
n=(k*2)-4
p=(n/2)-1

h1=DPO[n](high)

moyh=high-h1
hi=(moyh-moyh[1]+(high[p])/n)*n
hi=(round(hi*100))/100
l1=dpo[n](low)

moyl=low-l1
lo=(moyl-moyl[1]+(low[p])/n)*n
lo=(round(lo*100))/100
clo1=dpo[n](close)

moyc=close-clo1
clot=(moyc-moyc[1]+(close[p])/n)*n
clot=(round(clot*100))/100
cond1=(high>high[1] and high>high[2])
cond2=(cond1 and high>hi[46]) and (barindex>bari or rr=-1)
if cond1 and cond2 then
flagg=1
targeth=high
targetl=lo[46]
else
flagg=0
signa=mb
endif
for zz=0 to 45
if clot[45-zz]<targetl and hi[45-zz]<=targeth and flagg=1 then
signa=high+(averagetruerange[20](close))*.5
rr=1
bari=barindex+zz+2
break
elsif hi[45-zz]>targeth then
signa=mb
break
endif
next
condi=(low<low[1] and low<low[2]) and low<lo[46] and (barindex>bar or rr=1)
if condi then
fflag=1
target1=low
target2=hi[46]
else
fflag=0
//siigna=mb
endif
for kk=0 to 45
if clot[45-kk]>target2 and lo[45-kk]>=target1 and fflag=1 then
//siigna=low-(averagetruerange[20](close))*.5
rr=-1
bar=barindex+kk+2
break
elsif lo[45-kk]<target1 then
//siigna=mb
break
endif
next
if barindex < 100 then
signa=undefined
//siigna=undefined
endif
//golong = (siigna < mb)
goshort = (signa > mb)*-1
SCREENER[goshort] (Variation AS "%Chg prev bar")

gregus
10 years ago
#

merci pour ta reponse nicolas

loin de moi cet idée je souhaite juste apprendre et ne veux pas utilisé une autre formule de DPO mais simplement une version temps réel pour fixé les signaux je souhaite l utilisé en complément d une strategie mais pas avec des faux signaux.

j ai trouvé ça qui pourrai le remplacer

study(title="TTM scalper indicator", overlay = true)
width = input(2, minval=1)
triggerSell = iff(iff(close[1] < close,1,0) and (close[2] < close[1] or close[3] <close[1]),1,0)
triggerBuy = iff(iff(close[1] > close,1,0) and (close[2] > close[1] or close[3] > close[1]),1,0)
buySellSwitch = iff(triggerSell, 1, iff(triggerBuy, 0, nz(buySellSwitch[1])))
SBS = iff(triggerSell and buySellSwitch[1] == false, high, iff(triggerBuy and buySellSwitch[1], low, nz(SBS[1])))
clr_s = iff(triggerSell and buySellSwitch[1] == false, 1, iff(triggerBuy and buySellSwitch[1], 0, nz(clr_s[1])))
clr = iff(clr_s == 0 , green , red)
plot(SBS, color=clr, title="TTM", style = circles, linewidth = width)

je vais tenter de recodé pour m entrainé sinon comment ferai tu pour la modif  version temps réel que je meurt pas idiot lol.

merci

 

 

gregus
10 years ago
#

bonjour nicolas

je viens d aller voir le lien du blog et je vois qu' Une version temps réel peut en être dérivée.

peut tu m aider pour la modification

merci

Nicolas
10 years ago
#

L'utilisation du DPO dans cet indicateur n'est utile que pour obtenir des données du futur et ainsi donner à l'indicateur une allure parfaite. C'est une utilisation déviée du DPO par l'auteur pour compenser le fait que la plateforme ne lit qu'une seule fois l'historique. En aucun cas un DPO n'est utile pour calculer une régression linéaire, donc utiliser une autre formule du DPO pour utiliser cet indicateur en trading automatique est inutile et une perte de temps :)

Sofitech
10 years ago
#

Bonjour.
Est-il possible d'enrichir cet indicateur en lui ajoutant un histogramme à 0.5 dans le sens du dernier signal obtenu.
Par exemple, un signal vert apparaît. Tant qu'aucun signal rouge n'apparaît, faire apparaître un histogramme achat positif à 0.5.
On aurait ainsi Histogramme vert +1 au signal, histogramme bleu à 0.5 tendance achat et histogramme rouge -1 signal vente et rose -0.5 tendance vente.

 

curses
10 years ago
#

Bonjour, vous pouvez créer un screamer avec des signaux de cet indicateur? Je l'ai essayé, mais je reçois de faux résultats. Merci

senator-fred
10 years ago
#

ah okay, thats the reason why the backtest is so great!

senator-fred
10 years ago
#

Why is the Indicator changing when i refresh my charts? Sometimes there is a signal and when i reload the chart the signal is no more there....kind of confusing...

Nicolas
10 years ago
#

Because of the use of DPO which is already know the future in advance when the data history is loading for the first time. DPO "repaint" the past.

ladefense
10 years ago
#

poubelle ....

supertiti
10 years ago
#

j'arrive a sortir du texte mais pas les deux à la fois : texte et histogramme, je voulais illustrer par une image mais ça bug !

supertiti
10 years ago
#

Scalp.jpg         You don't have permission to attach files to this post.
 
Nicolas : Pourquoi ne peux t on pas remonter des images avec le bouton add/ edit attachments ! ça m'arrive souvent
 
 

bard
10 years ago
#

Je ne travaille pas avec v10,3
Je ne peux pas vous aider, malheureusement,

supertiti
10 years ago
#

Bonjour,

 

Toujours personne pour mettre du texte sur les histogrammes ??

merci

ernesto
10 years ago
#

this is not valid for proOrder.

supertiti
10 years ago
#

Bonjour à tous,

 

personne pour répondre à mon petit problème posé il y a deux jours ?!

bonne journée,bons trades.

supertiti
10 years ago
#

Hello

Quelqu'un peut m'aider à introduire du texte sur l'histogramme, je n'y parvient pas ! ça doit être quelque chose comme cela mais le placer où ?
merci de votre aide


If  golong = (siigna < mb)   then
DRAWTEXT ( "G " ,barindex,- 0.5,dialog,standard,20) coloured ( 49,49,220 )
endif


If  goshort = (signa > mb)*-1 then
DRAWTEXT ( "G " ,barindex,- 0.5,dialog,standard,20) coloured ( 49,49,220 )
endif

 

zilliq
10 years ago
#

That's what I say, 

It isn't correct to paste a code without any précision of the real author 

And without to precise it repaints 

There is no magic without such à code because generally signals are given after

Have a nice evening 

 

zilliq
10 years ago
#

Bard,  

When you copy à code from another website it will be Nice to precise it !

Because if it was your code you would know it repaints badly !!! 

Don't use it and go directly to the trash :-(

 

Nicolas
10 years ago
#

This code is from HK-LISSE website and can be found here: http://hk-lisse.over-blog.com/article-21382754.html

Bard added histogram signals to this original code and has gently proposed it to the Library.

Because of use of the DPO with future informations, this indicator do "repaint". I know some people use it even if it is the case. So here it is.

bard
10 years ago
#

For the signal is the DPO needed

The Donchain and the PSAR are only for watching 

 

baaz
10 years ago
#

How would this look like without DPO? seem like, I cannot just remove DPO part as it is used in the remaining part as well?

gianlox
10 years ago
#

Hi, very interesting,

in the chart you have also used Donchian  channel (20 period ) and parabolic sar?

ProRealCode ProRealCode
Loading...