trading system con date del mese

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #183120 quote
    leo87leo87
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
4 years, 9 months ago.

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