Highest Since
SYNTAX highestsince ( Nth, EXPRESSION,
DATA ARRAY )
FUNCTION Returns the highest value of DATA ARRAY since
the Nth most recent occurrence of EXPRESSION
was true. This includes all data loaded in the chart.
EXAMPLE The formula “highestsince( 2, cross
(c,mov(c,10,s), close )” returns highest
value of the close since the second most recent
occurrence of the close crossing above its 10-day
moving average.
Only post in the language of the forumthat you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.
You used English in the Spanish forum.
Thank you:)
There is no easy way to achieve this function, so a new instruction is in the pipe that will cover this. It should come now very quickly, but I dont know the ETA yet.
Thank you very much Nicolás. Thank you very much Nicolas.
Buenas tardes, ¿es posible a día de hoy hacer la conversión con la nueva plataforma de prorealtime?
Muchas gracias por adelantado y un saludo.
Good afternoon, is it possible to convert using the new ProRealTime platform today?
Sorry for my error introducing this question before in spanish.
Thank you very much in advance, and best regards.
JSParticipant
Senior
Hi,
Try this one:
xBarsSince=0
Condition=(Close Crosses Over Average[10](Close))
xBarsSince=BarsSince(Condition,0)
If xBarsSince=>1 then
HighestHigh=Highest[xBarsSince](High)
EndIf
Return HighestHigh as "HighestHigh"
Muchas gracias JS por tu ayuda.
Lo he probado como screener, que es lo que necesito, y no me funciona.
De todas maneras te lo agradezco.
Un saludo