Question about day of the week

Forums ProRealTime English forum ProOrder support Question about day of the week

Viewing 5 posts - 1 through 5 (of 5 total)
  • #73205

    Hi all, i want to try something, and i need help coding in this:

    c1 = monday + tuesday have both been green days

    I cant seem to find the codes for it, but i have seen it before.. something like “day of the week = 1” is monday?

    Just wanna make sure i get the correct codes 🙂  Thanks

    edit: bonus question, when PRT is calculating “yesterdays high” does it calculate highest point between 00.01-23.59?

    #73206

    I would recommend using opendayofweek. Try this as an indicator and it will tell you all you need to know:

    I can’t answer your bonus question though!

    Edit: actually I have answered it – put the indicator on a minute chart and see when the number changes.

    #73209

    I changed the topic title, sorry but “Need help with coding, should be easy..” is not an appropriate title… 😐

    #73213

    ….oops didn’t even spot that. What a rubbish moderator I am! 🙂

    #73214

    add:

    to your strategy, so you can check what they return at each bar.

     

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login