Inside Bars
Forums › ProRealTime English forum › ProBuilder support › Inside Bars
- This topic has 19 replies, 5 voices, and was last updated 4 years ago by gregoire.
Tagged: doji, Inside BAR
-
-
02/10/2018 at 6:10 PM #62215
I am new to pro real time but was wandering if it is possible to have an indicator that could color inside bars, lets say like yellow or blue, versus regular candle colors of red and green. I have looked through the forum and library and not seeing anything like that. Is this possible? Appreciate any help offered.
02/10/2018 at 7:12 PM #62218This is how you would do it
- define the condition for an inside bar (examples in candle recognition indicators)
- if the condition is true, then drawcandle (https://www.prorealcode.com/documentation/drawcandle/)
02/11/2018 at 5:31 PM #62285This little code snippet draw candlesticks in different colors according to the price direction.
123456789101112//inside bar recognitionc = high<high[1] and low>low[1]if c thenif open>close thendrawcandle(open,high,low,close) coloured(0,0,255)elsedrawcandle(open,high,low,close) coloured(255,255,0)endifendifreturn10/22/2020 at 11:35 PM #148139good evening nicolas I am very interested in the Inside despite the simplicity and appearance it remains quite complicated for me because I think I forgot the base, reassured me we must start from the last candle on the right and go to the left to create our conditions? I try to create an indic in mtf on ut5 and 2 minutes which is based on three candles, 2 approximately the same size and a doji is between it, I would like to receive a signal on the close of the 3rd candle on the given cs above on a graph in ticks, (I am in 10.3 moreover how one does to have access to the 11 his could be useful). I particularly like the shape of your signal nicolas because it attracts the eye on the change of color and as I only have one eye it will help me greatly lol … attached screenshot of what I am trying to do … thank you for your help and participation.
10/24/2020 at 1:53 PM #14832210/24/2020 at 8:39 PM #148361I translated it.
10/24/2020 at 8:52 PM #14836210/24/2020 at 9:40 PM #148364Ut5 and 2 minutes cannot be used together because 5 is not a multiple of 2.
10/24/2020 at 11:06 PM #14836610/25/2020 at 2:43 PM #14841310/25/2020 at 2:48 PM #148415Yes, 5 minutes is 300 seconds, so it’s 1/2 of 5 minutes, thus 5 minute is a multiple of 150.
In case that is not allowed you can use a 300-second TF instead of 5 minutes.
10/25/2020 at 3:09 PM #14841710/25/2020 at 4:20 PM #148423No, every 150 seconds.
The smallest TF sets the pace.
150-second TF is a whole, not 150 1-second candles.
10/25/2020 at 8:54 PM #148440ok great so if I want to anticipate my signal by one second I have to go to 149 and it is displayed if I understand correctly? I found an explanation from Nicolas on this subject I will try to test these conditions on the other hand I am in v10.3 so I have to go to v 11 for this to work?
thanks robrerto
10/27/2020 at 8:44 PM #148721good evening Nicolas Would you have a suggestion for my indicator below attached image, I try to locate the means (15.17pips) and large stretch (20a30pips), in this stretch there must be 2 candles of the same size or which approximately resemble (the wicks can be different but not the body) and in the middle of these 2 candles there is a doji. thank you
-
AuthorPosts
Find exclusive trading pro-tools on