Position based on current account equity

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #249452 quote
    Jlenn89Jlenn89
    Participant
    New

    Hi all,

    I there a way to position according to current account equity?

    I’d like to make a formula based off of the ATR and current account equity, but am not finding any command to call up current account equity.

    Might be an easy one idk, I guess I’ll have to invest in a coding class. Thanks ahead of time.

    #249453 quote
    JSJS
    Participant
    Master

    Hi,

    At the moment, it’s not possible to retrieve your actual account equity.

    You’ll need to handle it through software, for example:

    Once Equity = 10000
    Capital = StrategyProfit + Equity
    ATR = AverageTrueRange[14](Close)
    Ratio = Capital / ATR

    #249454 quote
    JSJS
    Participant
    Master

    Or beter 😉

    Once Capital=10000

    Equity=Capital+StrategyProfit

    ATR=AverageTrueRange[14](Close)

    Ratio=Equity/ATR

    Iván González thanked this post
Viewing 3 posts - 1 through 3 (of 3 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

Position based on current account equity


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Jlenn89 @jlenn89 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by JSJS
1 year, 2 months ago.

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