Indicator “Candle & TMA8 open”

Indicator “Candle & TMA8 open”

Hi all,

Here is an indicator coded for one of the readers of my website.

We BUY if :

  • bullish candle (close > open)
  • close and open > triangular moving average 8, applied to open
  • lowest of the candle < TMA8 with at least 1 pip below the TMA8
  • size of the inferior shadow  > size of the body
  • size of the upper shadow <= 2 pips
  • no doji : size of the body >= 3 pips

Of course, we SELL for opposite conditions.

So here is the code :

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. bluetime6 • 208 days ago #

    Hello Doctrading.
    Can you ask you for something?
    Can you code a screener screen pop guns?
    And the screener change to use for a strategy with
    entry after long triggercandle + x-points,
    stop after x-percent of the trigger candle,
    takeprofit of x-percent (maybe with/like fibo-levels)
    kind regards?

Register or


avatar avatar avatar avatar avatar
Related users ' posts
Genotik Merci de votre contribution !
Leo Hi all, I posted a new version of this indicator ( I just add arrows to spot the local maxi...
Trading_En_El_Ibex35 Muchas Gracias por compartir este interesante indicador. Un saludo
JM David, Thanks a lot and next week I begin the test of this strategy in real... You have ot...
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...
Thomas007 Is there any way to build something similar for FX? I wonder what would be the replacement f...
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...
supertiti Felicidades Laurenzo d'avoir pris le temps pour ce gros travail et en plus dans l'esprit du ...
gatarayihajp Hello,  It's very interesting indicator. Could you explain more about it? Thank a lot
Wing Sorry for not responding to a lot of you. System seems to still be going strong. Yes, pos...
Francesco78 Hi Wing, I have been using your code and it has been quite profitable until now indeed! So f...
Wing Thank you. I also run it so I am glad it has worked. To optimize I would prioritise the SL ...
Tedvin Nice one, thanks a lot Maz :)
victormork Thanks Man!!
MtraderWD40 Many thanks for sharing this, simple but a great indicator. Used it successfully for visual ...
David Balance thanks for sharing this excellent indicator.  Here are some thoughts.  please ad...
supertiti Il manque 2 slash devant len dans le code dur car la variable ne marche pas bonne journée
Gennadiy Thank you, very much, Nicolas, for this wonderfull Indicator! I have a question. I have adde...
Gennadiy Here is my code: RETURN long as "long signal", short as "short signal", weightedaverage[MApe...
Gennadiy Here is the link to the image:
bjoern With the same parameters? For me the results are negative
bjoern Oh ok, with the initial posted parameters it is positive
victormork yes! It's not like you want to put it on live but when I for example take the version I have...
gabri Great screener!! I would like to add only the fact that Minervini is a growth investor and s...
Hayden Hi Nicolas, thanks for the Minervini screener, I'm finding it really useful. I am a big fan...
Nicolas Private personal assistance is possible through the programming services. Otherwise, you cou...
gabri Kris, let me know which color you want to use. The lines to change are the 22,23,24.
paulon Hi Gabri.  Very interesting indicator.  I changed the colours to if v>=v[1] thenr=0g=255b...
gabri Paulon, you are right, I used the variable b in too many places :) Try to change the follo...