variable positionsizing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17930 quote
    JvdGJvdG
    Participant
    Average

    As we all know, while submitting a strategy to pro order, we have to tell the system how many contracts the strategy will trade;

    is there a way to escape this field and have a variable positionsize depending on the code of the strategy?

    Regards, Jerke

    #17934 quote
    NicolasNicolas
    Keymaster
    Legend

    Yes and this is exactly what this code do:

    money management code for prorealtime

    It is a simple money management code that calculate your lot size according to your risk, defined by the variable “risk”.

    #17949 quote
    JvdGJvdG
    Participant
    Average

    Thnx for your answer Nicolas,

    this code is already similar to what I do;

    however, then I submit my strategy to pro order, and I’m just wondering how pro order reacts to this field in the final screen:

     

    <max. positionsize> …

    ?  if I enter 3, then the strategy will be allowed to choose positionsize=1 or positionsize=2  or even 3 but not >3 depending on the code-instructions ?

    is this the way it works?

    Regards, Jerke

    #17968 quote
    NicolasNicolas
    Keymaster
    Legend

    Yes that is how it works. It helps people to avoid position sizing mistakes in their codes.

Viewing 4 posts - 1 through 4 (of 4 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

variable positionsizing


General Trading: Market Analysis & Manual Trading

New Reply
Author
author-avatar
JvdG @jvdg Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by NicolasNicolas
9 years, 9 months ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 12/07/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...