dayofweek – trading on specific days

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #21646 quote
    lebloelebloe
    Participant
    Junior

    Hello Everybody.

    i want trade only on specific days. I closed the Trades on the same days.

    If i trade like:

    dayofweek = 1 the system trades only on Monday, it works fine and the profit is 100€

    dayofweek = 5 the system trades only on Friday, it works fine and the profit is 300€

     

    if i trade Monday and Fridays with

    tradedays = dayofweek = 1 or dayofweek = 5 the result is 50€

    it doesn´t matt if i use something like this

    tradedays = ((dayofweek = 1) or (dayofweek = 5))

    it doesn´t matters if i use tradedays at the beginning as variabel or in a “if clause

Viewing 1 post (of 1 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 – trading on specific days


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
lebloe @lebloe Participant
Summary

This topic contains 1 voice and has 0 replies.

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