Conversion of the highest since function of the software Metastock 10.0

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #175484 quote
    nautilus23nautilus23
    Participant
    Average

    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.

    #175504 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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:)

    nautilus23 thanked this post
    #175535 quote
    NicolasNicolas
    Keymaster
    Legend

    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.

    nautilus23 thanked this post
    #175570 quote
    nautilus23nautilus23
    Participant
    Average

    Thank you very much Nicolás. Thank you very much Nicolas.

    #246726 quote
    nautilus23nautilus23
    Participant
    Average

    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.

    #246730 quote
    nautilus23nautilus23
    Participant
    Average

    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.

    #246757 quote
    JSJS
    Participant
    Master

    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" 
    
    robertogozzi thanked this post
    #247159 quote
    nautilus23nautilus23
    Participant
    Average

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Conversion of the highest since function of the software Metastock 10.0


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
nautilus23 @nautilus23 Participant
Summary

This topic contains 7 replies,
has 4 voices, and was last updated by nautilus23nautilus23
1 year, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 08/16/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...