Positionsizing

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

    Looking for a code!
    I want to base my positionsizing on my account balance.

    For example:

    If my account balance is 2000 Euro i want 2 contracts and if 3000 – 3 contracts…
    But i also want it to include if the value goes below 3000, that it returns to 2 contracts.

    I have looked in the manual and tried google without success.

    #78524 quote
    VonasiVonasi
    Moderator
    Master

    Click on your profile avatar in the top right hand corner and type ‘money management’ in the search box.

    There have been plenty of codes already written and something may be along the lines of what you are asking for.

    GraHal has also created a code snippet library here:

    https://docs.google.com/spreadsheets/d/1rgboqj7sVwsP9ZRhOduOefye48QMWC07jWVXCl-KJPU/edit#gid=0

    where you may find something.

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

Positionsizing


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
HBG @hbg Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by VonasiVonasi
8 years, 1 month ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/18/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...