trading system con date del mese

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #183120 quote
    leo87
    Participant
    Junior

    salve vorrei costruire un trading system che opera in determinati giorni del mese (ad esempio il 5 o il 6  giorno) ed esce al 15 esimo. Potreste fornirmi aiuto?

     

    grazie mille

    #183124 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    If OpenDay = 5 or OpenDay = 6 then
       If CondizioniLong then
          Buy 1 contract at Market
       ElsIf CondizioniShort then
          Sellshort 1 contract at Market
       Endif
    Endif
    If OnMarket and OpenDay >= 15 then
       Sell at Market
       Exitshort at Market
    Endif
    leo87 thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

trading system con date del mese


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
leo87 @leo87 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
4 years, 2 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 12/10/2021
Status: Active
Attachments: No files
Logo Logo
Loading...