Two Higuest Prices in a candle period????
-
Greetings FXDreema communityl!!!
I will like to ask if there´s a way to serch for the two Highest Price in a candle period making the distinction tha the candles in wich this happens have to be bull candles. This is possible?????Here a let you with my project but isnt working yet....
https://fxdreema.com/shared/BpH3roZWb -
@lopezdiaz2510 What do you exactly mean by 'two highest prices'? There is one only highest price per candles' period.
-
Thaks Andorran for your reply Andorrá!!!!
I will try to explain myself, english is not my native leanguaje.- I need i to get the ID of the candle with the highest price in a candle period
- Need to get the ID of the candle with the second highest price in the same candle period
Something like what you can see in the image.

-
@lopezdiaz2510 Por el nombre de avatar que tienes asumo que hablas español, así que te respondo en español si así te resulta más fácil. Lo cierto es que lo que pides es complicado. Encontrar el máximo dentro de un periodo es muy fácil pero encontrar el segundo máximo dentro del mismo es mucho más complicado. ¿Puedo preguntar para qué necesitas el segundo máximo? ¿Y qué pasa si hay tres máximos o más dentro del mismo periodo?
-
Mucho mejor en español!!!
Solo necesito el máximo de un periodo (el ID de la vela) y el valor mas próximo a éste con su ID también. Todo esto para poder si hay divergencia entre estos dos puntos y un indicador tipo OBV.
No me servirían tres puntos máximos, aunque siempre voy a poder encontrar dos puntos, el máximo original y la vela que este en precio justo por debajo de este.