SIZE VARIABILE IN RELAZIONE AL VALORE DI MERCATO

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #225758 quote
    Hary TradingHary Trading
    Participant
    New

    Buongiorno,

    grazie in anticipo a chi vorrà aiutarmi.

    Vorrei testare una strategia che entri a mercato investendo sempre lo stesso valore monetario, per esempio 10000 euro

    quindi se uno strumento 10 anni fa quotava 2 dollari ne avrei comprato 5000 quote, mentre se ora valesse 100 euro ne potrei comprare 1000

    Grazie

    HARY

    #225774 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    “mentre se ora valesse 100 euro ne potrei comprare 1000“, è 100 non 1000 🙂

    Ad ogni modo puoi scrivere questa riga:

    Capitale = 10000
    Quantita = round(Capitale / close)
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

SIZE VARIABILE IN RELAZIONE AL VALORE DI MERCATO


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Hary Trading @adtrader Participant
Summary

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

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