Engulfing body or wicks mode and filter on previous candles

Engulfing body or wicks mode and filter on previous candles

Two different requests were made in the same topic in the Probuilder forum, one to be able to have the option of using either body or wicks for an engulfing candle, the other to add a filter of a number of consecutive candles in the same direction prior to the engulfing candle.

https://www.prorealcode.com/topic/codage-englobante/

Whilst it helps with some reversal patterns against a trend, it doesn’t filter out patterns going with a trend at the end of it. As such it is not ready-made for direct trading from it, but should just be considered as a piece of code to add to other filtering criteria of your own to trigger some detections only in the zones you’re interested in.

Use Ncandles as number of consecutive candles in same direction before engulfing

Use Body as boolean 0 or 1 to trigger « candle body mode » for engulfing detection

Use Wicks as boolean 0 or 1 to trigger « candle wicks mode » for engulfing detection

Result is histogram +/-0.5 for body mode, +/-1 for wicks mode

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?

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

  1. avatar
    Anonymous • 12/23/2020 #

    This is very useful, look forward to testing it out. Thank you very much

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Pablo Carmona del Moral hola juanjo, muchas gracias por este screener que nos has compartido. creo que lo voy a util...
Pablo Carmona del Moral para el volumen he cambiado: // Volumen significativo VS=volume>2*(average[10](volume[1...
Juanjo Muchas Gracias Pablo, ...Tengo varios screener, uno lo tengo adaptado para operar intradía, ...
RGKP Hi Vonasi, great work! But what I do not understand is that the statistics change according ...
mr_delta Hi https://www.prorealcode.com/user/vonasi/ I am interested in in scanning for a similar set...
Vonasi Minor Bug Fix Please download an updated version with a minor bug fix from here: https://www...
Jesper Great share!
capgros Bonjour @Nicolas, Thanks a lot for this tool, it is very useful for me. I would like to s...
Hans63 Would you add the possibility to color also the Heikin Ashi and bar chart?
Nicolas That's possible, please open a new topic in the indicator forum explaining what you need exa...
Victor.Strand Hi Pableitor, the code is just great; i was playing a lil bit with these factors, darwsegmen...
micky_red Hi, I have tried to use this indicator in version 12 and it doesn't work. Do you know how...
Victor.Strand Hey Micky, indicator works well, justpaste the code on the platform, or save it as an "itf" ...
Bard Hi @Ale, I was wondering if you knew why, when I went to put the Kase Peak Oscillator into i...
ALE Hello Bard, because they are two different indicators
Bard Right, thanks Ale, I have taken your code and made a coloured Peak Osc (thanks again) but ...
ckat55 Thank you Nicolas, is there any way that an alert can be set for when the dot appears?
Nicolas yes, change the last line with: RETURN wrb,qh and set an alarm with the alert tool for ea...
ckat55 Thank you Nicolas, I will try it.
ALE Hi the color is given by a numerical value derived from the oscillator in use. If you comp...
efahmy Thanks mate
Jo-01-R Hello, it is possible to have this indicator but instead of colors rather have numbers rangi...
JohnScher After a small error crept in, a correct itf.file has been uploaded.
dougie80 Great Indicator, Is there a way to use this as an alert ?
JohnScher I created the screener with some help here from PRT. It is surely somewhere in one of the fo...
AGTrader Interesante, muy visual Doc. Felicidades!!!
Andraxx simplemente impresionante Dom...te sigo en youtube. Me ha gustado tu canal. Gracias por comp...
Ravindra Khanna copied it to pro real time not working. what to do?
GraHal Wow! Thank you Vonasi, great idea!
Vonasi No Problem GraHal. Please share anything interesting that you find using it.
Vonasi I've made a small improvement by adding a Buy and Hold line for comparison. This line can be...
Vonasi Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure tha...
Pepsmile Good job, which could be applied for a spectrum of another indicators.
Pepsmile As to better understand which parameters are better for an indicators in a specific period (...
Bard I was talking to a Machine Learning coder today who's algos have apparently managed to get 7...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
ciniselloftse salve fulvio .il trading sistem e sempre profittevole?
Bard Hi Violet, Thanks so much for making this screener. Bulkowski's work is thorough. I though...
Gregg Hi all, is there anyone who is using this pattern? It's been 3 days I'm trying it and I'm ...
Violet Hi Gregg, TP and SL? There are no variables by those names. The signal appears/disapp...
Marcus Quartus Aurius Thanks great job !
JohnScher indicators i did fond, no problem, but a basic code to trade maybe RSI divergence didn´t fou...
Daniel3987 Please how do I add the prc candle strength to my mt5 on an iPhone
Nicolas You can't, this indicator is made to be used with prorealtime trading platform.
777dks hi this doesnot seem to work on forex, any ideas? thanks.
4example excellent, thank you

Top