Nicolas

Scalping index indicator

Category: Indicators By: Nicolas Created: November 14, 2017, 2:48 PM
November 14, 2017, 2:48 PM
Indicators
26 Comments
Scalping index indicator

This indicator send trading signals according to 3 different scenarios built with 2 moving average from different periods and from a short and a long term stochastic.

  1. Blue and Gold triangles: look for buy / look for sell
  2. Green and Red triangles: Buy / Sell
  3. Green and Red arrows: strong Buy / strong Sell

Indicator converted from MQL4 code by a request in the English forum section.

//PRC_Scalper Indices | indicator
//14.11.2017
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
//translated from MQL4 code

TODFromHour = 080000 //time of the day
TODToHour = 200000 //time of the day

inTimeInterval = time>=TODFromHour and time<TODToHour

//short term stochastic 
sto = stochastic[5,3]
//long term stochastic 
stol = stochastic[233,1]

ma100 = average[100,2](close)
ma50 = average[50,2](close)

//atr = averagetruerange[14]
if inTimeInterval and barindex>233 then 
 if sto<15.1 and close>ma100 then 
  drawtext("▲",barindex,low-2*pointsize) coloured(0,170,255)
 endif
 if sto>84.9 and close<ma100 then
  drawtext("▼",barindex,high+2*pointsize) coloured(255,204,0)
 endif
 if stol>47.99 and sto<15.1 and close>ma100 then
  drawtext("▲",barindex,low-3*pointsize) coloured(0,255,9)
 endif
 if stol<52.01 and sto>84.9 and close<ma100 then
  drawtext("▼",barindex,high+3*pointsize) coloured(255,0,0)
 endif
 if stol>52.01 and sto<10.1 and close>MA100 and close>MA50 then 
  drawarrowup(barindex,low-4*pointsize) coloured(102,255,0)
 endif
 if stol<52.01 and sto>89.9 and close<MA100 and close<MA50 then
  drawarrowdown(barindex,high+4*pointsize) coloured(255,0,0)
 endif
endif

return MA100 coloured(100,100,100) style(line,2) as "long term MA", MA50 coloured(100,100,100,100) style(line,1) as "short term MA"

 

Download
Filename: PRC_Scalper-Indices.itf
Downloads: 1706
Nicolas
Nicolas Legend
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

bertrandpinoy
7 years ago
#

bonjour Nicolas y a t il une possibilité de signal sonore dès qu une vente ou un achat serait possible? Merci, cordialement.

Nicolas
7 years ago
#

Oui cela nécessitera une adaptation du code cependant, merci de formuler une demande sur le forum.

GraHal
7 years ago
#

Is this the Discussion Topic you need @Gregg https://www.prorealcode.com/topic/scalping-index-indicator-de-nicolas/

Gregg
7 years ago
#

Bonjour Nicolas, y a-t-il un sujet à propos de cet indicateur sur le forum ? Je ne l'ai pas trouvé. Et j'ai l'impression que cet indicateur n'est plus trop à jour, les résultats ne semblent pas probants. Quelqu'un l'utilise-t-il régulièrement et peu nous faire un feedback ? Merci

Nicolas
7 years ago
#

J'ai vu passer un sujet très récemment.

JayRally
7 years ago
#

Hi, is it possible to have the .mq4 version of the indicator?

Nicolas
7 years ago
#

Our website is dedicated to prorealtime trading software. For other platform, please ask our programming services, link in menu.

GianfrancoCeck
9 years ago
#

Salve Nicolas. Ho provato ad inserire anche questo suo indicatore, ma sulla T3 ho sempre la solita scritta : Errore di sintassiLinea17, Colonna21 dalla quale non riesco a venirne a capo. Quando le è possibile, se mi può dare info. Grazie e saluti.

jeanroger411
8 years ago
#

bonjour, comment avez vous fait ? chez moi ils ne s'affichent pas merci

Onetime
9 years ago
#

Pardon non enfait ils sont bien la merci

jeanroger411
8 years ago
#

bonjour, comment avez vous fait ? chez moi ils ne s'affichent pas merci

Onetime
9 years ago
#

Bonjour je viens d'essayer votre indicateur sauf que moi j'ai pas les signaux ( les flèches ne s'affiche pas ) j'ai juste une bande qui s'affiche chez et qui suis les cours ?

raphaelopilski
9 years ago
#

great job. is it possible to make a strategy about it?

pieropadova
9 years ago
#

Hello! Mi viene solo una banda grigia su timeframe daily. Mi può spiegare perché? Come si aggiunge una schermata al commento? Grazie. Cordialità. CPT Nemo

ludo6977
9 years ago
#

mais tjrs aussi comique ce nico... tu es bien meilleur sur PRT que sur MT4 visiblement...En tout cas beau site et beau job...

ludo6977
9 years ago
#

il me semblait, excellent job, good nice. met un macd zero retard et le resultat sera bien meilleur, pour ceux que cela tente ...

Nicolas
9 years ago
#

Avec un halftrend par dessus ? :lol:

ludo6977
9 years ago
#

Excellent job, mais a quoi sert ce code ? TODFromHour = 080000 //time of the day TODToHour = 200000 //time of the day inTimeInterval = time>=TODFromHour and time<TODToHou

Nicolas
9 years ago
#

C'est une condition horaire pour afficher ou non les signaux de trading de l'indicateur.

elanoa
9 years ago
#

Mi correggo. SUl daily ho solo la media (EMA) mentre sugli altri time frime inferiori ho le indicazioni con i triangoli. Vi chiedo sempre pero' di poter eliminare la media (EMA) dal grafico e lasciare solo le indicazioni sulle barre. Grazie.

elanoa
9 years ago
#

Salve. Ho importatnto il codice in piattaforma. MA quello che visualizzo sono due medie (EMA) e non le indicazioni come dal grafico allegato sopra di freccie...Grazie a chi puo' aiutarmi.

DaxRider
9 years ago
#

better than better or highest than highest thanks Nico

winnie37
9 years ago
#

Merci Nicolas, comment recoder pour que le screener puise détecter une flèche par exemple ? Merci

Nicolas
9 years ago
#

En apprenant à le faire soit même ? :)

winnie37
9 years ago
#

banzaïiiiii!

swapping
9 years ago
#

Incroyable mais vrai ! (Nicolas une pépite dans le désert ...) Une fois de plus merci pour ces outils ouvrant des horizons nouveaux

ProRealCode ProRealCode
Loading...