DayOfWeek what is the correct syntax?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49935 quote
    njames879njames879
    Participant
    New

    Hi,

    Can anyone help me with the syntax for DayOfWeek?  I’ve tried DayOfWeek = Wed, DayOfWeek = “Wednesday” and DayofWeek = Wednesday, but it doesn’t seem to like any of these.  Anyone know the answer?

    Thanks,

    Nick

    #49936 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    You can search “DayOfWeek” using the search box that opens whenever your mouse hovers above your avatar. You’ll find out many examples in the forum and the official description.

    DayOfWeek (see also OpenDayOfWeek and CurrentDayOfWeek) returns 1 for Monday, 2 for Tuesday and so on…

    Link https://www.prorealcode.com/documentation/currentdayofweek/.

    Roberto

    #49940 quote
    njames879njames879
    Participant
    New

    Hi Roberto,

    Thanks!  Two questions answered for the price of one!   I’ve been wondering how to search the forums for a while.

    Much appreciated.

    Nick

Viewing 3 posts - 1 through 3 (of 3 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

DayOfWeek what is the correct syntax?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
njames879 @njames879 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by njames879njames879
8 years, 11 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 10/19/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...