Monthly close>Monthly Open

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #149778 quote
    korivijay
    Participant
    New

    How to find our monthly close > monthly Open for the screener.

    I am trying to add this condition in to my screener as we have max Weekly timeframe available in the screener. Could anyone help me to get code for this condition.

    #149782 quote
    robertogozzi
    Moderator
    Master

    Try this (not tested):

    IF Month <> Month[2] THEN
       PrevMonthOpen  = MonthOpen
       PrevMonthClose = close[2]
       MonthOpen      = open[1]
    ENDIF
    MonthClose        = close

    MonthOpen and MonthClose retain the current month’s values, while PrevMonthOpen and PrevMonthClose retain the previous month’s values.

    #158620 quote
    Andrea
    Participant
    Average

    Very interesting. Two questions: Is it possible to create a screener with the various sectors of the Italian stock exchange and the end or beginning of the month to evaluate the different performances? Still, is it possible to export the historical data of a service? Thanks

    #158629 quote
    robertogozzi
    Moderator
    Master

    @Andrea

    • 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.

    As to your question, no it isn’t.

    Andrea thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Monthly close>Monthly Open


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
korivijay @korivijay Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by robertogozzi
5 years, 1 month ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 11/07/2020
Status: Active
Attachments: No files
Logo Logo
Loading...