Close order Friday night

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #231890 quote
    Alfred
    Participant
    Average

    Hi

    May I know the code for close the order on Firday night?

    Thanks

    #231894 quote
    phoentzs
    Participant
    Master
    If time>=220000 and dayofweek=5 Then
    Sell at market
    exitshort at market
    ENDIF
    Alfred and robertogozzi thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Close order Friday night


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Alfred @kin08180213 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by phoentzs
1 year, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/24/2024
Status: Active
Attachments: No files
Logo Logo
Loading...