DayOfWeek

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

    I just can’t get my head around this very simple problem: How do I buy something on a specific day of the week, i.e. monday?

    I found this bad boy: “DayOfWeek[N] “, but I can’t figure it out how to use it…

    Something like

    IF close>open AND DayOfWeek is monday THEN
    
    BUY AT MARKET
    
    ENDIF
    #4754 quote
    Nicolas
    Keymaster
    Master

    DayOfWeek return a number.

    Try to make a simple indicator like this, and you’ll find yourself what I am meaning :

    RETURN DayOfWeek
    #4871 quote
    Jerry
    Participant
    New

    Great, thanks!

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

DayOfWeek


ProOrder support

New Reply
Author
author-avatar
Jerry @noren Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Jerry
9 years, 10 months ago.

Topic Details
Forum: ProOrder support
Language: English
Started: 04/01/2016
Status: Active
Attachments: No files
Logo Logo
Loading...